Dont search for locale folders if gettext is disabled (#6133)
If gettext is disabled, it is defined as 0.mutilcraft-mt53
parent
0b3a8deb2c
commit
32b68de65a
|
@ -556,7 +556,7 @@ void initializePaths()
|
||||||
infostream << "Detected user path: " << path_user << std::endl;
|
infostream << "Detected user path: " << path_user << std::endl;
|
||||||
infostream << "Detected cache path: " << path_cache << std::endl;
|
infostream << "Detected cache path: " << path_cache << std::endl;
|
||||||
|
|
||||||
#ifdef USE_GETTEXT
|
#if USE_GETTEXT
|
||||||
bool found_localedir = false;
|
bool found_localedir = false;
|
||||||
# ifdef STATIC_LOCALEDIR
|
# ifdef STATIC_LOCALEDIR
|
||||||
if (STATIC_LOCALEDIR[0] && fs::PathExists(STATIC_LOCALEDIR)) {
|
if (STATIC_LOCALEDIR[0] && fs::PathExists(STATIC_LOCALEDIR)) {
|
||||||
|
|
Loading…
Reference in New Issue