Re: keywords in desktop files, again
- From: Andre Klapper <ak-47 gmx net>
- To: gnome-i18n gnome org
- Subject: Re: keywords in desktop files, again
- Date: Fri, 22 Mar 2013 16:29:08 +0100
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/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]