[
https://issues.apache.org/jira/browse/ROL-2087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kohei Nozaki resolved ROL-2087.
-------------------------------
Resolution: Fixed
Sending app/src/main/resources/ApplicationResources_de.properties
Sending app/src/main/resources/ApplicationResources_es.properties
Sending app/src/main/resources/ApplicationResources_fr.properties
Sending app/src/main/resources/ApplicationResources_ja.properties
Sending app/src/main/resources/ApplicationResources_ko.properties
Sending app/src/main/resources/ApplicationResources_ru.properties
Sending app/src/main/resources/ApplicationResources_zh_CN.properties
Transmitting file data .......
Committed revision 1720882.
> "macro.weblog.searchgoogle" in translated ApplicationResources produces wrong
> Google URL
> ----------------------------------------------------------------------------------------
>
> Key: ROL-2087
> URL: https://issues.apache.org/jira/browse/ROL-2087
> Project: Apache Roller
> Issue Type: Bug
> Components: Themes and Macros
> Affects Versions: 5.1.2
> Reporter: Kohei Nozaki
> Assignee: Roller Unassigned
> Priority: Minor
> Attachments: ROL-2087.patch
>
>
> {{ApplicationResources.properties}} has an entry which is for produce a
> hyperlink for Google search as follows:
> {noformat}
> macro.weblog.searchgoogle=<em>You can also \
> <a href="http://google.com/search?q={0}%20site:{1}/{3}" \
> class="google">try this same search</a> on Google.</em>
> {noformat}
> The same entry in {{ApplicationResources_ja.properties}}:
> {noformat}
> macro.weblog.searchgoogle=<em>Google\u3067<a
> href="http://www.google.co.jp/search?q={0}%20site:{1}/page/{3}"
> class="google">...</a>...</em>
> {noformat}
> For example, This produces a hyperlink for the something like following URL:
> {{http://www.google.co.jp/search?q=someWord%20site:https://roller.example.com/page/myblog}}
> I believe the part {{/page/}} in translated resources is unnecessary and it
> makes the search result will contain only the pages under {{/page/}} so I
> think the part {{/page/}} should be removed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)