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/net_multiplayer.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/base/net_multiplayer.c') diff --git a/src/base/net_multiplayer.c b/src/base/net_multiplayer.c index a2ec849..f7d54eb 100644 --- a/src/base/net_multiplayer.c +++ b/src/base/net_multiplayer.c @@ -58,7 +58,7 @@ int initNetMuliplayer(int type, char *ip, int port, int proto) case PROTO_UDPv4 : if( initServer(ip, port, NULL, 0) != 1 ) { - fprintf(stderr, "Unable to inicialize network game as server!\n"); + fprintf(stderr, _("Unable to inicialize network game as server!\n")); netGameType = NET_GAME_TYPE_NONE; return -1; } @@ -66,7 +66,7 @@ int initNetMuliplayer(int type, char *ip, int port, int proto) case PROTO_UDPv6 : if( initServer(NULL, 0, ip, port) != 1 ) { - fprintf(stderr, "Unable to inicialize network game as server!\n"); + fprintf(stderr, _("Unable to inicialize network game as server!\n")); netGameType = NET_GAME_TYPE_NONE; return -1; } @@ -78,14 +78,14 @@ int initNetMuliplayer(int type, char *ip, int port, int proto) case NET_GAME_TYPE_CLIENT : if( initClient(ip, port, proto) != 0 ) { - fprintf(stderr, "Unable to inicialize network game as client!\n"); + fprintf(stderr, _("Unable to inicialize network game as client!\n")); netGameType = NET_GAME_TYPE_NONE; return -1; } break; #endif default : - assert( ! "Premenna netGameType ma zlu hodnotu !" ); + assert( ! _("Variable netGameType has a really wierd value!") ); break; } @@ -109,7 +109,7 @@ void eventNetMultiplayer() break; #endif default : - assert( ! "Premenna netGameType ma zlu hodnotu !" ); + assert( ! _("Variable netGameType has a really wierd value!") ); break; } } @@ -131,7 +131,7 @@ void quitNetMultiplayer() break; #endif default : - assert( ! "Premenna netGameType ma zlu hodnotu !" ); + assert( ! _("Variable netGameType has a really wierd value!") ); break; } -- cgit v1.2.3