summaryrefslogtreecommitdiffstats
path: root/pyanaconda/installclass.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyanaconda/installclass.py')
-rw-r--r--pyanaconda/installclass.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pyanaconda/installclass.py b/pyanaconda/installclass.py
index 385757e31..8fd20b51d 100644
--- a/pyanaconda/installclass.py
+++ b/pyanaconda/installclass.py
@@ -55,6 +55,7 @@ class BaseInstallClass(object):
showUpgrade = True
bootloaderTimeoutDefault = None
bootloaderExtraArgs = ""
+ _l10n_domain = None
# list of of (txt, grplist) tuples for task selection screen
tasks = []
@@ -70,6 +71,13 @@ class BaseInstallClass(object):
return _(self._description) % self._descriptionFields
description = property(_get_description)
+ @property
+ def l10n_domain(self):
+ if self._l10n_domain is None:
+ raise RuntimeError("Localization domain for '%s' not set." %
+ self.name)
+ return self._l10n_domain
+
def postAction(self, anaconda):
anaconda.backend.postAction(anaconda)