chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add --apply option; pa_IN handling; misc merging improvements
[bin.git]
/
rosetta-merge-all
diff --git
a/rosetta-merge-all
b/rosetta-merge-all
index 0dadc1eb2b39c3ee34edc39045f06cc1a3f2da25..98627a2f7ec6fa89185ded3e5376d7077ab709ed 100755
(executable)
--- a/
rosetta-merge-all
+++ b/
rosetta-merge-all
@@
-1,2
+1,7
@@
#! /bin/sh
#! /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