Re: keywords in desktop files, again



Hi all,

Here is the report I've generated about the missing «;» in the Keywords translated string.

Translation team coordinator: As this is an important fix we should do before the new release, please let me know if you won't be able to fix it, so I'll review and fix it for you.

Best regards

2013/3/24 Daniel Mustieles García <daniel mustieles gmail com>
Hi Ask,

You can use this script to get all the PO files for the most relevant languages. The script also has the ability to get all the language codes from DL, sou you can get all the PO files from all the languages.

Cheers!


2013/3/23 Ask Hjorth Larsen <asklarsen gmail com>
Hi

What is the easiest way to download all the translations in all languages?

Regards
Ask

2013/3/22 Daniel Mustieles García <daniel mustieles 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 <asklarsen 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 <asklarsen 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 mustieles 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 <asklarsen 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 mustieles 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-47 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-47 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
>> >>> >
>> >>
>> >>
>
>


Attachment: keywords-reports.tar.gz
Description: GNU Zip compressed data



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