summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-20 17:56:49 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-20 17:56:49 +0200
commit69937c342cc420d352f6f7f5c6c90383312b76d4 (patch)
treeefff8e50e488073fa25af864191b33d78c1d5bac /src/main.cpp
parent9bc701d194ea9e2bc56c1c9c473d6602e6070d60 (diff)
parent489a7ef3247f1db1f44efa2c7fbafb70c00f7812 (diff)
downloadminetest-69937c342cc420d352f6f7f5c6c90383312b76d4.tar.gz
minetest-69937c342cc420d352f6f7f5c6c90383312b76d4.tar.bz2
minetest-69937c342cc420d352f6f7f5c6c90383312b76d4.zip
Merge branch 'master' of github.com:erlehmann/minetest-delta
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 698c5fc71..1cc479d65 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -401,6 +401,8 @@ Doing currently:
#include "keycode.h"
#include "tile.h"
+#include "gettext.h"
+
// This makes textures
ITextureSource *g_texturesource = NULL;
@@ -1058,6 +1060,9 @@ int main(int argc, char *argv[])
std::locale::global(std::locale("C"));
// This enables printing all characters in bitmap font
setlocale(LC_CTYPE, "en_US");
+ setlocale(LC_ALL, "");
+ bindtextdomain("minetest-c55", "./../locale");
+ textdomain("minetest-c55");
/*
Parse command line