File: po-checktrans

package info (click to toggle)
dia 0.97.3%2Bgit20160930-8.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 54,328 kB
  • sloc: ansic: 155,065; xml: 16,326; python: 6,641; cpp: 4,935; makefile: 3,833; sh: 540; perl: 137; sed: 19
file content (23 lines) | stat: -rwxr-xr-x 645 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

str=core-translation-report
cat <<__EOF__ >$str
*** PO/core/gettext translation report: ***
(Absence of a language code means 0% translation for that language)
(Help for translations (and/or much more) is of course welcome !)
(A star after a language's statistics means that the translation file isn't
 up to date with the POT (original messages) file)

Entry format:
   country_code percentage% (translated,fuzzy,total)

translated includes fuzzy entries.

__EOF__
./po-checktrans.py $* >>$str || cat <<__EOF__ >>$str
E: po-checktrans failed to run. Please check that python is installed
E: on your system. 
__EOF__

cat $str
exit 0