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/modules/modMove.c | 2 +- src/modules/modPipe.c | 4 ++-- src/modules/modTeleport.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules') diff --git a/src/modules/modMove.c b/src/modules/modMove.c index ed42886..d1c626c 100755 --- a/src/modules/modMove.c +++ b/src/modules/modMove.c @@ -59,7 +59,7 @@ static void move_tux(tux_t *tux, int x, int y, int w, int h) break; default : - assert( ! "premenna p->control ma zlu hodnotu !" ); + assert( ! _("Variable p->control has a really wierd value!") ); break; } diff --git a/src/modules/modPipe.c b/src/modules/modPipe.c index fb7eaf2..df26b80 100755 --- a/src/modules/modPipe.c +++ b/src/modules/modPipe.c @@ -176,7 +176,7 @@ static void moveShotFromPipe(shot_t *shot, pipe_t *pipe) if( distPipe == NULL ) { - fprintf(stderr, "Pipe %d ID not found\n", pipe->id); + fprintf(stderr, _("Pipe ID for pipe \"%d\" was not found\n"), pipe->id); return; } @@ -241,7 +241,7 @@ static int negPosition(int n) return TUX_UP; default : - assert( ! "premenna n ma zlu hodnotu !" ); + assert( ! _("Tux is moving in another dimension maybe!") ); break; } diff --git a/src/modules/modTeleport.c b/src/modules/modTeleport.c index 0ce27bf..61af102 100755 --- a/src/modules/modTeleport.c +++ b/src/modules/modTeleport.c @@ -187,7 +187,7 @@ static int getRandomPosition() return TUX_DOWN; } - assert( ! "Stupid error ! " ); + assert( ! _("When generating random value in range 0 to 3 i got some other value?!") ); return -1; // no warnning } -- cgit v1.2.3