From 0e821e7bba686fca2e10b079b86e867deed3bf7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Mon, 17 Jan 2011 09:43:50 +0000 Subject: [PATCH] add 'megabyte' context svn: r16395 --- src/gui/viewmanager.py | 4 ++-- src/plugins/gramplet/StatsGramplet.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/viewmanager.py b/src/gui/viewmanager.py index 0169a122a..8a2c9c010 100644 --- a/src/gui/viewmanager.py +++ b/src/gui/viewmanager.py @@ -38,7 +38,7 @@ from collections import defaultdict import os import time import datetime -from gen.ggettext import gettext as _ +from gen.ggettext import sgettext as _ from gen.ggettext import ngettext from cStringIO import StringIO from collections import defaultdict @@ -1471,7 +1471,7 @@ class ViewManager(CLIManager): label.set_alignment(0, .5) hbox.pack_start(label, False) include = gtk.RadioButton(None, "%s (%s %s)" % (_("Include"), - mbytes, _("MB"))) + mbytes, _("Megabyte|MB"))) exclude = gtk.RadioButton(include, _("Exclude")) include.connect("toggled", lambda widget: self.media_toggle(widget, file_entry)) hbox.pack_start(include, True) diff --git a/src/plugins/gramplet/StatsGramplet.py b/src/plugins/gramplet/StatsGramplet.py index 95b44e2d9..47191ea97 100644 --- a/src/plugins/gramplet/StatsGramplet.py +++ b/src/plugins/gramplet/StatsGramplet.py @@ -187,7 +187,7 @@ class StatsGramplet(Gramplet): self.link("%s:" % _("Total size of media objects"), 'Filter', 'media by size') - self.append_text(" %s %s" % (mbytes, _("MB"))) + self.append_text(" %s %s" % (mbytes, _("Megabyte|MB"))) self.append_text("\n") self.link("%s:" % _("Missing Media Objects"), 'Filter', 'missing media')