When I added a line-break to the very long line as shown in comment:4, and regenerated messages.pot
, the line changed from:
#: trac/ticket/templates/ticket.html:362
#: trac/wiki/templates/wiki_edit_form.html:46
msgid "E-mail address and user name can be saved in the [1:Preferences]."
msgstr ""
to:
#: trac/ticket/templates/ticket.html:362
msgid ""
"E-mail address and user name can be saved in the\n"
" [1:Preferences]."
msgstr ""
Does the addition of the newline and whitespace add more work for translators?
Here is the latest version of the patch:
-
|
|
|
48 | 48 | <script type="text/javascript"> |
49 | 49 | jQuery(document).ready(function($) { |
50 | 50 | $(".trac-focus").focus(); |
| 51 | $(".trac-target-new").attr("target", "_blank"); |
51 | 52 | }); |
52 | 53 | </script> |
53 | 54 | ${select("*[local-name() != 'title']|text()|comment()")} |
-
|
|
|
359 | 359 | </tr> |
360 | 360 | </table> |
361 | 361 | <p py:if="author_id == 'anonymous'" class="hint"> |
362 | | <i18n:msg>E-mail address and user name can be saved in the <a href="${href.prefs()}">Preferences</a>.</i18n:msg> |
| 362 | <i18n:msg>E-mail address and user name can be saved in the <a href="${href.prefs()}" class="trac-target-new">Preferences</a>.</i18n:msg> |
363 | 363 | </p> |
364 | 364 | </fieldset> |
365 | 365 | </div> |
-
|
|
|
43 | 43 | <input id="author" type="text" name="author" size="30" value="$author" /> |
44 | 44 | </label> |
45 | 45 | <p py:if="author == 'anonymous'" class="hint"> |
46 | | <i18n:msg>E-mail address and user name can be saved in the <a href="${href.prefs()}">Preferences</a>.</i18n:msg> |
| 46 | <i18n:msg>E-mail address and user name can be saved in the <a href="${href.prefs()}" class="trac-target-new">Preferences</a>.</i18n:msg> |
47 | 47 | </p> |
48 | 48 | </div> |
49 | 49 | <div class="field"> |