summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-14 12:22:22 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-14 12:22:22 +0100
commit924ab7e840be652d53fb0833567df9615c078d13 (patch)
treede5a479de3a0bdf7a640cfe7b6fb45c4368f2eae /bin
parent5d1f1168b9cca6eb441effa3801ba09fb90ae7b1 (diff)
downloadpykolab-924ab7e840be652d53fb0833567df9615c078d13.tar.gz
Update translations
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pykolab-update-lang7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/pykolab-update-lang b/bin/pykolab-update-lang
index a351e40..1617a81 100755
--- a/bin/pykolab-update-lang
+++ b/bin/pykolab-update-lang
@@ -20,15 +20,14 @@ cd po/
intltool-update --pot --gettext-package=pykolab
+echo "Push the new .pot file back to transifex"
+tx push -s
+
if [ "$1" == "po" ]; then
for lang_file in `ls -1 *.po`; do
lang=$(echo ${lang_file} | cut -f1 -d'.')
tx pull -f -l ${lang}
- intltool-update -d ${lang}
done
fi
-echo "Push the new .pot file back to transifex"
-
-tx push -s
cd ..