aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-26 21:05:40 -0500
committerTed Gould <ted@canonical.com>2009-10-26 21:05:40 -0500
commitaa9afb825265e2a3da078d63d7aa035a447650ae (patch)
tree96318a8c39a2ba2f301b27b34bc99f1845c2b2e4
parent1d1f66839b07a0f4dc29723ad511d36e1c2c9b73 (diff)
parentd3266407f94da8ad0ad2898464452b27064e9b75 (diff)
downloadayatana-indicator-messages-aa9afb825265e2a3da078d63d7aa035a447650ae.tar.gz
ayatana-indicator-messages-aa9afb825265e2a3da078d63d7aa035a447650ae.tar.bz2
ayatana-indicator-messages-aa9afb825265e2a3da078d63d7aa035a447650ae.zip
Adding translator comments from hours and minutes strings.
(LP: #456437)
-rw-r--r--debian/changelog7
-rw-r--r--src/im-menu-item.c8
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index fd20c16..70144ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+indicator-messages (0.2.6-0ubuntu2~ppa1) UNRELEASED; urgency=low
+
+ * Adding translator comments from hours and minutes strings.
+ (LP: #456437)
+
+ -- Ted Gould <ted@ubuntu.com> Mon, 26 Oct 2009 21:04:54 -0500
+
indicator-messages (0.2.6-0ubuntu1) karmic; urgency=low
* Upstream release 0.2.6 (LP: #446629)
diff --git a/src/im-menu-item.c b/src/im-menu-item.c
index 35bb3be..9ea7ec7 100644
--- a/src/im-menu-item.c
+++ b/src/im-menu-item.c
@@ -213,6 +213,10 @@ update_time (ImMenuItem * self)
}
if (elapsed_minutes < 60) {
+ /* TRANSLATORS: This string is used to represent the number of minutes
+ since an IM has occured. It is in the right column
+ of a menu so being brief is desirable, but one character
+ is not a requirement. */
timestring = g_strdup_printf(ngettext("%d m", "%d m", elapsed_minutes), elapsed_minutes);
} else {
guint elapsed_hours = elapsed_minutes / 60;
@@ -222,6 +226,10 @@ update_time (ImMenuItem * self)
elapsed_hours += 1;
}
+ /* TRANSLATORS: This string is used to represent the number of hours
+ since an IM has occured. It is in the right column
+ of a menu so being brief is desirable, but one character
+ is not a requirement. */
timestring = g_strdup_printf(ngettext("%d h", "%d h", elapsed_hours), elapsed_hours);
}