Let autogen.sh take care of the .nsi
This commit is contained in:
parent
5828496b52
commit
e5adfc1bd6
1 changed files with 7 additions and 12 deletions
19
autogen.sh
19
autogen.sh
|
@ -1,21 +1,16 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
autoreconf
|
autoreconf
|
||||||
|
|
||||||
echo bootstrapping translation files ...
|
(
|
||||||
cd po
|
cd po
|
||||||
export XGETTEXT="xgettext -kP_:1,2"
|
export XGETTEXT="xgettext -kP_:1,2"
|
||||||
intltool-update --pot
|
intltool-update --pot
|
||||||
## Translations are managed at https://www.transifex.com/telegram-purple-developers/telegram-purple/
|
## 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.
|
## 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
|
test -r Makefile || (echo "Autoreconf didn't create Makefile?!"; exit 1)
|
||||||
# echo "updating language file $lang.po ..."
|
make --quiet build-nsi
|
||||||
# intltool-update "$lang"
|
|
||||||
# else
|
|
||||||
# echo "creating new language file $lang.po ..."
|
|
||||||
# msginit --locale="$lang"
|
|
||||||
# fi
|
|
||||||
#done
|
|
||||||
cd ..
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue