2006-12-05 David Lodge <dave@cirt.net>
[dia.git] / po-checktrans
blob74c1bb7e11c7fee42d31ccf4dab9a88f2ef75910
1 #!/bin/sh
3 str=core-translation-report
4 cat <<__EOF__ >$str
5 *** PO/core/gettext translation report: ***
6 (Absence of a language code means 0% translation for that language)
7 (Help for translations (and/or much more) is of course welcome !)
8 (A star after a language's statistics means that the translation file isn't
9 up to date with the POT (original messages) file)
11 Entry format:
12 country_code percentage% (translated,fuzzy,total)
14 translated includes fuzzy entries.
16 __EOF__
17 ./po-checktrans.py $* >>$str || cat <<__EOF__ >>$str
18 E: po-checktrans failed to run. Please check that python is installed
19 E: on your system.
20 __EOF__
22 cat $str
23 exit 0