diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-02-07 00:18:11 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-02-07 00:18:11 +0000 |
commit | b30ab01d7d28cb607bcf5bcc20a4217f9f4adce0 (patch) | |
tree | 780a1f866d9e86150a898458fdbec2f77495b38f /iw/pixmapRadioButtonGroup_gui.py | |
parent | 8caf82935551746a2316d2ece0de338c2d2777b2 (diff) | |
download | anaconda-b30ab01d7d28cb607bcf5bcc20a4217f9f4adce0.tar.gz anaconda-b30ab01d7d28cb607bcf5bcc20a4217f9f4adce0.tar.xz anaconda-b30ab01d7d28cb607bcf5bcc20a4217f9f4adce0.zip |
we need to go ahead and change the labels so that we can do substitutions
(like for Red Hat Linux). this makes everything consistent about when and
where we translate (#82725)
Diffstat (limited to 'iw/pixmapRadioButtonGroup_gui.py')
-rw-r--r-- | iw/pixmapRadioButtonGroup_gui.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/iw/pixmapRadioButtonGroup_gui.py b/iw/pixmapRadioButtonGroup_gui.py index 743156775..4c07999cf 100644 --- a/iw/pixmapRadioButtonGroup_gui.py +++ b/iw/pixmapRadioButtonGroup_gui.py @@ -63,6 +63,7 @@ class pixmapRadioButtonGroup: return button # add a entry to end of list + # (label and descr should already be passed through _()) def addEntry(self, name, label, pixmap=None, descr=None, userdata=None): node = {} node["name"] = name @@ -124,8 +125,8 @@ class pixmapRadioButtonGroup: label = item["label"] pixmap = item["pixmap"] descr = item["descr"] - radioGroup = self.pixRadioButton(radioGroup, _(label), pixmap, - description=_(descr)) + radioGroup = self.pixRadioButton(radioGroup, label, pixmap, + description=descr) buttons.append(radioGroup) self.buttonToEntry[radioGroup] = name |