From 8fd06aa0c08cee6ef5145deeca21fd336479c4f9 Mon Sep 17 00:00:00 2001 From: kazer_ Date: Tue, 17 Jun 2008 12:20:57 +0000 Subject: [PATCH] Update:Core:Added some comments to ease translations git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1134 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit/navigation.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/navit/navit/navigation.c b/navit/navit/navigation.c index 1bb09b4..511627f 100644 --- a/navit/navit/navigation.c +++ b/navit/navit/navigation.c @@ -513,6 +513,7 @@ navigation_item_destination(struct navigation_itm *itm, struct navigation_itm *n g_free(name1); } else + /* TRANSLATORS: gives the name of the next road to turn into (into the E17) */ ret=g_strdup_printf(_("into the %s"),itm->name2); name1=ret; while (*name1) { @@ -534,6 +535,7 @@ navigation_item_destination(struct navigation_itm *itm, struct navigation_itm *n static char * show_maneuver(struct navigation *nav, struct navigation_itm *itm, struct navigation_command *cmd, enum attr_type type) { + /* TRANSLATORS: right, as in 'Turn right' */ char *dir=_("right"),*strength=""; int distance=itm->dest_length-cmd->itm->dest_length; char *d,*ret; @@ -541,17 +543,21 @@ show_maneuver(struct navigation *nav, struct navigation_itm *itm, struct navigat int level; level=1; if (delta < 0) { + /* TRANSLATORS: left, as in 'Turn left' */ dir=_("left"); delta=-delta; } if (delta < 45) { + /* TRANSLATORS: Don't forget the ending space */ strength=_("easily "); } else if (delta < 105) { strength=""; } else if (delta < 165) { + /* TRANSLATORS: Don't forget the ending space */ strength=_("strongly "); } else { dbg(1,"delta=%d\n", delta); + /* TRANSLATORS: Don't forget the ending space */ strength=_("unknown "); } if (type != attr_navigation_long_exact) -- 2.7.4