Commit cc7a06d7 authored by Rudolf Polzer's avatar Rudolf Polzer

Add a "German (Switzerland)" translation.

parent 0f818b89
This diff is collapsed.
......@@ -21,6 +21,11 @@ tx pull -f -a
for f in common.*.po; do
lang=${f%.po}
lang=${lang#common.}
case "$lang" in
de_CH)
continue
;;
esac
tcurfile=translations/xonotic.commonpot/$lang..po
goldfile=translations/xonotic.commonpot/$lang..po.orig
gnewfile=common.$lang.po
......@@ -67,6 +72,16 @@ done
tx push -t --skip
date > .tx/merge-base
# Generate Swiss Standard German from German.
msgfilter -i common.de.po -o common.de_CH.po perl -pe '
# Character filters go here.
s/ß/ss/g;
# Word filters go here. By default we match even inside words, as there
# are constructs like ^BGflag where "flag" is the actual word. Make
# sure to not commit the clbuttical mistake.
s/eventuell/allfällig/g;
'
# Build new languages list.
sh check-translations.sh txt > languages.txt.new
mv languages.txt.new languages.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment