Small script for translation status
authorRicardo Mones <ricardo@mones.org>
Fri, 5 Aug 2016 23:24:57 +0000 (01:24 +0200)
committerRicardo Mones <ricardo@mones.org>
Fri, 5 Aug 2016 23:24:57 +0000 (01:24 +0200)
po/STATUS [new file with mode: 0644]

diff --git a/po/STATUS b/po/STATUS
new file mode 100644 (file)
index 0000000..df8583f
--- /dev/null
+++ b/po/STATUS
@@ -0,0 +1,7 @@
+#!/bin/bash
+k=`grep -c '^msgstr ""$' ./*.pot`
+make 2>&1 \
+ | grep translated \
+ | awk -v k=$k '{t=$1;n=$2; printf "%d / %.2f%% - %s\n", n, (n/(k-1))*100, t}' \
+ | sed 's,:$,,' \
+ | sort