aboutsummaryrefslogtreecommitdiff
path: root/updatelocales.sh
diff options
context:
space:
mode:
authorConstantin Wenger <constantin.wenger@googlemail.com>2011-07-20 16:51:19 +0200
committerConstantin Wenger <constantin.wenger@googlemail.com>2011-07-20 16:51:19 +0200
commit6a8328de7970edd2a1c0472289a903a75ad9daf7 (patch)
treea57050ac3a2a9a03f489a9f1a1c564cdaf27a2d4 /updatelocales.sh
parent2095b1581615f7b8c4f008886837fbbeaf75faec (diff)
downloadminetest-6a8328de7970edd2a1c0472289a903a75ad9daf7.tar.gz
minetest-6a8328de7970edd2a1c0472289a903a75ad9daf7.tar.bz2
minetest-6a8328de7970edd2a1c0472289a903a75ad9daf7.zip
added gettext support
german translation file and bashscript to update translations
Diffstat (limited to 'updatelocales.sh')
-rw-r--r--updatelocales.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/updatelocales.sh b/updatelocales.sh
new file mode 100644
index 000000000..1ac42342d
--- /dev/null
+++ b/updatelocales.sh
@@ -0,0 +1,4 @@
+#! /bin/bash
+xgettext -n -o minetest-c55.pot ./src/*.cpp ./src/*.h
+msgmerge -U ./po/de/minetest-c55.po minetest-c55.pot
+rm minetest-c55.pot