[empathy] Fix translation and value errors for relative time
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] Fix translation and value errors for relative time
- Date: Wed, 27 May 2009 12:58:48 -0400 (EDT)
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]