X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=check-translations.sh;h=307c3c2c147822be83d04f39d3b707a0104c4a91;hb=7a9b9db4841ed22dbed5a7a3645fe8fff9724ceb;hp=4a1c46948f68f73bd090daf8692f7e598908b597;hpb=58784cc8f89429916e30cc059e1eb61aaa31350a;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/check-translations.sh b/check-translations.sh index 4a1c46948..307c3c2c1 100755 --- a/check-translations.sh +++ b/check-translations.sh @@ -27,18 +27,18 @@ esac if [ x"$mode" = x"pot" ]; then { find qcsrc -type f -name \*.\* -not -name \*.po -not -name \*.txt - } | xgettext -LC -k_ -f- --from-code utf-8 -o common.pot >&2 + } | xgettext -LC -k_ -f- --from-code utf-8 -F -o common.pot >&2 fi if [ x"$mode" = x"po" ]; then for X in common.*.po; do [ -f "$X" ] || continue if [ -n "$language" ]; then - if [ x"${X#*.dat.}" != x"$language.po" ]; then + if [ x"${X#common.}" != x"$language.po" ]; then continue fi else - if [ x"${X#*.dat.}" = x"en.po" ]; then + if [ x"${X#common.}" = x"en.po" ]; then continue fi fi @@ -189,7 +189,7 @@ EOF for X in common.*.po.disabled; do [ -f "$X" ] || continue if [ -n "$language" ]; then - if [ x"${X#*.dat.}" != x"$language.po" ]; then + if [ x"${X#common.}" != x"$language.po" ]; then continue fi fi