Merge pull request #145 from skybon/i18n

i18n candy
This commit is contained in:
Thomas Debesse 2015-06-16 23:38:15 +02:00
commit 3ea1ed5977
2 changed files with 106 additions and 849 deletions

File diff suppressed because it is too large Load Diff

11
pot_generator.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
#
# This script automatically updates translation template from
# the source code of XQF
#
POT=po/xqf.pot
VERSION=$(git describe --abbrev=0 --tags)
find ./ -name '*.c' -o -name '*.ui' -o -name 'xqf.desktop.in' | sort | xgettext \
\--from-code=UTF-8 --package-name="XQF" --copyright-holder="XQF Team" --msgid-bugs-address="https://github.com/xqf/xqf/issues" --no-location --package-version="${VERSION}" -o ${POT} -k_ -k__ -kCG_TranslateString -ktrap_TranslateString -kTRANSLATE -f -