fixed some problems with filenames of the translations
authorConstantin Wenger <constantin.wenger@googlemail.com>
Fri, 22 Jul 2011 18:19:43 +0000 (20:19 +0200)
committerConstantin Wenger <constantin.wenger@googlemail.com>
Fri, 22 Jul 2011 18:40:47 +0000 (20:40 +0200)
src/CMakeLists.txt
src/main.cpp

index dc9dc03a69637aa858b5292eb648d9a225e23cfc..c93762cabb2f6dcadf18605cbabc4beaec4e6736 100644 (file)
@@ -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}
index a7634a3c111ffe21fb593efdbf13dd2bad7285da..b94d0c3616900732b1836a46642932dbdd4ef705 100644 (file)
@@ -1133,8 +1133,8 @@ int main(int argc, char *argv[])
        fs::CreateDir(porting::path_userdata);\r
 \r
        setlocale(LC_MESSAGES, "");
-       bindtextdomain("minetest-c55", (porting::path_userdata+"/locale").c_str());\r
-       textdomain("minetest-c55");\r
+       bindtextdomain("minetest", (porting::path_userdata+"/locale").c_str());\r
+       textdomain("minetest");\r
        \r
        // Initialize debug streams\r
 #ifdef RUN_IN_PLACE\r