[totem] properties: Add context to time translations



commit bafff377e2207f92cdd33ebc6e770d9970e74ee1
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jun 28 09:43:32 2011 +0100

    properties: Add context to time translations

 src/properties/bacon-video-widget-properties.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/properties/bacon-video-widget-properties.c b/src/properties/bacon-video-widget-properties.c
index 7c3e4e2..cff4ae6 100644
--- a/src/properties/bacon-video-widget-properties.c
+++ b/src/properties/bacon-video-widget-properties.c
@@ -163,14 +163,14 @@ totem_time_to_string_text (gint64 msecs)
 
 	if (hour > 0)
 	{
-		/* hour:minutes:seconds */
-		string = g_strdup_printf (_("%s %s %s"), hours, mins, secs);
+		/* 5 hours 2 minutes 12 seconds */
+		string = g_strdup_printf (C_("time", "%s %s %s"), hours, mins, secs);
 	} else if (min > 0) {
-		/* minutes:seconds */
-		string = g_strdup_printf (_("%s %s"), mins, secs);
+		/* 2 minutes 12 seconds */
+		string = g_strdup_printf (C_("time", "%s %s"), mins, secs);
 	} else if (sec > 0) {
-		/* seconds */
-		string = g_strdup_printf (_("%s"), secs);
+		/* 10 seconds */
+		string = g_strdup_printf (secs);
 	} else {
 		/* 0 seconds */
 		string = g_strdup (_("0 seconds"));



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