Edgewall Software

Changeset 8107


Ignore:
Timestamp:
Apr 13, 2009, 6:32:47 PM (14 years ago)
Author:
Christian Boos
Message:

i18n: add one more i18n:msg and illustrate another issue with Genshi extraction.

The text before the first expression and the last expression are missing.

During rendering, the corresponding text is shown translated like that:

Changed il y a 2 years parcboos

(the 2 years part is expected in the above, it corresponds to the %(date)s part)

Location:
trunk/trac
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/trac/locale/fr_FR/LC_MESSAGES/messages.po

    r8106 r8107  
    1111"Report-Msgid-Bugs-To: trac-dev@googlegroups.com\n"
    1212"POT-Creation-Date: 2007-08-15 09:47+0200\n"
    13 "PO-Revision-Date: 2009-04-11 01:46+0200\n"
     13"PO-Revision-Date: 2009-04-13 18:28+0200\n"
    1414"Last-Translator: Christian Boos <cboos@neuf.fr>\n"
    1515"Language-Team: fr_FR <trac-dev@googlegroups.com>\n"
     
    30073007msgstr "suivi"
    30083008
    3009 #: trac/ticket/templates/ticket.html:223
    3010 msgid "Changed"
    3011 msgstr "Modifié"
    3012 
    30133009#: trac/ticket/templates/ticket.html:224
    3014 msgid "ago by"
    3015 msgstr "auparavant par"
     3010#, python-format
     3011msgid "%(date)s ago by"
     3012msgstr "il y a %(date)s par"
    30163013
    30173014#: trac/ticket/templates/ticket.html:243
  • trunk/trac/locale/messages.pot

    r8106 r8107  
    99"Project-Id-Version: Trac 0.12\n"
    1010"Report-Msgid-Bugs-To: trac-dev@googlegroups.com\n"
    11 "POT-Creation-Date: 2009-04-11 01:42+0200\n"
     11"POT-Creation-Date: 2009-04-13 18:27+0200\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    27812781msgstr ""
    27822782
    2783 #: trac/ticket/templates/ticket.html:223
    2784 msgid "Changed"
    2785 msgstr ""
    2786 
    27872783#: trac/ticket/templates/ticket.html:224
    2788 msgid "ago by"
     2784#, python-format
     2785msgid "%(date)s ago by"
    27892786msgstr ""
    27902787
  • trunk/trac/ticket/templates/ticket.html

    r8106 r8107  
    222222                    </py:if>
    223223                  </span>
    224                   Changed ${dateinfo(change.date)} ago by ${authorinfo(change.author)}
     224                  <i18n:msg params="date, author">Changed ${dateinfo(change.date)} ago by ${authorinfo(change.author)}</i18n:msg>
    225225                </h3>
    226226                <div py:if="'cnum' in change and 'TICKET_APPEND' in perm(ticket.resource)" class="inlinebuttons">
Note: See TracChangeset for help on using the changeset viewer.