1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Use CUSTOM_LOCALEDIR if specified

This commit is contained in:
ShadowNinja 2015-08-24 14:32:15 -04:00 committed by est31
parent 31b6d26784
commit 645e208673
4 changed files with 16 additions and 4 deletions

View file

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