]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - check-translations.sh
Merge branch 'master' into terencehill/cursormode
[xonotic/xonotic-data.pk3dir.git] / check-translations.sh
index 4c773bef95fe350c47467d52d404e0d238b2376b..552807fdbc13df9fa734c1c34a858bd4f2d341de 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
@@ -144,7 +147,7 @@ EOF
                                                                        -e "set use_envelope_from=yes" \
                                                                        -s "Need update for translations: $X" \
                                                                        -c "$cc" \
-                                                                       -b "divVerent@xonotic.org" \
+                                                                       -b "admin@xonotic.org" \
                                                                        -a $attach -- \
                                                                        "$to"
                                                                break