From 9c71274e5c4cde5dd99a0eb927243f6c481df1f2 Mon Sep 17 00:00:00 2001 From: scarab Date: Mon, 18 Aug 2008 21:50:13 +0000 Subject: - 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 --- src/base/proto.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/base/proto.c') 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; } -- cgit v1.2.3