summaryrefslogtreecommitdiff
path: root/src/net/eathena/generalrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-04 15:44:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-04 16:24:42 +0300
commitbc2c095db69be01837d07af1151b0f0a3061713f (patch)
tree98009b4483d873f45f7b4f2897a4a7ba5118d39e /src/net/eathena/generalrecv.cpp
parent9b5b48739b62fca4bb30cd04be1031ac3f80095d (diff)
downloadmanaverse-bc2c095db69be01837d07af1151b0f0a3061713f.tar.gz
manaverse-bc2c095db69be01837d07af1151b0f0a3061713f.tar.bz2
manaverse-bc2c095db69be01837d07af1151b0f0a3061713f.tar.xz
manaverse-bc2c095db69be01837d07af1151b0f0a3061713f.zip
Add missing TRANSLATORS comments to translation strings.
Diffstat (limited to 'src/net/eathena/generalrecv.cpp')
-rw-r--r--src/net/eathena/generalrecv.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/net/eathena/generalrecv.cpp b/src/net/eathena/generalrecv.cpp
index 3b67b32e2..48e079d09 100644
--- a/src/net/eathena/generalrecv.cpp
+++ b/src/net/eathena/generalrecv.cpp
@@ -45,94 +45,122 @@ void GeneralRecv::processConnectionProblem(Net::MessageIn &msg)
switch (code)
{
case 0:
+ // TRANSLATORS: error message
errorMessage = _("Authentication failed.");
break;
case 1:
+ // TRANSLATORS: error message
errorMessage = _("No servers available.");
break;
case 2:
if (client->getState() == State::GAME)
{
+ // TRANSLATORS: error message
errorMessage = _("Someone else is trying to use "
"this account.");
}
else
{
+ // TRANSLATORS: error message
errorMessage = _("This account is already logged in.");
}
break;
case 3:
+ // TRANSLATORS: error message
errorMessage = _("Speed hack detected.");
break;
case 4:
+ // TRANSLATORS: error message
errorMessage = _("Server full.");
break;
case 5:
+ // TRANSLATORS: error message
errorMessage = _("Sorry, you are underaged.");
break;
case 8:
+ // TRANSLATORS: error message
errorMessage = _("Duplicated login.");
break;
case 9:
+ // TRANSLATORS: error message
errorMessage = _("To many connections from same ip.");
break;
case 10:
+ // TRANSLATORS: error message
errorMessage = _("Not paid for this time.");
break;
case 11:
+ // TRANSLATORS: error message
errorMessage = _("Pay suspended.");
break;
case 12:
+ // TRANSLATORS: error message
errorMessage = _("Pay changed.");
break;
case 13:
+ // TRANSLATORS: error message
errorMessage = _("Pay wrong ip.");
break;
case 14:
+ // TRANSLATORS: error message
errorMessage = _("Pay game room.");
break;
case 15:
+ // TRANSLATORS: error message
errorMessage = _("Disconnect forced by GM.");
break;
case 16:
case 17:
+ // TRANSLATORS: error message
errorMessage = _("Ban japan refuse.");
break;
case 18:
+ // TRANSLATORS: error message
errorMessage = _("Remained other account.");
break;
case 100:
+ // TRANSLATORS: error message
errorMessage = _("Ip unfair.");
break;
case 101:
+ // TRANSLATORS: error message
errorMessage = _("Ip count all.");
break;
case 102:
+ // TRANSLATORS: error message
errorMessage = _("Ip count.");
break;
case 103:
case 104:
+ // TRANSLATORS: error message
errorMessage = _("Memory.");
break;
case 105:
+ // TRANSLATORS: error message
errorMessage = _("Han valid.");
break;
case 106:
+ // TRANSLATORS: error message
errorMessage = _("Ip limited access.");
break;
case 107:
+ // TRANSLATORS: error message
errorMessage = _("Over characters list.");
break;
case 108:
+ // TRANSLATORS: error message
errorMessage = _("Ip blocked.");
break;
case 109:
+ // TRANSLATORS: error message
errorMessage = _("Invalid password count.");
break;
case 110:
+ // TRANSLATORS: error message
errorMessage = _("Not allowed race.");
break;
default:
+ // TRANSLATORS: error message
errorMessage = _("Unknown connection error.");
break;
}
@@ -143,6 +171,7 @@ void GeneralRecv::processMapNotFound(Net::MessageIn &msg)
{
const int sz = msg.readInt16("len") - 4;
msg.readString(sz, "map name?");
+ // TRANSLATORS: error message
errorMessage = _("Map not found");
client->setState(State::ERROR);
}