diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-18 19:32:31 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-18 19:32:31 +0100 |
commit | 389ffc1aa52e27300f36232fe83cdbb892c8ab66 (patch) | |
tree | 21d7b5d547c528f1eb7f42a77c3c70f55acc7530 /src/port | |
parent | 523bb3c6be5e55c6128a8f797637c763764af1b2 (diff) | |
download | wolfbones-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.c | 3 |
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 } |