]> git.lizzy.rs Git - minetest.git/blobdiff - util/updatepo.sh
Fix cursor still visible after closing formspec while on HyperText (#9583)
[minetest.git] / util / updatepo.sh
index 28755b1fe6c5fe1f2536319098032cb4f957ef9d..168483bd44ea2f1370bf55f9534fab21d18d0b85 100755 (executable)
@@ -49,14 +49,18 @@ cd ..
 # --package-name
 potfile=po/minetest.pot
 xgettext --package-name=minetest \
+       --add-comments='~' \
        --sort-by-file \
-       --add-location \
+       --add-location=file \
        --keyword=N_ \
        --keyword=wgettext \
        --keyword=fgettext \
+       --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'`