Re: Damned Lies vs git statistic



Maybe you would like to take a look into mi repo, where you can find some useful scripts to handle Po files against DL:

https://github.com/dmustieles/gnome_scripts

untranslated2.sh donwloads all untranslated Po files from an specific moduleset, allowing yo to set an unstranlated strings limit if you want so.

gttk.sh is a complete script to commit and push transtions into git: just set the variables to match your local folders and go ahead!

My 2 cents ;)

P.S. gedit as a translation tool? really??

2017-03-21 16:23 GMT+01:00 Danylo Korostil <ted korostiled gmail com>:
On 21.03.17 15:48, Piotr Drąg wrote:
You could adapt https://git.gnome.org/browse/gtk+/tree/make-pot (all
you need is set GETTEXT_PACKAGE in line 39 to e.g. gnome-shell) to
generate a .pot file locally or even deal with make and friends, but I
would advise against it. Some modules use the ITS feature of gettext
to extract, among many others, polkit’s .policy files, and the rules
for that are not yet in any released version of polkit. Using
damned-lies avoids this problem and ensures that you have every string
in your translation.

If you’re interested in how damned-lies works in this regard, take a
look at <https://git.gnome.org/browse/damned-lies/log/?qt=grep&q=gettext>,
specifically commits from 2015 onwards.

Best regards,

Thanks for your answer!

But I have to agree with Ask. Now I have to spend more time to translate GNOME. I used to have few commands to handle my workflow, approximately I update 100 modules during string freeze period. Some of them is really small (update few strings), so, git pull&&intltool-update&&gedit&&git commit&&git push was really fast. I used DL only to monitor unfinished modules. Since this release I have to download everything from browser, which isn't cool. It means I have to spend more time on downloading and less on translating.

I won't stop translating, but this is an issue for me since I do it in my spare time. We have to convert DL into Gnome Pootle-like service or provide common translators workflow for every gnome module.



_______________________________________________
gnome-i18n mailing list
gnome-i18n gnome org
https://mail.gnome.org/mailman/listinfo/gnome-i18n




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]