chiark / gitweb /
add --apply option; pa_IN handling; misc merging improvements
[bin.git] / rosetta-merge-all
index 0dadc1eb2b39c3ee34edc39045f06cc1a3f2da25..98627a2f7ec6fa89185ded3e5376d7077ab709ed 100755 (executable)
@@ -1,2 +1,7 @@
 #! /bin/sh
-for x in *.po; do rosetta-merge $1 ${x%.*} | view -; done
+if [ "$1" = --apply ]; then
+       shift
+       for x in *.po; do rosetta-merge --apply $1 ${x%.*}; done
+else
+       for x in *.po; do rosetta-merge $1 ${x%.*} | view -; done
+fi