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 | e61b2f99c14c307ae317a5aaba151cd0070c313d (patch) | |
tree | ee0727cf3321125e3b37a1b91b9f0a0df6cf6911 | |
parent | d386f02893e132317bd2641878d0b86b52347d15 (diff) | |
download | minetest-e61b2f99c14c307ae317a5aaba151cd0070c313d.tar.gz minetest-e61b2f99c14c307ae317a5aaba151cd0070c313d.tar.bz2 minetest-e61b2f99c14c307ae317a5aaba151cd0070c313d.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 |