mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 10:23:47 +01:00
@ -13,6 +13,10 @@
|
|||||||
|
|
||||||
inline void init_gettext(const char *path) {
|
inline void init_gettext(const char *path) {
|
||||||
#if USE_GETTEXT
|
#if USE_GETTEXT
|
||||||
|
#if MSVC
|
||||||
|
#else
|
||||||
|
setlocale(LC_MESSAGES, "");
|
||||||
|
#endif
|
||||||
bindtextdomain(PROJECT_NAME, path);
|
bindtextdomain(PROJECT_NAME, path);
|
||||||
textdomain(PROJECT_NAME);
|
textdomain(PROJECT_NAME);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user