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

Revert "Only lowercase project name at compile time"

This reverts commit 3be9787e64.
This commit is contained in:
sfan5 2015-04-26 22:24:48 +02:00
parent 415167b228
commit 558d715bf6
4 changed files with 11 additions and 11 deletions

View file

@ -236,8 +236,9 @@ void init_gettext(const char *path, const std::string &configured_language) {
#endif
#endif
bindtextdomain(PROJECT_NAME_LOWER, path);
textdomain(PROJECT_NAME_LOWER);
static std::string name = lowercase(PROJECT_NAME);
bindtextdomain(name.c_str(), path);
textdomain(name.c_str());
#if defined(_WIN32)
// Set character encoding for Win32