Issue 1442763
Created on 2006-03-03 22:31 by tobias-herp, last changed 2006-03-13 17:33 by tobias-herp.
msg2211 |
Author: [hidden] (tobias-herp) |
Date: 2006-03-03 22:31 |
|
classic/html/issue.search.html, line 208 and following:
<td colspan="4" class="help" i18n:translate="">
*: 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
</span>
</td>
The <span tal:condition...> in line 210 breaks the
translation of the help texts; IMHO, there is no
alternative to splitting the two help texts.
In my issue.search.html, it looks like this:
<tr>
<th>*:</th>
<td colspan="4" i18n:translate="">The "all text"
field will look in message bodies and issue titles</td>
</tr>
<tr
tal:condition="python:request.user.hasPermission('Edit',
'query')">
<th>**:</th>
<td colspan="4" i18n:translate="">If you supply a
name, the query will be saved off and available as a
link in the sidebar</td>
</tr>
(with appropriate translations)
|
msg2212 |
Author: [hidden] (a1s) |
Date: 2006-03-04 08:01 |
|
Logged In: YES
user_id=8719
this is duplicate of 1439927
by the way, it is generally not advisable to leave
punctuation separated from adjacent translatable string: in
different languages punctuation rules may be different.
|
msg2213 |
Author: [hidden] (tobias-herp) |
Date: 2006-03-13 17:33 |
|
Logged In: YES
user_id=805804
> this is duplicate of 1439927
Right (at least concerning the problem)
The reason for me putting the "*" in one cell and the text
in another is that this way it aligns nicely for long lines;
this could be handled with i18n slots, allowing for
language-dependent solutions where <th>*:</th><td>(the
text)</td> is not appropriate.
|
|
Date |
User |
Action |
Args |
2006-03-03 22:31:55 | tobias-herp | create | |
|