]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - check-translations.sh
Compare old and new .pot both ways.
[xonotic/xonotic-data.pk3dir.git] / check-translations.sh
index 6a55b5ef732f3dff77418a4c06ead7660a8b2a6b..46ec3ec6c9121cb7bdf6bdc705a44f95545729c1 100755 (executable)
@@ -57,7 +57,7 @@ if [ x"$mode" = x"pot" ]; then
                        echo "$name"
                done | sort -u
        } | xgettext -LC -k_ -f- --from-code utf-8 -F -o common.pot.new >&2
-       if msgcmp -N --use-untranslated common.pot common.pot.new; then
+       if msgcmp -N --use-untranslated common.pot common.pot.new && msgcmp -N --use-untranslated common.pot.new common.pot; then
                echo "No contentful changes to common.pot - OK."
                rm -f common.pot.new
        else