[Gambas-user] Request for implementation

Willy Raets willy at ...2734...
Wed Sep 24 18:09:14 CEST 2014


On di, 2014-09-23 at 02:29 +0200, Benoît Minisini wrote:
> 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,
> 

I just tested the new feature and it works well
See the nl.po file committed in rev.# 6508 for the result.
Nice work.

Thanks

-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org








More information about the User mailing list