summaryrefslogtreecommitdiff
path: root/SoftwareProperties
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-09-07 10:24:58 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-09-07 10:24:58 +0200
commit34256b339ea1b953bbf57e8b6975023dfce05c73 (patch)
treead21b89d009db54eb478e1e883f86b8a03dbd361 /SoftwareProperties
parentd754e704d6e42bff9f1f8485e134fd4d04cb3a24 (diff)
parent3afcdfc4f30173672b5745f69e2bc401f20e1d90 (diff)
downloadpython-apt-34256b339ea1b953bbf57e8b6975023dfce05c73.tar.gz
* merged with glatzor
Diffstat (limited to 'SoftwareProperties')
-rw-r--r--SoftwareProperties/SoftwareProperties.py7
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: