summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-18 21:50:13 +0000
committerscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-18 21:50:13 +0000
commit9c71274e5c4cde5dd99a0eb927243f6c481df1f2 (patch)
tree17d77f14943b7f463145a5550330b56f0ea9548b /src/modules
parent9acea18a3a920b781414ba44e1e1651ea760867b (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/modules')
-rwxr-xr-xsrc/modules/modMove.c2
-rwxr-xr-xsrc/modules/modPipe.c4
-rwxr-xr-xsrc/modules/modTeleport.c2
3 files changed, 4 insertions, 4 deletions
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
}