Use a uniform translated timed out string

This commit is contained in:
Benau
2018-03-12 11:38:37 +08:00
parent d527c0eee2
commit 93c910f18b
2 changed files with 2 additions and 1 deletions

View File

@@ -336,7 +336,7 @@ void MainLoop::run()
STKHost::get()->requestedShutdown())
{
SFXManager::get()->quickSound("anvil");
core::stringw msg = _("Connection to server is lost.");
core::stringw msg = _("Server connection timed out.");
if (!STKHost::get()->getErrorMessage().empty())
{
msg = STKHost::get()->getErrorMessage();

View File

@@ -270,6 +270,7 @@ bool ClientLobby::notifyEventAsynchronous(Event* event)
case LE_VOTE_REVERSE: playerReversedVote(event); break;
case LE_VOTE_LAPS: playerLapsVote(event); break;
case LE_SERVER_OWNERSHIP: becomingServerOwner(); break;
default: break;
} // switch
return true;