forked from Mirrorlandia_minetest/minetest
Merge branch 'master' of github.com:erlehmann/minetest-delta
This commit is contained in:
commit
8ed83250d7
@ -1060,10 +1060,6 @@ int main(int argc, char *argv[])
|
|||||||
std::locale::global(std::locale("C"));
|
std::locale::global(std::locale("C"));
|
||||||
// This enables printing all characters in bitmap font
|
// This enables printing all characters in bitmap font
|
||||||
setlocale(LC_CTYPE, "en_US");
|
setlocale(LC_CTYPE, "en_US");
|
||||||
setlocale(LC_ALL, "");
|
|
||||||
bindtextdomain("minetest-c55", "./../locale");
|
|
||||||
textdomain("minetest-c55");
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Parse command line
|
Parse command line
|
||||||
*/
|
*/
|
||||||
@ -1136,6 +1132,10 @@ int main(int argc, char *argv[])
|
|||||||
// Create user data directory
|
// Create user data directory
|
||||||
fs::CreateDir(porting::path_userdata);
|
fs::CreateDir(porting::path_userdata);
|
||||||
|
|
||||||
|
setlocale(LC_ALL, "");
|
||||||
|
bindtextdomain("minetest-c55", (porting::path_userdata+"/locale").c_str());
|
||||||
|
textdomain("minetest-c55");
|
||||||
|
|
||||||
// Initialize debug streams
|
// Initialize debug streams
|
||||||
#ifdef RUN_IN_PLACE
|
#ifdef RUN_IN_PLACE
|
||||||
std::string debugfile = DEBUGFILE;
|
std::string debugfile = DEBUGFILE;
|
||||||
|
Loading…
Reference in New Issue
Block a user