X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=tx.sh;h=2fefa8fa48e4be7fcbe736259e4ac447648732b4;hp=47c388f6813968d161c84134042e271c7b5c6ad7;hb=3ae1efa7401791e42e3171f4db2cc2d38adde088;hpb=96d50426c7929a9f6b080f575cba5732aa3010d6 diff --git a/tx.sh b/tx.sh index 47c388f681..2fefa8fa48 100644 --- a/tx.sh +++ b/tx.sh @@ -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