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 | f94a908172180c432e31136e415f02a0e39ecea4 (patch) | |
tree | fb278b33303b4a6bd06154177926a760b3d0a61f /navit/command.c | |
parent | f6d2b08159e22e995703eb166be1f2b4c1af82c4 (diff) | |
download | navit-svn-f94a908172180c432e31136e415f02a0e39ecea4.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 9b21c3f1..d981c6b6 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)) { |