diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-14 15:15:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-14 15:15:51 +0300 |
commit | 5c7ea2e2dc120107145e7314119a82654280c010 (patch) | |
tree | 5d2d9b88ac3c30907bb7bb936c65be1f7311773c /src/gui/windows/logindialog.cpp | |
parent | fc5a71f55255e7ff211efe80b33a2cd3dd89a8ea (diff) | |
download | manaverse-5c7ea2e2dc120107145e7314119a82654280c010.tar.gz manaverse-5c7ea2e2dc120107145e7314119a82654280c010.tar.bz2 manaverse-5c7ea2e2dc120107145e7314119a82654280c010.tar.xz manaverse-5c7ea2e2dc120107145e7314119a82654280c010.zip |
Add name for default server updates group.
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r-- | src/gui/windows/logindialog.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp index 355f1b26b..14c662a0d 100644 --- a/src/gui/windows/logindialog.cpp +++ b/src/gui/windows/logindialog.cpp @@ -378,8 +378,12 @@ void LoginDialog::mergeUpdateHosts() { HostsGroup group; - // TRANSLATORS: update hosts group default name - group.name = _("default"); + group.name = mServer->defaultHostName; + if (group.name.empty()) + { + // TRANSLATORS: update hosts group default name + group.name = _("default updates"); + } group.hosts = mLoginData->updateHosts; mServer->updateHosts.insert(mServer->updateHosts.begin(), group); } |