[PATCH] Translate "Trip"

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Tue Oct 16 23:11:44 PDT 2012


"Trip" in the trip header wasn't translated.

Signed-off-by: Henrik Brautaset Aronsen <subsurface at henrik.synth.no>
---
  divelist.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/divelist.c b/divelist.c
index 1ded3f9..060d85b 100644
--- a/divelist.c
+++ b/divelist.c
@@ -371,7 +371,8 @@ static void date_data_func(GtkTreeViewColumn *col,
  	utc_mkdate(when, &tm);
  	if (idx < 0) {
  		snprintf(buffer, sizeof(buffer),
-			"Trip %s, %s %d, %d (%d dive%s)",
+			"%s %s, %s %d, %d (%d dive%s)",
+			_("Trip"),
  			weekday(tm.tm_wday),
  			monthname(tm.tm_mon),
  			tm.tm_mday, tm.tm_year + 1900,
-- 
1.7.11.5



More information about the subsurface mailing list