Subject: | Allow management of previous value of the translation |
Date: | Thu, 27 Mar 2014 08:15:32 +0100 |
To: | bug-Locale-PO [...] rt.cpan.org |
From: | Raphael Hertzog <hertzog [...] debian.org> |
Hello,
msgmerge --previous generates special comments with the (expected) former value
of any new fuzzy string that it generates. This makes it easier for tools to show
the difference and thus easier for translators to update their
translation.
It would be nice if Locale::PO made it easy to retrieve/set that value.
Here's an example of entry with that previous value (line starting with
"#|"):
#. Tag: para
#, fuzzy, no-c-format
#| msgid "There's no official list of planned changes, and Debian never makes promises relating to technical goals of the coming versions. However, a few development trends can already be noted, and there are many reasons to believe they will turn into concrete results in the new version."
msgid "There's no official list of planned changes, and Debian never makes promises relating to technical goals of the coming versions. However, a few development trends can already be noted, and we can try some bets on what might happen (or not)."
msgstr "Non esiste una lista ufficiale di modifiche pianificate, e Debian non fa promesse su obiettivi tecnici per le versioni future. Tuttavia, si possono notare alcuni trend di sviluppo, e ci sono molte ragioni per credere che si trasformeranno in risultati concreti per la prossima versione."
IIRC msgmerge also generates multi-lines variants of those previous msgid,
they work like the regular msgid except that each line is always prefixed
with "#|".
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Discover the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/