diff options
| author | Sebastian Heinlein <sebi@sebi-pc> | 2006-09-26 10:46:49 +0200 |
|---|---|---|
| committer | Sebastian Heinlein <sebi@sebi-pc> | 2006-09-26 10:46:49 +0200 |
| commit | 90a9b9f0faf09a401693f7cfcbd362ff62559929 (patch) | |
| tree | e00d94e7c77b45f8ac9792a9c80a68e2a2391d7c /SoftwareProperties/SoftwareProperties.py | |
| parent | a807cb63c7b82450fb53f9de5958ae5637fff0d1 (diff) | |
| parent | d8c288d928da41fae20947b7dd2064740c2593b3 (diff) | |
| download | python-apt-90a9b9f0faf09a401693f7cfcbd362ff62559929.tar.gz | |
* merge with mvo
Diffstat (limited to 'SoftwareProperties/SoftwareProperties.py')
| -rw-r--r-- | SoftwareProperties/SoftwareProperties.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py index a18fec20..1c8a3425 100644 --- a/SoftwareProperties/SoftwareProperties.py +++ b/SoftwareProperties/SoftwareProperties.py @@ -261,7 +261,7 @@ class SoftwareProperties(SimpleGladeApp): # 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], + label = _("%s (%s)") % (self.distro.source_template.components[comp][1], comp) checkbox = gtk.CheckButton(label) # check if the comp is enabled @@ -721,7 +721,7 @@ class SoftwareProperties(SimpleGladeApp): for comp in source.comps: if source.template.components.has_key(comp): print source.template.components[comp] - (desc, enabled, desc_long) = source.template.components[comp] + (desc, desc_long) = source.template.components[comp] contents += "\n%s" % desc else: contents += "\n%s" % comp @@ -1033,7 +1033,7 @@ class SoftwareProperties(SimpleGladeApp): type=gtk.MESSAGE_ERROR, buttons=gtk.BUTTONS_OK, message_format=None) - dialog.set_markup(_("<big><b>Error scaning the CD</b></big>\n\n%s"%msg)) + dialog.set_markup(_("<big><b>Error scanning the CD</b></big>\n\n%s"%msg)) res = dialog.run() dialog.destroy() return |
