X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fmain.cpp;h=0001d33ecb71caa8855dcd4f39848c4684638d97;hb=423109e64c9e723f9f2a52e3537892f584383865;hp=b6a53566e3f92e39fee6418bf810475916d4c049;hpb=bca3de3d0847bd5b27436dbe9cc580def837c4e0;p=dragonfireclient.git diff --git a/src/main.cpp b/src/main.cpp index b6a53566e..0001d33ec 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1132,10 +1132,8 @@ 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"); - + init_gettext((porting::path_userdata+"/locale").c_str()); + // Initialize debug streams #ifdef RUN_IN_PLACE std::string debugfile = DEBUGFILE; @@ -1155,7 +1153,7 @@ int main(int argc, char *argv[]) BEGIN_DEBUG_EXCEPTION_HANDLER // Print startup message - dstream<