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/server/publicServer.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/server/publicServer.c') diff --git a/src/server/publicServer.c b/src/server/publicServer.c index e3df462..f26b25b 100644 --- a/src/server/publicServer.c +++ b/src/server/publicServer.c @@ -244,7 +244,7 @@ int initPublicServer() if( ret < 0 ) { - fprintf(stderr, "I down open log file !\n"); + fprintf(stderr, _("I was unable to open config file!\n")); return -1; } @@ -265,7 +265,7 @@ int initPublicServer() if( ret < 0 ) { - printf("Unable to initialize network socket!\n"); + printf(_("Unable to initialize network socket!\n")); return -1; } @@ -273,7 +273,7 @@ int initPublicServer() if (registerPublicServer() < 0) { - printf("Unable to contact MasterServer!\n"); + printf(_("Unable to contact MasterServer!)\n"); } return 0; @@ -317,14 +317,17 @@ void eventPublicServer() void my_handler_quit(int n) { +#ifdef DEBUG printf("my_handler_quit\n"); +#endif isSignalEnd = TRUE; } void quitPublicServer() { - printf("quit public server\n"); - +#ifdef DEBUG + printf(_("Quitting public server\n")); +#endif quitNetMultiplayer(); destroyArena(arena); -- cgit v1.2.3