diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-22 12:10:19 -0700 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-22 12:10:19 -0700 |
commit | 2452ce67f4e283a72b7845d6bce43d7d26b85fc1 (patch) | |
tree | d2cd37a0dd56db566274130804203371bfac8ebb | |
parent | 805ccd449fdd62e05083b71c1e035e5e7347c73a (diff) | |
parent | 84c370b1db05c21b63256e956a028084e482a8c4 (diff) | |
download | minetest-2452ce67f4e283a72b7845d6bce43d7d26b85fc1.tar.gz minetest-2452ce67f4e283a72b7845d6bce43d7d26b85fc1.tar.bz2 minetest-2452ce67f4e283a72b7845d6bce43d7d26b85fc1.zip |
Merge pull request #33 from SpeedProg/master
gettext fix of laguagefile names
-rw-r--r-- | src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/main.cpp | 4 |
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
|