diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2015-10-19 16:10:51 +0300 |
---|---|---|
committer | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2015-10-20 19:22:04 +0300 |
commit | 59d9cc88a983ebd6552360f282655c465bb9e80b (patch) | |
tree | b0e3dea1775b8434776773c91cd349ae545e2c2f /autogen.sh | |
parent | b8e73f819c282b7f882751a3981f27332eadcd8e (diff) |
Fix autogen incompatibility
Also, only regenerate the parts that actually have changed.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 27 |
1 files changed, 15 insertions, 12 deletions
@@ -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 .. |