aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Wenger <constantin.wenger@googlemail.com>2011-07-22 20:19:43 +0200
committerConstantin Wenger <constantin.wenger@googlemail.com>2011-07-22 20:40:47 +0200
commita12229f27148b9aec64c0fdeb1d739ad2062ac93 (patch)
tree3d82a51201a4113598b73eac4e44598e3e7186e1
parentb278988924724616b2070ed54d0c323504ebdff0 (diff)
downloadminetest-a12229f27148b9aec64c0fdeb1d739ad2062ac93.tar.gz
minetest-a12229f27148b9aec64c0fdeb1d739ad2062ac93.tar.bz2
minetest-a12229f27148b9aec64c0fdeb1d739ad2062ac93.zip
fixed some problems with filenames of the translations
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/main.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index dc9dc03a6..c93762cab 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -330,7 +330,7 @@ if (USE_GETTEXT)
COMMAND ${CMAKE_COMMAND} -E make_directory ${MO_BUILD_PATH}
COMMENT "mo-update [${LOCALE}]: Creating locale directory.")
- set(MO_FILE_PATH "${MO_BUILD_PATH}/${PROJECT_NAME}.mo")
+ set(MO_FILE_PATH "${MO_BUILD_PATH}/minetest.mo")
add_custom_command(
OUTPUT ${MO_FILE_PATH}
diff --git a/src/main.cpp b/src/main.cpp
index a7634a3c1..b94d0c361 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1133,8 +1133,8 @@ int main(int argc, char *argv[])
fs::CreateDir(porting::path_userdata);
setlocale(LC_MESSAGES, "");
- bindtextdomain("minetest-c55", (porting::path_userdata+"/locale").c_str());
- textdomain("minetest-c55");
+ bindtextdomain("minetest", (porting::path_userdata+"/locale").c_str());
+ textdomain("minetest");
// Initialize debug streams
#ifdef RUN_IN_PLACE