]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - check-translations.sh
Merge branch 'master' into terencehill/arena_and_ca_fixes
[xonotic/xonotic-data.pk3dir.git] / check-translations.sh
index 4c773bef95fe350c47467d52d404e0d238b2376b..99882291aff6a2894c1e0cd8ff44c0531d840df7 100755 (executable)
@@ -40,6 +40,9 @@ for VM in menu csprogs; do
                        find qcsrc/common -type f -not -name \*.po -not -name \*.txt
                        if [ x"$VM" = x"csprogs" ]; then
                                find qcsrc/server -type f -name w_\*.qc
+                       elif [ x"$VM" = x"menu" ]; then
+                               find qcsrc/server -type f -name w_\*.qc | xargs grep ^REGISTER_WEAPON > weapons.qc.tmp
+                               echo "weapons.qc.tmp"
                        fi
                } | xgettext -LC -k_ -f- --from-code utf-8 -o "$VM".dat.pot >&2
        fi