summaryrefslogtreecommitdiff
path: root/src/base/proto.c
diff options
context:
space:
mode:
authorscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-18 21:50:13 +0000
committerscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-18 21:50:13 +0000
commit9c71274e5c4cde5dd99a0eb927243f6c481df1f2 (patch)
tree17d77f14943b7f463145a5550330b56f0ea9548b /src/base/proto.c
parent9acea18a3a920b781414ba44e1e1651ea760867b (diff)
- hromada preklapeni na gettext
- zbyva odstranit language funkci - pak uz zbyva pouze rozchodit uplne gettext a vyrobit preklady git-svn-id: http://opensvn.csie.org/tuxanci_ng@222 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base/proto.c')
-rw-r--r--src/base/proto.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/proto.c b/src/base/proto.c
index 6c4113f..646b550 100644
--- a/src/base/proto.c
+++ b/src/base/proto.c
@@ -64,13 +64,13 @@ void proto_recv_error_client(char *msg)
{
return;
}
-
- printf("proto error code %d\n", errorcode);
-
+#ifdef DEBUG
+ printf(_("Proto error code: \"%d\"\n"), errorcode);
+#endif
switch(errorcode)
{
case PROTO_ERROR_CODE_BAD_VERSION :
- setMsgToAnalyze(getMyText("ERROR_BAD_VERSION"));
+ setMsgToAnalyze(_("Version of your client isn't supported by the server."));
setWorldEnd();
break;
}