mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-29 12:15:18 +01:00
Only lowercase project name at compile time
This commit is contained in:
@@ -236,9 +236,8 @@ void init_gettext(const char *path, const std::string &configured_language) {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static std::string name = lowercase(PROJECT_NAME);
|
||||
bindtextdomain(name.c_str(), path);
|
||||
textdomain(name.c_str());
|
||||
bindtextdomain(PROJECT_NAME_LOWER, path);
|
||||
textdomain(PROJECT_NAME_LOWER);
|
||||
|
||||
#if defined(_WIN32)
|
||||
// Set character encoding for Win32
|
||||
|
||||
Reference in New Issue
Block a user