cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git] / po / pull-from-transifex.sh
index 44b9766..edc2b35 100755 (executable)
@@ -21,7 +21,14 @@ git add po/*.po po/LINGUAS && (
     echo " - ${lang}: ${translator}"
   done < <(git status --porcelain po/*.po | egrep '^[AM]  '))
 
-  git commit -em "Update translations from Transifex
+  git commit -m "Update translations from Transifex
+
+  $(for i in po/*.po; do
+      msgfmt --statistics $i
+    done |&
+    perl -ne '/([0-9]+) translated/ and $translated+=$1;
+              END { printf("%d translated messages", $translated); }'
+  )
 
 Many thanks to:
 ${translators}"