summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-09-29 15:11:46 +0000
committerJeremy Katz <katzj@redhat.com>2006-09-29 15:11:46 +0000
commite196572faaa85c498fc676c597148f3d78a1a9c1 (patch)
tree59c1c596341958a692cfa1dac22471f1679ec7a7 /installclasses
parentf67fabe9fe38cf62c7484a170b4049dae6f189c0 (diff)
downloadanaconda-e196572faaa85c498fc676c597148f3d78a1a9c1.tar.gz
anaconda-e196572faaa85c498fc676c597148f3d78a1a9c1.tar.xz
anaconda-e196572faaa85c498fc676c597148f3d78a1a9c1.zip
2006-09-29 Jeremy Katz <katzj@redhat.com>
* installclasses/fedora.py (InstallClass._get_description): Return the translated text as the description (#206620). * iw/task_gui.py (TaskWindow._createTaskStore): Fix translations to show up (#206620) * ui/tasksel.glade: Force width wider so that things fit better
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/fedora.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/installclasses/fedora.py b/installclasses/fedora.py
index 3b7e42216..023d2c932 100644
--- a/installclasses/fedora.py
+++ b/installclasses/fedora.py
@@ -1,5 +1,5 @@
from installclass import BaseInstallClass
-from rhpl.translate import N_
+from rhpl.translate import N_,_
from constants import *
import os
import iutil
@@ -10,10 +10,10 @@ class InstallClass(BaseInstallClass):
# name has underscore used for mnemonics, strip if you dont need it
id = "fedora"
name = N_("_Fedora")
- description = N_("The default installation of %s includes a set of "
- "software applicable for general internet usage. "
- "What additional tasks would you like your system "
- "to include support for?") %(productName,)
+ _description = N_("The default installation of %s includes a set of "
+ "software applicable for general internet usage. "
+ "What additional tasks would you like your system "
+ "to include support for?")
sortPriority = 10000
if productName.startswith("Red Hat Enterprise"):
hidden = 1
@@ -24,6 +24,10 @@ class InstallClass(BaseInstallClass):
repos = { "Fedora Extras": ("http://download.fedora.redhat.com/pub/fedora/linux/extras/development/%s" %(rpmUtils.arch.getBaseArch() ,), None) }
+ def _get_description(self):
+ return _(self._description) %(productName,)
+ description = property(_get_description)
+
def setInstallData(self, anaconda):
BaseInstallClass.setInstallData(self, anaconda)
BaseInstallClass.setDefaultPartitioning(self, anaconda.id.partitions,