Edgewall Software

Changes between Initial Version and Version 9 of Ticket #11127


Ignore:
Timestamp:
Sep 30, 2013, 3:31:51 AM (11 years ago)
Author:
Ryan J Ollos
Comment:

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:

  • trac/templates/layout.html

     
    4848    <script type="text/javascript">
    4949      jQuery(document).ready(function($) {
    5050        $(".trac-focus").focus();
     51        $(".trac-target-new").attr("target", "_blank");
    5152      });
    5253    </script>
    5354    ${select("*[local-name() != 'title']|text()|comment()")}
  • trac/ticket/templates/ticket.html

     
    359359              </tr>
    360360            </table>
    361361            <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>
    363363            </p>
    364364          </fieldset>
    365365        </div>
  • trac/wiki/templates/wiki_edit_form.html

     
    4343            <input id="author" type="text" name="author" size="30" value="$author" />
    4444          </label>
    4545          <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>
    4747          </p>
    4848        </div>
    4949        <div class="field">

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11127

    • Property Status newassigned
    • Property Component web frontendticket system
    • Property Milestone1.0.2
    • Property Owner set to Ryan J Ollos
  • Ticket #11127 – Release Notes

    initial v9  
     1The //Preferences// link on the ticket and wiki edit pages will open in a new window or tab when !JavaScript is enabled.