diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-04-28 16:43:18 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-04-28 16:43:18 +0000 |
commit | 605f05bd9630ab5d7bdc8bcd4bce432d14627e58 (patch) | |
tree | 716c661abfc09710f64055805e59fb25d65592c0 /navit/main.c | |
parent | 1d94c3c46190ca91a043a141ed25ec1fa8015a5f (diff) | |
download | navit-605f05bd9630ab5d7bdc8bcd4bce432d14627e58.tar.gz |
Add:Core:Allow multiple text domains for navit translations
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5458 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/main.c')
-rw-r--r-- | navit/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/navit/main.c b/navit/main.c index 90172f2ca..97af2c597 100644 --- a/navit/main.c +++ b/navit/main.c @@ -421,8 +421,7 @@ main_init_nls(void) #define STRINGIFY(x) STRINGIFY2(x) setlocale(LC_MESSAGES,STRINGIFY(FORCE_LOCALE)); #endif - bindtextdomain(PACKAGE, getenv("NAVIT_LOCALEDIR")); - bind_textdomain_codeset (PACKAGE, "UTF-8"); + navit_nls_add_textdomain(PACKAGE, getenv("NAVIT_LOCALEDIR")); textdomain(PACKAGE); #endif } |