diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-07-22 09:58:02 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-07-22 09:58:02 +0200 |
commit | 8f2409a1b41bbe32abf626b06e1b90f6cc7118c8 (patch) | |
tree | 90319bcbe87000cd7e4473592f7706d88bbefa8d | |
parent | 0ec749317cfa36e68150dd634c2c9ffdb8027588 (diff) | |
download | minetest-8f2409a1b41bbe32abf626b06e1b90f6cc7118c8.tar.gz minetest-8f2409a1b41bbe32abf626b06e1b90f6cc7118c8.tar.bz2 minetest-8f2409a1b41bbe32abf626b06e1b90f6cc7118c8.zip |
Static naming of po file
The po file should not be named c55 if we're in ∆. But since it is not
exposed at installation time, we don't actually need its name to be
based on the project name at all, so just call it minetest.po
-rw-r--r-- | po/de/minetest.po (renamed from po/de/minetest-c55.po) | 0 | ||||
-rw-r--r-- | po/fr/minetest.po (renamed from po/fr/minetest-c55.po) | 0 | ||||
-rw-r--r-- | src/CMakeLists.txt | 2 | ||||
-rwxr-xr-x | updatelocales.sh | 8 |
4 files changed, 5 insertions, 5 deletions
diff --git a/po/de/minetest-c55.po b/po/de/minetest.po index c5ec1c7a0..c5ec1c7a0 100644 --- a/po/de/minetest-c55.po +++ b/po/de/minetest.po diff --git a/po/fr/minetest-c55.po b/po/fr/minetest.po index cfb76ae1a..cfb76ae1a 100644 --- a/po/fr/minetest-c55.po +++ b/po/fr/minetest.po diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4427a1380..61fb20680 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -305,7 +305,7 @@ if (USE_GETTEXT) COMMENT "mo-update [${LOCALE}]: Creating locale directory.") set(MO_FILE_PATH "${MO_BUILD_PATH}/${PROJECT_NAME}.mo") - set(PO_FILE_PATH "${GETTEXT_PO_PATH}/${LOCALE}/minetest-c55.po") + set(PO_FILE_PATH "${GETTEXT_PO_PATH}/${LOCALE}/minetest.po") add_custom_command( OUTPUT ${MO_FILE_PATH} diff --git a/updatelocales.sh b/updatelocales.sh index e84145107..72ecd48d2 100755 --- a/updatelocales.sh +++ b/updatelocales.sh @@ -1,5 +1,5 @@ #! /bin/bash -xgettext -n -o minetest-c55.pot ./src/*.cpp ./src/*.h -msgmerge -U ./po/de/minetest-c55.po minetest-c55.pot -msgmerge -U ./po/fr/minetest-c55.po minetest-c55.pot -rm minetest-c55.pot +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 |