mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Fix detection of in-place path_locale when RUN_IN_PLACE=0
broken by 2349d31bae
(side effect)
fixes #9745
This commit is contained in:
@@ -217,7 +217,10 @@ void init_gettext(const char *path, const std::string &configured_language,
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static std::string name = lowercase(PROJECT_NAME);
|
||||
std::string name = lowercase(PROJECT_NAME);
|
||||
infostream << "Gettext: domainname=\"" << name
|
||||
<< "\" path=\"" << path << "\"" << std::endl;
|
||||
|
||||
bindtextdomain(name.c_str(), path);
|
||||
textdomain(name.c_str());
|
||||
|
||||
|
Reference in New Issue
Block a user