From 771929ecdfb4d97dccd67baa7dafe56aca8b06ed Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Tue, 26 May 2009 18:26:38 -0400 Subject: Fix translation and value errors for relative time --- libempathy/empathy-time.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-time.c b/libempathy/empathy-time.c index a482f4dc3..64350404c 100644 --- a/libempathy/empathy-time.c +++ b/libempathy/empathy-time.c @@ -134,7 +134,6 @@ empathy_time_to_string_relative (time_t then) if (seconds > 0) { if (seconds < 60) { - seconds /= 60; return g_strdup_printf (ngettext ("%d second ago", "%d seconds ago", seconds), seconds); } @@ -160,6 +159,6 @@ empathy_time_to_string_relative (time_t then) } } else { - return g_strdup ("in the future"); + return g_strdup (_("in the future")); } } -- cgit v1.2.3