summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/base/main.c6
-rw-r--r--src/base/path.h.in2
-rwxr-xr-xsrc/modules/modPipe.c4
-rwxr-xr-xsrc/modules/modTeleport.c2
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
}