add 'megabyte' context
svn: r16395
This commit is contained in:
parent
de489bb192
commit
0e821e7bba
@ -38,7 +38,7 @@ from collections import defaultdict
|
|||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
import datetime
|
import datetime
|
||||||
from gen.ggettext import gettext as _
|
from gen.ggettext import sgettext as _
|
||||||
from gen.ggettext import ngettext
|
from gen.ggettext import ngettext
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
@ -1471,7 +1471,7 @@ class ViewManager(CLIManager):
|
|||||||
label.set_alignment(0, .5)
|
label.set_alignment(0, .5)
|
||||||
hbox.pack_start(label, False)
|
hbox.pack_start(label, False)
|
||||||
include = gtk.RadioButton(None, "%s (%s %s)" % (_("Include"),
|
include = gtk.RadioButton(None, "%s (%s %s)" % (_("Include"),
|
||||||
mbytes, _("MB")))
|
mbytes, _("Megabyte|MB")))
|
||||||
exclude = gtk.RadioButton(include, _("Exclude"))
|
exclude = gtk.RadioButton(include, _("Exclude"))
|
||||||
include.connect("toggled", lambda widget: self.media_toggle(widget, file_entry))
|
include.connect("toggled", lambda widget: self.media_toggle(widget, file_entry))
|
||||||
hbox.pack_start(include, True)
|
hbox.pack_start(include, True)
|
||||||
|
@ -187,7 +187,7 @@ class StatsGramplet(Gramplet):
|
|||||||
|
|
||||||
self.link("%s:" % _("Total size of media objects"),
|
self.link("%s:" % _("Total size of media objects"),
|
||||||
'Filter', 'media by size')
|
'Filter', 'media by size')
|
||||||
self.append_text(" %s %s" % (mbytes, _("MB")))
|
self.append_text(" %s %s" % (mbytes, _("Megabyte|MB")))
|
||||||
self.append_text("\n")
|
self.append_text("\n")
|
||||||
self.link("%s:" % _("Missing Media Objects"),
|
self.link("%s:" % _("Missing Media Objects"),
|
||||||
'Filter', 'missing media')
|
'Filter', 'missing media')
|
||||||
|
Loading…
Reference in New Issue
Block a user