From b30ab01d7d28cb607bcf5bcc20a4217f9f4adce0 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Fri, 7 Feb 2003 00:18:11 +0000 Subject: 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) --- iw/pixmapRadioButtonGroup_gui.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'iw/pixmapRadioButtonGroup_gui.py') 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 -- cgit