summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cptrans.sh9
-rwxr-xr-xupdatetrans.sh6
2 files changed, 15 insertions, 0 deletions
diff --git a/cptrans.sh b/cptrans.sh
new file mode 100644
index 0000000..1c99953
--- /dev/null
+++ b/cptrans.sh
@@ -0,0 +1,9 @@
+for i in `ls po/compizfusion/ | grep -v templates`
+ do
+
+ for j in `ls po/compizfusion/$i | grep -v pending | grep -v stats | grep -v prefs`
+ do
+ LDN="`basename $j | sed -e 's/\.po\$//'`"
+ cp po/compizfusion/$i/$j yc/$LDN/po/$i.po
+ done
+ done
diff --git a/updatetrans.sh b/updatetrans.sh
new file mode 100755
index 0000000..2ccd8d6
--- /dev/null
+++ b/updatetrans.sh
@@ -0,0 +1,6 @@
+for j in *.po
+ do
+ LDN="`basename $j | sed -e 's/\.po\$//'`"
+ intltool-update $LDN >> trans.errors
+ msgfmt -cv $j >> trans.errors
+ done