Hi What is the easiest way to download all the translations in all languages?
Regards Ask 2013/3/22 Daniel Mustieles García <daniel.mustie...@gmail.com>: > It works great!! > > I've detected (and fixed) an error in gnome-control-center. Thanks!! > > This weekend ill try to clean the output to be less verbose and I'll create > a report with it. Stay tuned!! > > Again, many thanks! > > > 2013/3/22 Ask Hjorth Larsen <asklar...@gmail.com> >> >> It can be used like this: >> >> askhl@mime:~/translate$ find -name "*.po" | xargs desktopfilecheck.py >> ./gdm-and-friends/gnome-control-center.gnome-3-8.da.po >> ERROR, bad syntax line 6684: >> #. Translators: those are keywords for the wacom tablet control-center >> panel >> #: ../panels/wacom/gnome-wacom-panel.desktop.in.in.h:4 >> msgid "Tablet;Wacom;Stylus;Eraser;Mouse;" >> msgstr "Tegneplade;Wacom;Pen;Viskelæder;Mus" >> >> Regards >> Ask >> >> 2013/3/22 Ask Hjorth Larsen <asklar...@gmail.com>: >> > Hi, here's a script (uses pyg3t): >> > >> > http://www.student.dtu.dk/~ashj/opendir/desktopfilecheck.py >> > >> > I'm actually at work at the moment, but someone can run it or I'll do >> > it tomorrow or so when I have time. >> > >> > Let me know about any issues or if it needs to check for anything else. >> > >> > Regards >> > Ask >> > >> > 2013/3/22 Daniel Mustieles García <daniel.mustie...@gmail.com>: >> >> Hi Ask, >> >> >> >> The Keywords string just has to end with ";" to be ok, no need to have >> >> the >> >> same number of words >> >> >> >> Many thanks fin advance for your script! >> >> >> >> >> >> 2013/3/22 Ask Hjorth Larsen <asklar...@gmail.com> >> >>> >> >>> Hi >> >>> >> >>> Could someone specify how these files *should* be translated? Must >> >>> there be the same number of elements in the list? >> >>> >> >>> I suppose the most obvious thing is that it should end with ;. >> >>> >> >>> I'll write a script and check it on all the files, then send a >> >>> complete >> >>> list. >> >>> >> >>> Regards >> >>> Ask >> >>> >> >>> 2013/3/22 Daniel Mustieles García <daniel.mustie...@gmail.com>: >> >>> > In bash it may be tricky to do this check, but I guess Python could >> >>> > help. I >> >>> > tried to do it in bash and I wasted my time :( >> >>> > >> >>> > >> >>> > 2013/3/22 Andre Klapper <ak...@gmx.net> >> >>> >> >> >>> >> On Fri, 2013-03-22 at 15:46 +0100, Olav Vitters wrote: >> >>> >> > Any idea how that could be implemented? I am willing to make it >> >>> >> > happen, >> >>> >> > just don't see how. E.g. figure out exactly which line is the >> >>> >> > Keywords >> >>> >> > line, etc. >> >>> >> >> >>> >> Grep for a line that starts with >> >>> >> #: ../ >> >>> >> and includes the string >> >>> >> .desktop.in.in.h: >> >>> >> then find the next line that starts with >> >>> >> msgid >> >>> >> and ends with >> >>> >> ;" >> >>> >> then count the number of ; in that specific line, >> >>> >> compare that number with the next line that starts with >> >>> >> msgstr >> >>> >> and which is not >> >>> >> msgstr "" >> >>> >> which would mean not translated yet. >> >>> >> Trigger a warning if the number is not the same. >> >>> >> Or something like that. Cough. Sounds error-prone. >> >>> >> >> >>> >> andre >> >>> >> -- >> >>> >> Andre Klapper | ak...@gmx.net >> >>> >> http://blogs.gnome.org/aklapper/ >> >>> >> >> >>> >> _______________________________________________ >> >>> >> gnome-i18n mailing list >> >>> >> gnome-i18n@gnome.org >> >>> >> https://mail.gnome.org/mailman/listinfo/gnome-i18n >> >>> > >> >>> > >> >>> > >> >>> > _______________________________________________ >> >>> > gnome-i18n mailing list >> >>> > gnome-i18n@gnome.org >> >>> > https://mail.gnome.org/mailman/listinfo/gnome-i18n >> >>> > >> >> >> >> > > _______________________________________________ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n