[ 
https://issues.apache.org/jira/browse/ROL-2087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Johnson updated ROL-2087:
-------------------------------
    Fix Version/s: 5.2.0

> "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
>             Fix For: 5.2.0
>
>         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.4.14#64029)

Reply via email to