[gnome-bluetooth] moblin: Add context to time translations
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] moblin: Add context to time translations
- Date: Tue, 28 Jun 2011 08:45:13 +0000 (UTC)
commit adaebdf903cc1de03000d49d56757b1a03e9d91e
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jun 28 09:43:49 2011 +0100
moblin: Add context to time translations
https://bugzilla.gnome.org/show_bug.cgi?id=629060
moblin/moblin-panel.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/moblin/moblin-panel.c b/moblin/moblin-panel.c
index 83f01ed..095d41c 100644
--- a/moblin/moblin-panel.c
+++ b/moblin/moblin-panel.c
@@ -184,19 +184,19 @@ 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) {
if (sec) {
- /* 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 {
- /* minutes */
- string = g_strdup_printf (_("%s"), mins);
+ /* 10 minutes */
+ string = g_strdup (mins);
}
} else if (sec > 0) {
- /* seconds */
- string = g_strdup_printf (_("%s"), secs);
+ /* 5 seconds */
+ string = g_strdup (secs);
} else {
/* 0 seconds */
string = g_strdup (_("0 seconds"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]