diff options
| author | glatzor@ubuntu.com <> | 2006-09-07 08:46:34 +0200 |
|---|---|---|
| committer | glatzor@ubuntu.com <> | 2006-09-07 08:46:34 +0200 |
| commit | 3afcdfc4f30173672b5745f69e2bc401f20e1d90 (patch) | |
| tree | 9772aa1ee53667f905eff88300756f0891619a05 /SoftwareProperties | |
| parent | 59c5b269b3702dc40ffe825a31fc79529ee2e276 (diff) | |
| download | python-apt-3afcdfc4f30173672b5745f69e2bc401f20e1d90.tar.gz | |
* use shorter component labels
Diffstat (limited to 'SoftwareProperties')
| -rw-r--r-- | SoftwareProperties/SoftwareProperties.py | 7 |
1 files changed, 6 insertions, 1 deletions
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: |
