From: Constantin Wenger Date: Fri, 22 Jul 2011 18:19:43 +0000 (+0200) Subject: fixed some problems with filenames of the translations X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=a12229f27148b9aec64c0fdeb1d739ad2062ac93;p=zefram%2Fminetest%2Fminetest_engine.git fixed some problems with filenames of the translations --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dc9dc03a..c93762ca 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 a7634a3c..b94d0c36 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