summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-10-08 20:46:12 +0000
committerMatt Wilson <msw@redhat.com>1999-10-08 20:46:12 +0000
commit24f7cf0493e974e17f16c3186a4c7836fb5cc4f5 (patch)
tree8d5f5258a8854d379cc206b3badf1772f2616608 /text.py
parent755fc04fe15cffdd2900f4330a677d50be584fdf (diff)
downloadanaconda-24f7cf0493e974e17f16c3186a4c7836fb5cc4f5.tar.gz
anaconda-24f7cf0493e974e17f16c3186a4c7836fb5cc4f5.tar.xz
anaconda-24f7cf0493e974e17f16c3186a4c7836fb5cc4f5.zip
changes for i18n
Diffstat (limited to 'text.py')
-rw-r--r--text.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/text.py b/text.py
index ece418ca8..52699d3ea 100644
--- a/text.py
+++ b/text.py
@@ -780,9 +780,9 @@ class WaitWindow:
width = 40
if (len(text) < width): width = len(text)
- t = TextboxReflowed(width, text)
+ t = TextboxReflowed(width, _(text))
- g = GridForm(self.screen, title, 1, 1)
+ g = GridForm(self.screen, _(title), 1, 1)
g.add(t, 0, 0)
g.draw()
self.screen.refresh()
@@ -881,10 +881,10 @@ class ProgressWindow:
class InstallInterface:
def progressWindow(self, title, text, total):
- return ProgressWindow (self.screen, title, text, total)
+ return ProgressWindow (self.screen, _(title), _(text), total)
def messageWindow(self, title, text):
- ButtonChoiceWindow(self.screen, title, text,
+ ButtonChoiceWindow(self.screen, _(title), _(text),
buttons = [ _("OK") ])
def exceptionWindow(self, title, text):