diff --git a/util/updatepo.sh b/util/updatepo.sh index fbf1aad..a4fe57e 100755 --- a/util/updatepo.sh +++ b/util/updatepo.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Update/create minetest po files +# Update/create voxelands po files # an auxiliary function to abort processing with an optional error # message @@ -47,13 +47,13 @@ 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 +potfile=po/voxelands.pot +xgettext --package-name=voxelands -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 + pofile=po/$lang/voxelands.po if test -e $pofile; then echo "[$lang]: updating strings" msgmerge -F -U $pofile $potfile