Use a prettier tag for recommended servers

This commit is contained in:
Benau 2019-04-11 14:09:14 +08:00
parent c905447a4b
commit 0cbb8e4385
4 changed files with 13 additions and 41 deletions

View File

@ -168,7 +168,7 @@ By default STK servers use port `2759`. For example, in Ubuntu based distributio
You may also need to handle the server discovery port `2757` for connecting your WAN server in LAN / localhost.
Notice: You don't need to make any firewall or router configuration changes if you connect to our trusted servers.
Notice: You don't need to make any firewall or router configuration changes if you connect to the recommended servers (marked with ☆★STK★☆).
### Hosting LAN (local internet) server
Everything is basically the same as WAN one, except you don't need an stk online account, just do:

View File

@ -33,7 +33,7 @@
<spacer width="25" height="25"/>
<bubble proportion="1" height="100%"
I18N="In the help menu"
text="First, select the 'online' icon in the main menu. Choose either local networking, or global networking (requires internet to be enabled in the options). Then, you can either create your own server with custom options, or search among a list of existing servers to join. Some of them are trusted servers with optionally ranked races."/>
text="First, select the 'online' icon in the main menu. Choose either local networking, or global networking (requires internet to be enabled in the options). Then, you can either create your own server with custom options, or search among a list of existing servers to join. Some of them are recommended servers with optionally ranked races."/>
</div>
<div width="100%" proportion="2" layout="horizontal-row">

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: supertuxkart\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-07 10:22+0800\n"
"POT-Creation-Date: 2019-04-11 13:33+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"
@ -1526,8 +1526,8 @@ msgid ""
"First, select the 'online' icon in the main menu. Choose either local "
"networking, or global networking (requires internet to be enabled in the "
"options). Then, you can either create your own server with custom options, "
"or search among a list of existing servers to join. Some of them are trusted "
"servers with optionally ranked races."
"or search among a list of existing servers to join. Some of them are "
"recommended servers with optionally ranked races."
msgstr ""
#. I18N: ./data/gui/screens/help7.stkgui
@ -3323,11 +3323,11 @@ msgid_plural "%i spare tire karts have been spawned!"
msgstr[0] ""
msgstr[1] ""
#: src/modes/world.cpp:1301
#: src/modes/world.cpp:1303
msgid "You have been eliminated!"
msgstr ""
#: src/modes/world.cpp:1308
#: src/modes/world.cpp:1310
#, c-format
msgid "'%s' has been eliminated."
msgstr ""
@ -3502,7 +3502,7 @@ msgstr ""
msgid "No quick play server available."
msgstr ""
#: src/network/protocols/connect_to_server.cpp:283
#: src/network/protocols/connect_to_server.cpp:290
#, c-format
msgid "Cannot connect to server %s."
msgstr ""
@ -3532,19 +3532,6 @@ msgstr ""
msgid "Capture The Flag"
msgstr ""
#. I18N: Official means this server is hosted by STK team
#: src/network/server.cpp:110
msgid "Official"
msgstr ""
#. I18N: Trusted means this server is trusted by team to not
#. doing any modification on server side, so players playing
#. in this server will not meet cheaters, and trusted server
#. will optionally host a ranked matching game
#: src/network/server.cpp:122
msgid "Trusted"
msgstr ""
#: src/online/online_player_profile.cpp:434
#, c-format
msgid "%s is now online."
@ -4610,11 +4597,11 @@ msgstr ""
msgid "You completed a challenge!"
msgstr ""
#: src/states_screens/grand_prix_win.cpp:320
#: src/states_screens/grand_prix_win.cpp:319
msgid "You won the Grand Prix!"
msgstr ""
#: src/states_screens/grand_prix_win.cpp:321
#: src/states_screens/grand_prix_win.cpp:320
msgid "You completed the Grand Prix!"
msgstr ""
@ -4772,7 +4759,7 @@ msgstr ""
#. I18N: In kart screen, show before the voting period in network ends.
#: src/states_screens/online/network_kart_selection.cpp:183
#: src/states_screens/online/tracks_screen.cpp:847
#: src/states_screens/online/tracks_screen.cpp:856
#, c-format
msgid "Remaining time: %d"
msgstr ""

View File

@ -104,23 +104,8 @@ Server::Server(const XMLNode& server_info) : m_supports_encrytion(true)
xml.get("official", &m_official);
if (m_official)
{
// TODO: I'll leave this string in so that we don't lose
// the translations already done, to be fixed as part of #3691
// I18N: Official means this server is hosted by STK team
m_server_owner_name = _("Official");
// TODO: temporary work around for #3691: for now call all
// 'official' server 'trusted' (since most trusted servers are
// not operated by us). #3691 will introduce the various states
// required to properly distinguish between trusted, ranked,
// and official servers.
// I18N: Trusted means this server is trusted by team to not
// doing any modification on server side, so players playing
// in this server will not meet cheaters, and trusted server
// will optionally host a ranked matching game
m_server_owner_name = _("Trusted");
m_server_owner_lower_case_name = "trusted";
m_server_owner_name = L"\u2606\u2605STK\u2605\u2606";
m_server_owner_lower_case_name = "stk";
return;
}