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
This commit is contained in:
Giuseppe Bilotta 2011-07-22 09:58:02 +02:00
parent d386f02893
commit e61b2f99c1
4 changed files with 5 additions and 5 deletions

@ -305,7 +305,7 @@ if (USE_GETTEXT)
COMMENT "mo-update [${LOCALE}]: Creating locale directory.") COMMENT "mo-update [${LOCALE}]: Creating locale directory.")
set(MO_FILE_PATH "${MO_BUILD_PATH}/${PROJECT_NAME}.mo") 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( add_custom_command(
OUTPUT ${MO_FILE_PATH} OUTPUT ${MO_FILE_PATH}

@ -1,5 +1,5 @@
#! /bin/bash #! /bin/bash
xgettext -n -o minetest-c55.pot ./src/*.cpp ./src/*.h xgettext -n -o minetest.pot ./src/*.cpp ./src/*.h
msgmerge -U ./po/de/minetest-c55.po minetest-c55.pot msgmerge -U ./po/de/minetest.po minetest.pot
msgmerge -U ./po/fr/minetest-c55.po minetest-c55.pot msgmerge -U ./po/fr/minetest.po minetest.pot
rm minetest-c55.pot rm minetest.pot