Use Tip: %s in translation instead
This commit is contained in:
parent
f5f647c7ce
commit
7f32842e76
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: supertuxkart\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-12-18 14:33+0800\n"
|
||||
"POT-Creation-Date: 2019-12-25 15:22+0800\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -665,7 +665,7 @@ msgstr ""
|
||||
#. I18N: Difficulty
|
||||
#. I18N: ./data/gui/screens/race_setup.stkgui
|
||||
#. I18N: Difficulty
|
||||
#: src/race/race_manager.cpp:1173
|
||||
#: src/race/race_manager.cpp:1174
|
||||
msgid "Novice"
|
||||
msgstr ""
|
||||
|
||||
@ -677,7 +677,7 @@ msgstr ""
|
||||
#. I18N: Difficulty
|
||||
#. I18N: ./data/gui/screens/race_setup.stkgui
|
||||
#. I18N: Difficulty
|
||||
#: src/race/race_manager.cpp:1174
|
||||
#: src/race/race_manager.cpp:1175
|
||||
msgid "Intermediate"
|
||||
msgstr ""
|
||||
|
||||
@ -689,7 +689,7 @@ msgstr ""
|
||||
#. I18N: Difficulty
|
||||
#. I18N: ./data/gui/screens/race_setup.stkgui
|
||||
#. I18N: Difficulty
|
||||
#: src/race/race_manager.cpp:1175
|
||||
#: src/race/race_manager.cpp:1176
|
||||
msgid "Expert"
|
||||
msgstr ""
|
||||
|
||||
@ -701,7 +701,7 @@ msgstr ""
|
||||
#. I18N: Difficulty
|
||||
#. I18N: ./data/gui/screens/race_setup.stkgui
|
||||
#. I18N: Difficulty
|
||||
#: src/race/race_manager.cpp:1176
|
||||
#: src/race/race_manager.cpp:1177
|
||||
msgid "SuperTux"
|
||||
msgstr ""
|
||||
|
||||
@ -718,7 +718,7 @@ msgstr ""
|
||||
#. I18N: ./data/gui/screens/online/create_server.stkgui
|
||||
#. I18N: Multiplayer game mode
|
||||
#. I18N: Game mode
|
||||
#: src/network/server_config.cpp:266 src/race/race_manager.cpp:1148
|
||||
#: src/network/server_config.cpp:266 src/race/race_manager.cpp:1149
|
||||
msgid "Normal Race"
|
||||
msgstr ""
|
||||
|
||||
@ -727,7 +727,7 @@ msgstr ""
|
||||
#. I18N: ./data/gui/screens/online/create_server.stkgui
|
||||
#. I18N: Multiplayer game mode
|
||||
#. I18N: Game mode
|
||||
#: src/network/server_config.cpp:268 src/race/race_manager.cpp:1150
|
||||
#: src/network/server_config.cpp:268 src/race/race_manager.cpp:1151
|
||||
msgid "Time Trial"
|
||||
msgstr ""
|
||||
|
||||
@ -744,7 +744,7 @@ msgstr ""
|
||||
#. I18N: ./data/gui/screens/online/create_server.stkgui
|
||||
#. I18N: Multiplayer game mode
|
||||
#. I18N: Game mode
|
||||
#: src/network/server_config.cpp:270 src/race/race_manager.cpp:1162
|
||||
#: src/network/server_config.cpp:270 src/race/race_manager.cpp:1163
|
||||
msgid "Soccer"
|
||||
msgstr ""
|
||||
|
||||
@ -2024,6 +2024,12 @@ msgstr ""
|
||||
msgid "Enable per-player handicaps"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/gui/screens/options_general.stkgui
|
||||
#. I18N: For mobile version for STK, uninstall the downloaded assets
|
||||
#: src/states_screens/options/options_screen_general.cpp:108
|
||||
msgid "Uninstall full game assets"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/gui/screens/options_input.stkgui
|
||||
#. I18N: In the input configuration screen
|
||||
msgid "Press enter or double-click on a device to configure it"
|
||||
@ -2516,7 +2522,7 @@ msgstr ""
|
||||
msgid "Completed achievement \"%s\"."
|
||||
msgstr ""
|
||||
|
||||
#: src/addons/addons_manager.cpp:108 src/addons/news_manager.cpp:344
|
||||
#: src/addons/addons_manager.cpp:109 src/addons/news_manager.cpp:344
|
||||
msgid "Failed to connect to the SuperTuxKart add-ons server."
|
||||
msgstr ""
|
||||
|
||||
@ -2618,30 +2624,31 @@ msgid ""
|
||||
"created."
|
||||
msgstr ""
|
||||
|
||||
#: src/graphics/irr_driver.cpp:596
|
||||
#: src/graphics/irr_driver.cpp:599
|
||||
msgid "Video recording started."
|
||||
msgstr ""
|
||||
|
||||
#: src/graphics/irr_driver.cpp:602
|
||||
#: src/graphics/irr_driver.cpp:605
|
||||
#, c-format
|
||||
msgid "Video saved in \"%s\"."
|
||||
msgstr ""
|
||||
|
||||
#: src/graphics/irr_driver.cpp:606
|
||||
#: src/graphics/irr_driver.cpp:609
|
||||
msgid "Encoding progress:"
|
||||
msgstr ""
|
||||
|
||||
#: src/graphics/irr_driver.cpp:1839 src/graphics/irr_driver.cpp:1844
|
||||
#: src/graphics/irr_driver.cpp:1863 src/graphics/irr_driver.cpp:1868
|
||||
#, c-format
|
||||
msgid "FPS: %d/%d/%d - %d KTris, Ping: %dms"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: tip shown in gui for giving player hints
|
||||
#: src/guiengine/engine.cpp:1369 src/states_screens/race_result_gui.cpp:150
|
||||
msgid "Tip: "
|
||||
#. I18N: Tip shown in gui for giving player hints
|
||||
#: src/guiengine/engine.cpp:1376 src/states_screens/race_result_gui.cpp:151
|
||||
#, c-format
|
||||
msgid "Tip: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/guiengine/engine.cpp:1414
|
||||
#: src/guiengine/engine.cpp:1420
|
||||
msgid "Loading"
|
||||
msgstr ""
|
||||
|
||||
@ -3399,7 +3406,7 @@ msgid ""
|
||||
"game will likely still run, but in a reduced-graphics mode."
|
||||
msgstr ""
|
||||
|
||||
#: src/main_loop.cpp:423 src/network/protocols/client_lobby.cpp:101
|
||||
#: src/main_loop.cpp:430 src/network/protocols/client_lobby.cpp:101
|
||||
msgid "Server connection timed out."
|
||||
msgstr ""
|
||||
|
||||
@ -3675,7 +3682,7 @@ msgstr ""
|
||||
|
||||
#. I18N: Game mode
|
||||
#. I18N: In the create server screen for battle server
|
||||
#: src/network/server_config.cpp:274 src/race/race_manager.cpp:1156
|
||||
#: src/network/server_config.cpp:274 src/race/race_manager.cpp:1157
|
||||
#: src/states_screens/dialogs/server_configuration_dialog.cpp:160
|
||||
#: src/states_screens/online/create_server_screen.cpp:210
|
||||
#: src/states_screens/track_info_screen.cpp:256
|
||||
@ -3684,7 +3691,7 @@ msgstr ""
|
||||
|
||||
#. I18N: Game mode
|
||||
#. I18N: In the create server screen for battle server
|
||||
#: src/network/server_config.cpp:276 src/race/race_manager.cpp:1158
|
||||
#: src/network/server_config.cpp:276 src/race/race_manager.cpp:1159
|
||||
#: src/states_screens/dialogs/server_configuration_dialog.cpp:161
|
||||
#: src/states_screens/online/create_server_screen.cpp:212
|
||||
msgid "Capture The Flag"
|
||||
@ -3743,17 +3750,17 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. I18N: Game mode
|
||||
#: src/race/race_manager.cpp:1152
|
||||
#: src/race/race_manager.cpp:1153
|
||||
msgid "Follow the Leader"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: Game mode
|
||||
#: src/race/race_manager.cpp:1154 src/states_screens/track_info_screen.cpp:255
|
||||
#: src/race/race_manager.cpp:1155 src/states_screens/track_info_screen.cpp:255
|
||||
msgid "3 Strikes Battle"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: Game mode
|
||||
#: src/race/race_manager.cpp:1160
|
||||
#: src/race/race_manager.cpp:1161
|
||||
msgid "Egg Hunt"
|
||||
msgstr ""
|
||||
|
||||
@ -5337,11 +5344,6 @@ msgid ""
|
||||
"(more difficult) profiles on the kart selection screen"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: For mobile version for STK, uninstall the downloaded assets
|
||||
#: src/states_screens/options/options_screen_general.cpp:108
|
||||
msgid "Uninstall full game assets"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: For mobile version for STK, install the full game assets which
|
||||
#. will download from stk server
|
||||
#: src/states_screens/options/options_screen_general.cpp:114
|
||||
@ -5618,7 +5620,7 @@ msgid "Follow the leader!"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: When some GlobalPlayerIcons are hidden, write "Top 10" to show it
|
||||
#: src/states_screens/race_gui_base.cpp:916
|
||||
#: src/states_screens/race_gui_base.cpp:918
|
||||
#, c-format
|
||||
msgid "Top %i"
|
||||
msgstr ""
|
||||
|
@ -1371,9 +1371,9 @@ namespace GUIEngine
|
||||
#ifndef SERVER_ONLY
|
||||
if (update_tips)
|
||||
{
|
||||
//I18N: tip shown in gui for giving player hints
|
||||
g_tips_string = _("Tip: ");
|
||||
g_tips_string += TipsManager::get()->getTip("general");
|
||||
core::stringw tip = TipsManager::get()->getTip("general");
|
||||
//I18N: Tip shown in gui for giving player hints
|
||||
g_tips_string = _("Tip: %s", tip);
|
||||
}
|
||||
|
||||
if (clearIcons) g_loading_icons.clear();
|
||||
|
@ -147,8 +147,8 @@ void RaceResultGUI::init()
|
||||
#ifndef SERVER_ONLY
|
||||
if (!human_win && !NetworkConfig::get()->isNetworking())
|
||||
{
|
||||
core::stringw tips_string = _("Tip: ");
|
||||
tips_string += TipsManager::get()->getTip("race");
|
||||
core::stringw tip = TipsManager::get()->getTip("race");
|
||||
core::stringw tips_string = _("Tip: %s", tip);
|
||||
MessageQueue::add(MessageQueue::MT_GENERIC, tips_string);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user