[gnome-clocks] Fix ngettext usage
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Fix ngettext usage
- Date: Sun, 26 Aug 2012 10:26:16 +0000 (UTC)
commit 1e40d0fee586a7c2cae440fa502f0574796041d3
Author: Paolo Borelli <pborelli gnome org>
Date: Sun Aug 26 12:21:35 2012 +0200
Fix ngettext usage
gnomeclocks/app.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomeclocks/app.py b/gnomeclocks/app.py
index 2dd25c4..fb07453 100644
--- a/gnomeclocks/app.py
+++ b/gnomeclocks/app.py
@@ -197,8 +197,8 @@ class SelectionToolbar(Gtk.Toolbar):
if n == 0:
self.label.set_markup("(%s)" % _("Click on items to select them"))
else:
- msg = ngettext("1 item selected", "%d items selected" % (n), n)
- self.label.set_markup("<b>%s</b>" % msg)
+ msg = ngettext("%d item selected", "%d items selected", n) % (n)
+ self.label.set_markup("<b>%s</b>" % (msg))
def set_current_view(self, view):
if self.current_view:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]