mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 11:33:44 +01:00
Fix GetText translation loading
This commit is contained in:
parent
30075467b8
commit
5659434d32
@ -236,8 +236,9 @@ void init_gettext(const char *path, const std::string &configured_language) {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bindtextdomain(PROJECT_NAME, path);
|
static const char *name = lowercase(PROJECT_NAME).c_str();
|
||||||
textdomain(PROJECT_NAME);
|
bindtextdomain(name, path);
|
||||||
|
textdomain(name);
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
// Set character encoding for Win32
|
// Set character encoding for Win32
|
||||||
|
Loading…
Reference in New Issue
Block a user