summaryrefslogtreecommitdiff
path: root/src/port
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-18 19:32:31 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-18 19:32:31 +0100
commit389ffc1aa52e27300f36232fe83cdbb892c8ab66 (patch)
tree21d7b5d547c528f1eb7f42a77c3c70f55acc7530 /src/port
parent523bb3c6be5e55c6128a8f797637c763764af1b2 (diff)
downloadwolfbones-389ffc1aa52e27300f36232fe83cdbb892c8ab66.tar.gz
wolfbones-389ffc1aa52e27300f36232fe83cdbb892c8ab66.tar.bz2
testd/libwolf.mo start to work in testd
Diffstat (limited to 'src/port')
-rw-r--r--src/port/gettext.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/port/gettext.c b/src/port/gettext.c
index e37de24..3d4e052 100644
--- a/src/port/gettext.c
+++ b/src/port/gettext.c
@@ -37,8 +37,11 @@ void wolf_port_initialize_i18n( const char *argv0, const char *app ) {
localedir = getenv( "WOLFLOCALEDIR" );
}
+#if ENABLE_NLS
/* respect locale setting from the shell */
setlocale( LC_ALL, "" );
+ textdomain( app );
bindtextdomain( app, localedir );
+#endif
}