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:
parent
31b6d26784
commit
645e208673
4 changed files with 16 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue