summaryrefslogtreecommitdiff
path: root/SoftwareProperties
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-09-07 10:34:35 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-09-07 10:34:35 +0200
commit590c710c9feef18c9a23676aab1ce0fb7b6d2f75 (patch)
treead21b89d009db54eb478e1e883f86b8a03dbd361 /SoftwareProperties
parent066ca0ae74c842d5e55f527cfdab05df5d77f631 (diff)
parent34256b339ea1b953bbf57e8b6975023dfce05c73 (diff)
downloadpython-apt-590c710c9feef18c9a23676aab1ce0fb7b6d2f75.tar.gz
* merged from devel
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: