Skip to content
Snippets Groups Projects
Commit 2732dac3 authored by Nils Dagsson Moskopp's avatar Nils Dagsson Moskopp
Browse files

Merge branch 'master' of github.com:erlehmann/minetest-delta

parents 84b85964 0f10fc0c
No related branches found
No related tags found
No related merge requests found
......@@ -1060,10 +1060,6 @@ 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
*/
......@@ -1135,6 +1131,10 @@ int main(int argc, char *argv[])
// Create user data directory
fs::CreateDir(porting::path_userdata);
setlocale(LC_ALL, "");
bindtextdomain("minetest-c55", (porting::path_userdata+"/locale").c_str());
textdomain("minetest-c55");
// Initialize debug streams
#ifdef RUN_IN_PLACE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment