mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 08:03:45 +01:00
Merge pull request #33 from SpeedProg/master
gettext fix of laguagefile names
This commit is contained in:
commit
2452ce67f4
@ -330,7 +330,7 @@ if (USE_GETTEXT)
|
|||||||
COMMAND ${CMAKE_COMMAND} -E make_directory ${MO_BUILD_PATH}
|
COMMAND ${CMAKE_COMMAND} -E make_directory ${MO_BUILD_PATH}
|
||||||
COMMENT "mo-update [${LOCALE}]: Creating locale directory.")
|
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(
|
add_custom_command(
|
||||||
OUTPUT ${MO_FILE_PATH}
|
OUTPUT ${MO_FILE_PATH}
|
||||||
|
@ -1133,8 +1133,8 @@ int main(int argc, char *argv[])
|
|||||||
fs::CreateDir(porting::path_userdata);
|
fs::CreateDir(porting::path_userdata);
|
||||||
|
|
||||||
setlocale(LC_MESSAGES, "");
|
setlocale(LC_MESSAGES, "");
|
||||||
bindtextdomain("minetest-c55", (porting::path_userdata+"/locale").c_str());
|
bindtextdomain("minetest", (porting::path_userdata+"/locale").c_str());
|
||||||
textdomain("minetest-c55");
|
textdomain("minetest");
|
||||||
|
|
||||||
// Initialize debug streams
|
// Initialize debug streams
|
||||||
#ifdef RUN_IN_PLACE
|
#ifdef RUN_IN_PLACE
|
||||||
|
Loading…
Reference in New Issue
Block a user