From 3afcdfc4f30173672b5745f69e2bc401f20e1d90 Mon Sep 17 00:00:00 2001 From: "glatzor@ubuntu.com" <> Date: Thu, 7 Sep 2006 08:46:34 +0200 Subject: * use shorter component labels --- SoftwareProperties/SoftwareProperties.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'SoftwareProperties/SoftwareProperties.py') diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py index 042a0c4c..a3dfdd06 100644 --- a/SoftwareProperties/SoftwareProperties.py +++ b/SoftwareProperties/SoftwareProperties.py @@ -241,7 +241,12 @@ class SoftwareProperties(SimpleGladeApp): for checkbutton in self.vbox_dist_comps.get_children(): self.vbox_dist_comps.remove(checkbutton) for comp in self.distro.source_template.components.keys(): - checkbox = gtk.CheckButton(label=self.distro.source_template.components[comp][2]) + # TRANSLATORS: Label for the components in the Internet section + # first %s is the description of the component + # second %s is the code name of the comp, eg main, universe + label = _("%s (%s)") % (self.distro.source_template.components[comp][2], + comp) + checkbox = gtk.CheckButton(label) # check if the comp is enabled # FIXME: use inconsistence if there are main sources with not all comps if comp in self.distro.download_comps: -- cgit v1.2.3