1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 16:08:51 -05:00

fixed some problems with filenames of the translations

This commit is contained in:
Constantin Wenger 2011-07-22 20:19:43 +02:00
parent b278988924
commit a12229f271
2 changed files with 3 additions and 3 deletions

View 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}

View File

@ -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