X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=tx.sh;h=47c388f6813968d161c84134042e271c7b5c6ad7;hp=fb03700a42953d9c218e7c105bb1500531770d14;hb=d282af0d4df7a28bb144e5a40d388ac9df2d890e;hpb=1ea3b0365fd6fbb31c38cf6d22ee0b952e9010c1 diff --git a/tx.sh b/tx.sh index fb03700a4..47c388f68 100644 --- a/tx.sh +++ b/tx.sh @@ -7,6 +7,9 @@ mergebase=`git log --pretty=oneline -1 .tx/merge-base | cut -d ' ' -f 1` set -e +# Update the .pot. +sh check-translations.sh pot + # First upload our current .pot. mkdir -p translations/xonotic.commonpot/ cp common.pot translations/xonotic.commonpot/en..po @@ -61,5 +64,13 @@ for f in translations/xonotic.commonpot/*..po; do cp "$tcurfile" "$gnewfile" fi done -tx push -t +tx push -t --skip date > .tx/merge-base + +# Build new languages list. +sh check-translations.sh txt > languages.txt.new +mv languages.txt.new languages.txt + +# Report stats. +git diff --stat +git diff --color-words languages.txt