summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-08-02 19:14:20 +0000
committerMike Fulbright <msf@redhat.com>2001-08-02 19:14:20 +0000
commit7112cad4e670436a81851a6bdb6011f39e847608 (patch)
treea98c7155666eb146587f1d78c59473d0b37fb153 /iw
parent8ffcd020e3724390400e13fd26dc8a1cc79474e4 (diff)
downloadanaconda-7112cad4e670436a81851a6bdb6011f39e847608.tar.gz
anaconda-7112cad4e670436a81851a6bdb6011f39e847608.tar.xz
anaconda-7112cad4e670436a81851a6bdb6011f39e847608.zip
make some constant strings get translated
Diffstat (limited to 'iw')
-rw-r--r--iw/partition_gui.py21
1 files changed, 13 insertions, 8 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index acdec7aa7..d4a7ed59b 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -1598,7 +1598,7 @@ class AutoPartitionWindow(InstallWindow):
box = GtkVBox (FALSE)
box.set_border_width (5)
- label = GtkLabel(AUTOPART_DISK_CHOICE_DESCR_TEXT)
+ label = GtkLabel(_(AUTOPART_DISK_CHOICE_DESCR_TEXT))
label.set_line_wrap(1)
label.set_alignment(0.0, 0.0)
@@ -1613,13 +1613,13 @@ class AutoPartitionWindow(InstallWindow):
radioBox = GtkVBox (FALSE)
self.clearLinuxRB = GtkRadioButton(
- None, CLEARPART_TYPE_LINUX_DESCR_TEXT)
+ None, _(CLEARPART_TYPE_LINUX_DESCR_TEXT))
radioBox.pack_start(self.clearLinuxRB, FALSE, FALSE)
self.clearAllRB = GtkRadioButton(
- self.clearLinuxRB, CLEARPART_TYPE_ALL_DESCR_TEXT)
+ self.clearLinuxRB, _(CLEARPART_TYPE_ALL_DESCR_TEXT))
radioBox.pack_start(self.clearAllRB, FALSE, FALSE)
self.clearNoneRB = GtkRadioButton(
- self.clearLinuxRB, CLEARPART_TYPE_NONE_DESCR_TEXT)
+ self.clearLinuxRB, _(CLEARPART_TYPE_NONE_DESCR_TEXT))
radioBox.pack_start(self.clearNoneRB, FALSE, FALSE)
if type == CLEARPART_TYPE_LINUX:
@@ -1645,7 +1645,7 @@ class AutoPartitionWindow(InstallWindow):
self.driveclist = createAllowedDrivesClist(diskset.disks,
cleardrives)
# XXX bad use of usize
- self.driveclist.set_usize(300, -1)
+ self.driveclist.set_usize(300, 80)
align = GtkAlignment()
align.add(self.driveclist)
@@ -1655,9 +1655,14 @@ class AutoPartitionWindow(InstallWindow):
box.pack_start(drivesbox, FALSE, FALSE)
- self.inspect = GtkCheckButton(_("Review (allows you to see and "
- "change the automatic partitioning "
- "results)"))
+ self.inspect = GtkCheckButton()
+ label = GtkLabel(_("Review (allows you to see and "
+ "change the automatic partitioning results)"))
+ label.set_alignment(0.0, 1.0)
+ label.set_line_wrap(TRUE)
+ label.set_usize(400, -1)
+
+ self.inspect.add(label)
self.inspect.set_active(not dispatch.stepInSkipList("partition"))