[empathy] Fix translation and value errors for relative time



commit 771929ecdfb4d97dccd67baa7dafe56aca8b06ed
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date:   Tue May 26 18:26:38 2009 -0400

    Fix translation and value errors for relative time
---
 libempathy/empathy-time.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libempathy/empathy-time.c b/libempathy/empathy-time.c
index a482f4d..6435040 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"));
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]