Change network errors message

This commit is contained in:
Eduardo Bart
2013-02-21 17:31:47 -03:00
parent 90d2032e9e
commit 5b573afdfc
3 changed files with 24 additions and 10 deletions

View File

@@ -111,7 +111,8 @@ end
function onGameConnectionError(message, code)
CharacterList.destroyLoadBox()
errorBox = displayErrorBox(tr("Connection Error"), message)
local text = tr('Your connection has been lost. (err: %d)', code)
errorBox = displayErrorBox(tr("Connection Error"), text)
errorBox.onOk = function()
errorBox = nil
CharacterList.showAgain()