For now rename 'official' servers to 'trusted' (#3745)

* For now rename 'official' servers to 'truster', to make it more
obvious what the STK team does not operate those servers.

* Removed left-over-unfinished-duplicated comment :)
This commit is contained in:
hiker 2019-02-09 17:50:42 +11:00 committed by Benau
parent 548a946de8
commit 8ebb0b2e9a

View File

@ -104,9 +104,18 @@ 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");
m_server_owner_lower_case_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.
m_server_owner_name = _("Trusted");
m_server_owner_lower_case_name = "trusted";
return;
}