Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2015-10-19 16:10:51 +0300
committerBen Wiederhake <BenWiederhake.GitHub@gmx.de>2015-10-20 19:22:04 +0300
commit59d9cc88a983ebd6552360f282655c465bb9e80b (patch)
treeb0e3dea1775b8434776773c91cd349ae545e2c2f /autogen.sh
parentb8e73f819c282b7f882751a3981f27332eadcd8e (diff)
Fix autogen incompatibility
Also, only regenerate the parts that actually have changed.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh27
1 files changed, 15 insertions, 12 deletions
diff --git a/autogen.sh b/autogen.sh
index 26ebbae..3650700 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,17 +1,20 @@
-autoheader
-autoconf
+#!/bin/sh
+
+autoreconf
echo bootstrapping translation files ...
cd po
intltool-update --pot
-for lang in $(cat LINGUAS); do
- if [ -e "$lang.po" ]
- then
- echo "updating language file $lang.po ..."
- intltool-update "$lang"
- else
- echo "creating new language file $lang.po ..."
- msginit --locale="$lang"
- fi
-done
+## Translations are managed at https://www.transifex.com/telegram-purple-developers/telegram-purple/
+## To update the .po files, download it from there, since intltool, msginit, and transifex produce slightly different files, and I'd like to avoid gigantic git diffs that only change indentation or similar things.
+#for lang in $(cat LINGUAS); do
+# if [ -e "$lang.po" ]
+# then
+# echo "updating language file $lang.po ..."
+# intltool-update "$lang"
+# else
+# echo "creating new language file $lang.po ..."
+# msginit --locale="$lang"
+# fi
+#done
cd ..