aboutsummaryrefslogtreecommitdiff
path: root/build/android/src/main/java
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2018-11-22 04:55:24 +0000
committerGitHub <noreply@github.com>2018-11-22 04:55:24 +0000
commit1c91cb8f8f6ea15dc1308aace666bd1ebd25a28c (patch)
tree0b757a34ef6ee3f46283d28610ccf3034464f71d /build/android/src/main/java
parent015e46310aba7275f620e3abdf24091c0c6bc947 (diff)
Lua_api.txt: Update glasslike_framed textures documentation (#7884)
Diffstat (limited to 'build/android/src/main/java')
0 files changed, 0 insertions, 0 deletions
rk correctly cd "$scriptisin/.." test -e po || abort "po/ directory not found" test -d po || abort "po/ is not a directory!" # Get a list of the languages we have to update/create cd po || abort "couldn't change directory to po!" # This assumes that we won't have dirnames with space, which is # the case for language codes, which are the only subdirs we expect to # find in po/ anyway. If you put anything else there, you need to suffer # the consequences of your actions, so we don't do sanity checks langs="" for lang in * ; do if test ! -d $lang; then continue fi langs="$langs $lang" done # go back cd .. # First thing first, update the .pot template. We place it in the po/ # directory at the top level. You a recent enough xgettext that supports # --package-name potfile=po/minetest.pot xgettext --package-name=minetest -kN_ -kwgettext -F -n -o $potfile src/*.cpp src/*.h # Now iterate on all languages and create the po file if missing, or update it # if it exists already for lang in $langs ; do # note the missing quotes around $langs pofile=po/$lang/minetest.po if test -e $pofile; then echo "[$lang]: updating strings" msgmerge -F -U $pofile $potfile else # This will ask for the translator identity echo "[$lang]: NEW strings" msginit -l $lang -o $pofile -i $potfile fi done