mirror of https://github.com/odrling/Aegisub
A simple stats.sh script to get the # of strings and % translated from
the current translation files. Originally committed to SVN as r2669.
This commit is contained in:
parent
954e93f638
commit
9a5ec0d574
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for i in `cat LINGUAS`; do
|
||||||
|
echo -n "$i ";
|
||||||
|
msgfmt --verbose -o /dev/null $i 2>&1 \
|
||||||
|
|awk '{ TOTAL= $1 + $4 + $7; PERCENT = ($1 / TOTAL) * 100; print "Total Strings: " TOTAL", " PERCENT"% Translated"}';
|
||||||
|
done
|
Loading…
Reference in New Issue