#2258: [PATCH] merge looses translations
--------------------+-------------------------------------------------------
Reporter: rejoc | Owner: Chris Arndt
Type: defect | Status: new
Priority: normal | Milestone: 1.1b4
Component: I18n | Version: 1.1 HEAD
Severity: normal | Keywords: i18n merge
--------------------+-------------------------------------------------------
This is the bug report for part a ticket #2257
if you have a .po file containing
{{{
#: demo/templates/master.html:75
msgid "some text"
msgstr "un petit texte"
#: demo/templates/welcome.html:25
msgid "some text"
msgstr ""
}}}
it compiles and gives the expected translation of "un petit texte" for all
the occurrences of "some text".
Now you do a "tg-admin i18n merge" (usually after a collect because you
modified something) and... you get :
{{{
#: demo/templates/master.html:75
msgid "some text"
msgstr ""
#: demo/templates/welcome.html:25
msgid "some text"
msgstr ""
}}}
You lost your translation because merge uses the last msgstr it finds in
the .po for a given msgid.
--
Ticket URL: <http://trac.turbogears.org/ticket/2258>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---