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