Update translations

This commit is contained in:
2019-10-18 23:25:27 +02:00
parent 7753e42078
commit 31a47339f8
9 changed files with 277 additions and 31 deletions

View File

@@ -18,6 +18,7 @@ for langdir in `find ./pot/po -mindepth 1 -maxdepth 1 -type d`; do
lang=`basename "$langdir"`
dest="$1/locale/$lang/LC_MESSAGES"
mkdir -p "$dest"
pofiles=`find "$langdir" -name "*.po"`
msgfmt --output-file="$dest/gds-render.mo" "$pofiles"
pofiles=`find "$langdir" -name "*.po" | tr '\n' ' '`
comb=`msgcat $pofiles`
echo "$comb" | msgfmt --output-file="$dest/gds-render.mo" -
done