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