diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-04-28 16:11:36 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-04-28 16:11:36 +0000 |
commit | 41f0d1feccf622636a7b9fefd0ad6235ebb8c63c (patch) | |
tree | fb278b33303b4a6bd06154177926a760b3d0a61f /navit/command.c | |
parent | fe57f914b4ab318c3dd41607e3c6c8bb5bf407de (diff) | |
download | navit-41f0d1feccf622636a7b9fefd0ad6235ebb8c63c.tar.gz |
Add:Core:Made a central entry point for translation in preparation of future changes
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5456 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/command.c')
-rw-r--r-- | navit/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/command.c b/navit/command.c index 9b21c3f10..d981c6b66 100644 --- a/navit/command.c +++ b/navit/command.c @@ -643,7 +643,7 @@ command_call_function(struct context *ctx, struct result *res) if (!strcmp(function,"_") && list && list[0] && list[0]->type >= attr_type_string_begin && list[0]->type <= attr_type_string_end) { result_free(res); res->attr.type=list[0]->type; - res->attr.u.str=g_strdup(gettext(list[0]->u.str)); + res->attr.u.str=g_strdup(navit_nls_gettext(list[0]->u.str)); res->allocated=1; } else if (!strncmp(function,"new ",4)) { |