From: Rudolf Polzer Date: Thu, 20 Jan 2011 18:37:31 +0000 (+0100) Subject: preparation for making weapon names translatable X-Git-Tag: xonotic-v0.5.0~316^2~49 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=197a58cd2cb32e08e1ac8a4d3505979d7aa38c0b;p=xonotic%2Fxonotic-data.pk3dir.git preparation for making weapon names translatable --- diff --git a/check-translations.sh b/check-translations.sh index 36d66bf27..6cfd13dbb 100755 --- a/check-translations.sh +++ b/check-translations.sh @@ -9,7 +9,11 @@ for VM in menu csprogs; do 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 + { + find qcsrc/"$VMD" -type f -not -name \*.po -not -name \*.txt + find qcsrc/common -type f -not -name \*.po -not -name \*.txt + find qcsrc/server -type f -name w_\*.qc + } | 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