[Gambas-user] Request for implementation

Benoît Minisini gambas at ...1...
Tue Sep 23 02:29:26 CEST 2014


Le 22/09/2014 01:20, Willy Raets a écrit :
> Hi all,
>
> It would be nice if the translator in IDE could update some extra info
> in the translation files (.po)
>
> Example:
> #, fuzzy
> msgid ""
> msgstr ""
> "Project-Id-Version: PACKAGE VERSION\n"
> "POT-Creation-Date: 2002-11-01 04:27+0100\n"
> "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
> "Last-Translator: FULL NAME <EMAIL at ...513...>\n"
> "Language-Team: LANGUAGE <LL at ...514...>\n"
> "MIME-Version: 1.0\n"
> "Content-Type: text/plain; charset=UTF-8\n"
> "Content-Transfer-Encoding: 8bit\n"
>
> Po-Revision-Date could be added when saving the translation as could
> Last Translator -> take name and mail from Packaging Preferences in IDE
> (if available)
> Or maybe this option should be a specific new Preference, as some maybe
> don;t want their name and mail in the po file.
>
> This way there is some kind of tracking on how recent or old
> translations are and someone to contact who has done the most recent
> translation, as it is simply added in the .po file.
>
> What do other Gambas translators or maybe soon to be translators think
> about this suggestion?
>

I implemented that in revision #6503.

The *.pot files header is updated by the compiler when its corresponding 
class is compiled.

The *.po files header is updated when the translation is saved to the 
disk by the IDE translation dialog.

Please report any problem!

Regards,

-- 
Benoît Minisini




More information about the User mailing list