X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=util%2Fupdatepo.sh;h=168483bd44ea2f1370bf55f9534fab21d18d0b85;hb=3c65d1acec27366d88fc3686d3f820175673e203;hp=f4a401f2cb71a2fe0a38ae0fe72c203f54642378;hpb=6b408248a16b0c61007247d8bce23a349f86b45c;p=dragonfireclient.git diff --git a/util/updatepo.sh b/util/updatepo.sh index f4a401f2c..168483bd4 100755 --- a/util/updatepo.sh +++ b/util/updatepo.sh @@ -49,6 +49,7 @@ cd .. # --package-name potfile=po/minetest.pot xgettext --package-name=minetest \ + --add-comments='~' \ --sort-by-file \ --add-location=file \ --keyword=N_ \ @@ -57,7 +58,9 @@ xgettext --package-name=minetest \ --keyword=fgettext_ne \ --keyword=strgettext \ --keyword=wstrgettext \ + --keyword=showTranslatedStatusText \ --output $potfile \ + --from-code=utf-8 \ `find src/ -name '*.cpp' -o -name '*.h'` \ `find builtin/ -name '*.lua'`