diff options
author | ShadowNinja <shadowninja@minetest.net> | 2015-08-24 14:32:15 -0400 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-09-06 11:21:26 +0200 |
commit | 645e2086734e3d2d1ec95f50faa39f0f24304761 (patch) | |
tree | f7b386b295c08d63ad5f208a543d9c5901795e5e /src/main.cpp | |
parent | 31b6d2678455c0b3de7f4b97c9607388b06c8f8c (diff) | |
download | minetest-645e2086734e3d2d1ec95f50faa39f0f24304761.tar.gz minetest-645e2086734e3d2d1ec95f50faa39f0f24304761.tar.bz2 minetest-645e2086734e3d2d1ec95f50faa39f0f24304761.zip |
Use CUSTOM_LOCALEDIR if specified
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 950d30b5a..dece27428 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -472,10 +472,10 @@ static bool init_common(int *log_level, const Settings &cmd_args, int argc, char httpfetch_init(g_settings->getS32("curl_parallel_limit")); #ifdef _MSC_VER - init_gettext((porting::path_share + DIR_DELIM + "locale").c_str(), + init_gettext(porting::path_locale.c_str(), g_settings->get("language"), argc, argv); #else - init_gettext((porting::path_share + DIR_DELIM + "locale").c_str(), + init_gettext(porting::path_locale.c_str(), g_settings->get("language")); #endif |