diff options
| author | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-18 21:50:13 +0000 |
|---|---|---|
| committer | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-18 21:50:13 +0000 |
| commit | 9c71274e5c4cde5dd99a0eb927243f6c481df1f2 (patch) | |
| tree | 17d77f14943b7f463145a5550330b56f0ea9548b /src/server/publicServer.c | |
| parent | 9acea18a3a920b781414ba44e1e1651ea760867b (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/server/publicServer.c')
| -rw-r--r-- | src/server/publicServer.c | 13 |
1 files changed, 8 insertions, 5 deletions
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); |