diff options
| author | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-19 13:14:50 +0000 |
|---|---|---|
| committer | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-19 13:14:50 +0000 |
| commit | bf656372e13890749d564cffbb75cd5f5cb61333 (patch) | |
| tree | f1789003b07057cba038c406c977af7049d52c47 /src | |
| parent | 0b46b4a8f07575138e9c2d5fb051834a8ecb9cd8 (diff) | |
- par zmen pro gettext
- nechapu proc to nebere preklady
git-svn-id: http://opensvn.csie.org/tuxanci_ng@226 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src')
| -rw-r--r-- | src/base/main.c | 6 | ||||
| -rw-r--r-- | src/base/path.h.in | 2 | ||||
| -rwxr-xr-x | src/modules/modPipe.c | 4 | ||||
| -rwxr-xr-x | src/modules/modTeleport.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/base/main.c b/src/base/main.c index 4df8da1..62f433a 100644 --- a/src/base/main.c +++ b/src/base/main.c @@ -132,9 +132,9 @@ int main(int argc, char *argv[]) #ifdef NLS setlocale( LC_ALL, "" ); - bindtextdomain( "tuxanci", PATH_LOCALE); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - textdomain( "tuxanci" ); + bindtextdomain( PACKAGE, PATH_LOCALE); + bind_textdomain_codeset (PACKAGE, "UTF-8"); + textdomain( PACKAGE ); #endif #ifndef __WIN32__ my_argc = argc; diff --git a/src/base/path.h.in b/src/base/path.h.in index cf4e47d..ff0502d 100644 --- a/src/base/path.h.in +++ b/src/base/path.h.in @@ -24,6 +24,6 @@ #define PATH_MUSIC PATH_DIR "music/" #define PATH_LOCALE "@CMAKE_LOCALE_PATH@" "/" #define PATH_DOC "@CMAKE_DOC_PATH@" "/" APPNAME "-" "@TUXANCI_VERSION@" "/" - #define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@" + #define PACKAGE "tuxanci" #include "main.h" #endif diff --git a/src/modules/modPipe.c b/src/modules/modPipe.c index df26b80..efe3b7a 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 ID for pipe \"%d\" was 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( ! _("Tux is moving in another dimension maybe!") ); + assert( ! "Tux is moving in another dimension maybe!" ); break; } diff --git a/src/modules/modTeleport.c b/src/modules/modTeleport.c index 61af102..dfd983a 100755 --- a/src/modules/modTeleport.c +++ b/src/modules/modTeleport.c @@ -187,7 +187,7 @@ static int getRandomPosition() return TUX_DOWN; } - assert( ! _("When generating random value in range 0 to 3 i got some other value?!") ); + assert( ! "When generating random value in range 0 to 3 i got some other value?!" ); return -1; // no warnning } |