[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nutch-developers
Subject:    [Nutch-dev] [jira] Commented: (NUTCH-313) moreFrom property in
From:       "KuroSaka TeruHiko (JIRA)" <jira () apache ! org>
Date:       2006-06-30 23:08:30
Message-ID: 18150105.1151708910213.JavaMail.jira () brutus
[Download RAW message or body]

    [ http://issues.apache.org/jira/browse/NUTCH-313?page=comments#action_12418731 ] 

KuroSaka TeruHiko commented on NUTCH-313:
-----------------------------------------

Perhaps this might fixe the issue, besides the fix to the moreForm line in each of \
the search*.properties.

$ diff -bw -c /c/opt/nutch-060614/src/web/jsp/search.jsp search.jsp
*** /c/opt/nutch-060614/src/web/jsp/search.jsp  Tue Jun 13 17:20:38 2006
--- search.jsp  Wed Jun 28 16:04:23 2006
***************
*** 233,240 ****
      +params+"&hitsPerSite="+0
      +"&lang="+queryLang
      +"&clustering="+clustering;%>
!     (<a href="../search.jsp?<%=more%>"><i18n:message key="moreFrom"/>
!      <%=hit.getDedupValue()%></a>)
      <% } %>
      <br><br>
  <% } %>
--- 233,240 ----
      +params+"&hitsPerSite="+0
      +"&lang="+queryLang
      +"&clustering="+clustering;%>
!     (<a href="../search.jsp?<%=more%>"><i18n:message key="moreFrom">
!      <i18n:messageArg value="<%=hit.getDedupValue()%>"/></i18n:message></a>)
      <% } %>
      <br><br>
  <% } %>

I have not tested this fix, however, due to other strange i18n issues I'm facing.  \
(I'll file bugs later.)



> moreFrom property in search.properties cannot be translated into Japanese.  \
>                 Compound text issue.
> ------------------------------------------------------------------------------------------------
>  
> Key: NUTCH-313
> URL: http://issues.apache.org/jira/browse/NUTCH-313
> Project: Nutch
> Type: Bug

> Components: web gui
> Versions: 0.8-dev
> Environment: n/a
> Reporter: KuroSaka TeruHiko

> 
> The "moreFrom" property in search.properties is currently defined as:
> moreFrom = more from
> and is used, in search.jsp, to construct HTML fragement that would be viewed as:
> (more from http://xxxx.yyy.zzz)
> The current code hard-codes the URL to be lead by "more from" or its translation.
> This cannot be translated into Japanese naturally because the Japanese language
> expects the URL to come at the beginning of the clause.
> Just like "hits" property, moreFrom should use the place holder within so that
> the English property would look like:
> moreFrom = more from {0}
> The fix is trivial but it requires modifications to search.jsp, search.properties \
> and search_xx.properties at the same time.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-developers mailing list
Nutch-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-developers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic