aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-time.c
diff options
context:
space:
mode:
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>2009-05-27 06:26:38 +0800
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>2009-05-28 00:52:10 +0800
commit771929ecdfb4d97dccd67baa7dafe56aca8b06ed (patch)
tree3b64e9ea6a6ba6dbf6bc0255615f8ff0ab9ec04b /libempathy/empathy-time.c
parentd4d2036320d77e9f079b7dc13921e027c93a4e98 (diff)
downloadgsoc2013-empathy-771929ecdfb4d97dccd67baa7dafe56aca8b06ed.tar
gsoc2013-empathy-771929ecdfb4d97dccd67baa7dafe56aca8b06ed.tar.gz
gsoc2013-empathy-771929ecdfb4d97dccd67baa7dafe56aca8b06ed.tar.bz2
gsoc2013-empathy-771929ecdfb4d97dccd67baa7dafe56aca8b06ed.tar.lz
gsoc2013-empathy-771929ecdfb4d97dccd67baa7dafe56aca8b06ed.tar.xz
gsoc2013-empathy-771929ecdfb4d97dccd67baa7dafe56aca8b06ed.tar.zst
gsoc2013-empathy-771929ecdfb4d97dccd67baa7dafe56aca8b06ed.zip
Fix translation and value errors for relative time
Diffstat (limited to 'libempathy/empathy-time.c')
-rw-r--r--libempathy/empathy-time.c3
1 files changed, 1 insertions, 2 deletions
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"));
}
}