aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-30 23:08:52 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-30 23:08:52 +0200
commitc01c487c6226cbe72e63a7cd5519a5c87aa10f71 (patch)
tree8f6cd03c1d9b387f528ca5c83d92af6bb451f89c /src
parentf4d7530587cf0c71d51ee08e7f78bbaf70bd8b9e (diff)
parent2f6e93192178e96303f11ecf783f0de36ddebeb3 (diff)
downloadminetest-c01c487c6226cbe72e63a7cd5519a5c87aa10f71.tar.gz
minetest-c01c487c6226cbe72e63a7cd5519a5c87aa10f71.tar.bz2
minetest-c01c487c6226cbe72e63a7cd5519a5c87aa10f71.zip
Merge branch 'master' of github.com:erlehmann/minetest-delta
Diffstat (limited to 'src')
-rw-r--r--src/gettext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gettext.h b/src/gettext.h
index 3413f3806..b62421c78 100644
--- a/src/gettext.h
+++ b/src/gettext.h
@@ -13,6 +13,10 @@
inline void init_gettext(const char *path) {
#if USE_GETTEXT
+ #if MSVC
+ #else
+ setlocale(LC_MESSAGES, "");
+ #endif
bindtextdomain(PROJECT_NAME, path);
textdomain(PROJECT_NAME);
#endif