X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=check-translations.sh;h=6cfd13dbbdaa120ae6ab63ab9793cad9491aedec;hb=12a8e2b2fc09cbb1f43aa2185cd367c6415db240;hp=36d66bf2784d435c2bd10f086cf29d26c2df665d;hpb=8b5335b125ddeb8a0c023ff5cf7f5f28f034f4e3;p=xonotic%2Fxonotic-data.pk3dir.git 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