Updated translation files
This commit is contained in:
parent
747bbd7c7b
commit
51bc9d1569
8 changed files with 2893 additions and 2898 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
17
src/tint2conf/po/update-translations.sh
Executable file
17
src/tint2conf/po/update-translations.sh
Executable file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
find .. -name '*.c' | sort -r | xargs xgettext --keyword=_ --language=C --output=tint2conf.pot -
|
||||||
|
sed -i "s/PACKAGE VERSION/tint2conf $(../../../get_version.sh | head -n1)/g" tint2conf.pot
|
||||||
|
sed -i "s/CHARSET/UTF-8/g" tint2conf.pot
|
||||||
|
|
||||||
|
for f in *.po
|
||||||
|
do
|
||||||
|
lang=$(basename $f .po)
|
||||||
|
echo $lang
|
||||||
|
msgmerge -i -o $lang.pox $lang.po tint2conf.pot
|
||||||
|
cat ${lang}.pox > ${lang}.po
|
||||||
|
rm ${lang}.pox
|
||||||
|
done
|
Loading…
Reference in a new issue