aboutsummaryrefslogtreecommitdiff
path: root/src
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
commitfb4c3ab4fbd29498a72a488199be58ead7505cc7 (patch)
tree7d68f397a2c666794e10cfd7214baf0964b9db86 /src
parent96ad0c86380a3386d4ad4d021a9d604569fd5883 (diff)
downloadminetest-fb4c3ab4fbd29498a72a488199be58ead7505cc7.tar.gz
minetest-fb4c3ab4fbd29498a72a488199be58ead7505cc7.tar.bz2
minetest-fb4c3ab4fbd29498a72a488199be58ead7505cc7.zip
fixed some problems with filenames of the translations
Diffstat (limited to 'src')
-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