]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - check-translations.sh
oops, bring weapon names back
[xonotic/xonotic-data.pk3dir.git] / check-translations.sh
index 4c773bef95fe350c47467d52d404e0d238b2376b..7e2ccf2023a934794a6f888ac69ddc4c88309345 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 > /tmp/weapons.qc
+                               echo "/tmp/weapons.qc"
                        fi
                } | xgettext -LC -k_ -f- --from-code utf-8 -o "$VM".dat.pot >&2
        fi