diff --git a/po/minetest.pot b/po/minetest.pot index b4ae8ee..b193802 100644 --- a/po/minetest.pot +++ b/po/minetest.pot @@ -485,3 +485,43 @@ msgid "" "- ESC: This menu\n" "- T: Chat\n" msgstr "" + +#: game.cpp:702 +msgid "Loading..." +msgstr "" + +#: game.cpp:710 +msgid "Creating server..." +msgstr "" + +#: game.cpp:720 +msgid "Creating client..." +msgstr "" + +#: game.cpp:725 +msgid "Resolving address..." +msgstr "" + +#: game.cpp:738 +msgid "Couldn't resolve address" +msgstr "" + +#: game.cpp:774 +msgid "Connecting to server... (timeout in " +msgstr "" + +#: game.cpp:776 +msgid " seconds)" +msgstr "" + +#: game.cpp:803 game.cpp:978 +msgid "Access denied. Reason: " +msgstr "" + +#: game.cpp:809 +msgid "Connection timed out." +msgstr "" + +#: game.cpp:2381 +msgid "Shutting down stuff..." +msgstr "" diff --git a/src/game.cpp b/src/game.cpp index d666dbc..d81223f 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -699,7 +699,7 @@ void the_game( /*gui::IGUIStaticText *gui_loadingtext = */ //draw_load_screen(L"Loading and connecting...", driver, font); - draw_load_screen(L"Loading...", driver, font); + draw_load_screen(wgettext("Loading..."), driver, font); /* Create server. @@ -707,7 +707,7 @@ void the_game( */ SharedPtr server; if(address == ""){ - draw_load_screen(L"Creating server...", driver, font); + draw_load_screen(wgettext("Creating server..."), driver, font); infostream<<"Creating server"<start(port); @@ -717,12 +717,12 @@ void the_game( Create client */ - draw_load_screen(L"Creating client...", driver, font); + draw_load_screen(wgettext("Creating client..."), driver, font); infostream<<"Creating client"<remove(); return; } @@ -771,9 +771,9 @@ void the_game( } std::wostringstream ss; - ss<remove(); @@ -975,7 +975,7 @@ void the_game( if(client.accessDenied()) { - error_message = L"Access denied. Reason: " + error_message = wgettext("Access denied. Reason: ") +client.accessDeniedReason(); errorstream<beginScene(true, true, video::SColor(255,0,0,0)); guienv->drawAll(); driver->endScene();