aboutsummaryrefslogtreecommitdiff
path: root/updatelocales.sh
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-07-22 10:55:05 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-07-22 12:40:29 +0200
commitaaa165f985ec30e96ae9a975c9ad96d6e99f5ac7 (patch)
treeaf2f721b97ab3c172d6e4e1084b1a8ddc89596a5 /updatelocales.sh
parent8f2409a1b41bbe32abf626b06e1b90f6cc7118c8 (diff)
downloadhax-minetest-server-aaa165f985ec30e96ae9a975c9ad96d6e99f5ac7.tar.gz
hax-minetest-server-aaa165f985ec30e96ae9a975c9ad96d6e99f5ac7.zip
updatepo cmake rule
Get rid of the system-specific updatelocales.sh and introduce an updatepo cmake rule. po files are also updated before creating the mo files, and we now keep the .pot file (in the po/en directory). To stabilize the po file creation, file contents are sorted by source filename. Update po files in the process.
Diffstat (limited to '')
-rwxr-xr-xupdatelocales.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/updatelocales.sh b/updatelocales.sh
deleted file mode 100755
index 72ecd48d2..000000000
--- a/updatelocales.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#! /bin/bash
-xgettext -n -o minetest.pot ./src/*.cpp ./src/*.h
-msgmerge -U ./po/de/minetest.po minetest.pot
-msgmerge -U ./po/fr/minetest.po minetest.pot
-rm minetest.pot