summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJigish Gohil <cyberorg@opensuse.org>2008-11-05 14:02:41 +0530
committerJigish Gohil <cyberorg@opensuse.org>2008-11-05 14:02:41 +0530
commit709f77129c3d018d97cf75720a6037b214a7a95f (patch)
tree5d24284d289854132c71fad069119504be71c19b
parent16653584f78fb8c84e99169fb670477a98dd779c (diff)
downloadmisc-709f77129c3d018d97cf75720a6037b214a7a95f.tar.gz
misc-709f77129c3d018d97cf75720a6037b214a7a95f.tar.bz2
translation related scripts
-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