diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-20 17:56:49 +0200 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-20 17:56:49 +0200 |
commit | e5dc58e7103d46298bbca66b0a6a7d9d61146e7e (patch) | |
tree | 37a072a5dc51a2f6e77cc8ff434e73565f45170c /src/main.cpp | |
parent | 3c630c0d90a8d997475c07bc52781126e5f531e6 (diff) | |
parent | cef7bb06195f3923f5c47547b48fe6e6e51c932d (diff) | |
download | minetest-e5dc58e7103d46298bbca66b0a6a7d9d61146e7e.tar.gz minetest-e5dc58e7103d46298bbca66b0a6a7d9d61146e7e.tar.bz2 minetest-e5dc58e7103d46298bbca66b0a6a7d9d61146e7e.zip |
Merge branch 'master' of github.com:erlehmann/minetest-delta
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
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
|