summaryrefslogtreecommitdiff
path: root/navit/navigation.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-04-28 16:11:36 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-04-28 16:11:36 +0000
commit41f0d1feccf622636a7b9fefd0ad6235ebb8c63c (patch)
treefb278b33303b4a6bd06154177926a760b3d0a61f /navit/navigation.c
parentfe57f914b4ab318c3dd41607e3c6c8bb5bf407de (diff)
downloadnavit-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/navigation.c')
-rw-r--r--navit/navigation.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/navit/navigation.c b/navit/navigation.c
index 201474835..fcec55d2a 100644
--- a/navit/navigation.c
+++ b/navit/navigation.c
@@ -464,14 +464,14 @@ get_distance(struct navigation *nav, int dist, enum attr_type type, int is_lengt
}
if (imperial) {
if (is_length)
- return g_strdup_printf(ngettext("one mile","%d miles", dist/1000), dist/1000);
+ return g_strdup_printf(navit_nls_ngettext("one mile","%d miles", dist/1000), dist/1000);
else
- return g_strdup_printf(ngettext("in one mile","in %d miles", dist/1000), dist/1000);
+ return g_strdup_printf(navit_nls_ngettext("in one mile","in %d miles", dist/1000), dist/1000);
} else {
if (is_length)
- return g_strdup_printf(ngettext("one kilometer","%d kilometers", dist/1000), dist/1000);
+ return g_strdup_printf(navit_nls_ngettext("one kilometer","%d kilometers", dist/1000), dist/1000);
else
- return g_strdup_printf(ngettext("in one kilometer","in %d kilometers", dist/1000), dist/1000);
+ return g_strdup_printf(navit_nls_ngettext("in one kilometer","in %d kilometers", dist/1000), dist/1000);
}
}