]> git.sesse.net Git - ccbs/blobdiff - intl/make-all-pot.sh
Actually make templates.po creation work. :-)
[ccbs] / intl / make-all-pot.sh
index 0078eef59bcfcf0e04e950c74c1c805533c8c410..ba7aeb7e5eefda8b37aa083413ac62b4608c446b 100755 (executable)
@@ -4,7 +4,8 @@ set -e
 
 rm -f templates/*.pot
 for FILE in templates/*.tmpl; do
-       perl -I../intl ../intl/make-pot.pl $FILE > $FILE.pot
+       echo $FILE...
+       perl -I../intl ../intl/make-pot.pl $FILE | msguniq > $FILE.pot
 done
 
 msgcat templates/*.pot > po/templates.pot