summaryrefslogtreecommitdiffstats
path: root/bin/pykolab-update-lang
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pykolab-update-lang')
-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 ..