gnome-specimen r132 - in trunk-from-bzr: . po



Author: wbolster
Date: Tue Jun 17 18:43:37 2008
New Revision: 132
URL: http://svn.gnome.org/viewvc/gnome-specimen?rev=132&view=rev

Log:
* po/check-translations:
  - Simple shell script to retrieve translation statistics


Added:
   trunk-from-bzr/po/check-translations   (contents, props changed)
Modified:
   trunk-from-bzr/   (props changed)
   trunk-from-bzr/po/ca.po
   trunk-from-bzr/po/cs.po
   trunk-from-bzr/po/de.po
   trunk-from-bzr/po/el.po
   trunk-from-bzr/po/en_GB.po
   trunk-from-bzr/po/es.po
   trunk-from-bzr/po/fi.po
   trunk-from-bzr/po/fr.po
   trunk-from-bzr/po/it.po
   trunk-from-bzr/po/nb.po
   trunk-from-bzr/po/nl.po
   trunk-from-bzr/po/pt.po
   trunk-from-bzr/po/pt_BR.po
   trunk-from-bzr/po/ru.po
   trunk-from-bzr/po/sv.po
   trunk-from-bzr/po/vi.po
   trunk-from-bzr/po/zh_CN.po

Added: trunk-from-bzr/po/check-translations
==============================================================================
--- (empty file)
+++ trunk-from-bzr/po/check-translations	Tue Jun 17 18:43:37 2008
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+for file in *.po; do
+	grep --color=no '^"Last-Translator:' $file \
+	| sed -e 's/^"Last-Translator:\s*//' -e 's/\\n"$//'
+	echo -n "$file: "
+	LANG=C msgfmt -cv -o /dev/null $file
+	echo
+done



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]