Roundup Tracker - Issues

Issue 1439927

classification
i18n in templates/classic/html/issue.search.html
Type: Severity: normal
Components: Web interface Versions:
process
Status: closed fixed
:
: richard : arno-, richard
Priority: normal :

Created on 2006-02-27 21:36 by arno-, last changed 2006-02-27 21:36 by arno-.

Messages
msg2193 Author: [hidden] (arno-) Date: 2006-02-27 21:36
In templates/classic/html/issue.search.html :

*: The "all text" field will look in message bodies and
issue titles<br>
 **: If you supply a name, the query will be saved off
and available as a link in the sidebar

cannot be translated.

The reason is that in .po files, the msgid string is :

"*: The \"all text\" field will look in message bodies
and issue titles<br> "
"**: If you supply a name, the query will be saved off
and available as a link "
"in the sidebar"

and in html, the string is :
   *: The "all text" field will look in message bodies
and issue titles<br>
   <span
tal:condition="python:request.user.hasPermission('Edit',
'query')">
   **: If you supply a name, the query will be saved
off and available as a link in the sidebar

I tried to put this string in msgid, but that didn't
seem to work, may be because of the tal condition that
cannot be in a .po file. So, I found a way by by using
two spans in issue.search.html :

   <span i18n:translate="">
   *: The "all text" field will look in message bodies
and issue titles<br>
   </span>
   <span
tal:condition="python:request.user.hasPermission('Edit',
'query')" i18n:translate="">
   **: If you supply a name, the query will be saved
off and available as a
link in the sidebar
   </span>

I will attach a patch correcting that bug in
issue.search.html and in each locale.
History
Date User Action Args
2006-02-27 21:36:14arno-create