From: Rudolf Polzer Date: Tue, 18 Jan 2011 20:37:26 +0000 (+0100) Subject: more fancy stuff :P X-Git-Tag: xonotic-v0.5.0~109^2~25^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0929efe357b2b27c1c8fdee16d4b349c58d3034f;p=xonotic%2Fxonotic-data.pk3dir.git more fancy stuff :P --- diff --git a/check-translations.sh b/check-translations.sh index b37d9f49b..36d66bf27 100755 --- a/check-translations.sh +++ b/check-translations.sh @@ -1,7 +1,15 @@ #!/bin/sh -for VM in menu client; do - find qcsrc/"$VM" -type f -not -name \*.po -not -name \*.txt | xgettext -LC -k_ -f- --from-code utf-8 -o "$VM".dat.pot >&2 +for VM in menu csprogs; do + case "$VM" in + csprogs) + VMD=client + ;; + *) + VMD=$VM + ;; + esac + find qcsrc/"$VMD" -type f -not -name \*.po -not -name \*.txt | xgettext -LC -k_ -f- --from-code utf-8 -o "$VM".dat.pot >&2 for X in "$VM".dat.*.po; do [ -f "$X" ] || continue msgmerge -F -U "$X" "$VM".dat.pot >&2