diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-03 12:33:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-03 12:51:43 +0300 |
commit | 04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (patch) | |
tree | 05df787f04d3d59a6d3c0711a895d77018d84b6b /src/net/ea/loginhandler.cpp | |
parent | a3855d22fce6a33ace394f50f33571e489bab299 (diff) | |
download | manaplus-04fbf07c41bf78dea11aa9b7098c80f0da3801e3.tar.gz manaplus-04fbf07c41bf78dea11aa9b7098c80f0da3801e3.tar.bz2 manaplus-04fbf07c41bf78dea11aa9b7098c80f0da3801e3.tar.xz manaplus-04fbf07c41bf78dea11aa9b7098c80f0da3801e3.zip |
add comments for translators.
Diffstat (limited to 'src/net/ea/loginhandler.cpp')
-rw-r--r-- | src/net/ea/loginhandler.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp index c50f76cdd..2632aeb3b 100644 --- a/src/net/ea/loginhandler.cpp +++ b/src/net/ea/loginhandler.cpp @@ -148,15 +148,19 @@ void LoginHandler::procecessCharPasswordResponse(Net::MessageIn &msg) const { case 0: errorMessage = + // TRANSLATORS: error message _("Account was not found. Please re-login."); break; case 2: + // TRANSLATORS: error message errorMessage = _("Old password incorrect."); break; case 3: + // TRANSLATORS: error message errorMessage = _("New password too short."); break; default: + // TRANSLATORS: error message errorMessage = _("Unknown error."); break; } @@ -229,26 +233,33 @@ void LoginHandler::processLoginError(Net::MessageIn &msg) const switch (code) { case 0: + // TRANSLATORS: error message errorMessage = _("Unregistered ID."); break; case 1: + // TRANSLATORS: error message errorMessage = _("Wrong password."); LoginDialog::savedPassword.clear(); break; case 2: + // TRANSLATORS: error message errorMessage = _("Account expired."); break; case 3: + // TRANSLATORS: error message errorMessage = _("Rejected from server."); break; case 4: + // TRANSLATORS: error message errorMessage = _("You have been permanently banned from " "the game. Please contact the GM team."); break; case 5: + // TRANSLATORS: error message errorMessage = _("Client too old."); break; case 6: + // TRANSLATORS: error message errorMessage = strprintf(_("You have been temporarily " "banned from the game until " "%s.\nPlease contact the GM " @@ -256,21 +267,27 @@ void LoginHandler::processLoginError(Net::MessageIn &msg) const msg.readString(20).c_str()); break; case 7: + // TRANSLATORS: error message errorMessage = _("Server overpopulated."); break; case 9: + // TRANSLATORS: error message errorMessage = _("This user name is already taken."); break; case 10: + // TRANSLATORS: error message errorMessage = _("Wrong name."); break; case 11: + // TRANSLATORS: error message errorMessage = _("Incorrect email."); break; case 99: + // TRANSLATORS: error message errorMessage = _("Username permanently erased."); break; default: + // TRANSLATORS: error message errorMessage = _("Unknown error."); break; } |