summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-07-06 01:47:39 +0000
committerMike Fulbright <msf@redhat.com>2001-07-06 01:47:39 +0000
commit6f4e603748dc595083c72b6e7643134409ba6c41 (patch)
treeabd375578dd666188bb7e6dae09862a46ca69f4c /autopart.py
parent21dc7cd04e8b7d523a122164714d056690747be1 (diff)
downloadanaconda-6f4e603748dc595083c72b6e7643134409ba6c41.tar.gz
anaconda-6f4e603748dc595083c72b6e7643134409ba6c41.tar.xz
anaconda-6f4e603748dc595083c72b6e7643134409ba6c41.zip
Added support for converting and formatting existing filesystems to a different filesystem type before installing. Also consolidated some common messages shared between TUI and GUI partitioning
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/autopart.py b/autopart.py
index 9b43c6f48..729502a98 100644
--- a/autopart.py
+++ b/autopart.py
@@ -27,6 +27,33 @@ CLEARPART_TYPE_LINUX = 1
CLEARPART_TYPE_ALL = 2
CLEARPART_TYPE_NONE = 3
+
+# XXX hack but these are common strings to TUI and GUI
+PARTMETHOD_TYPE_DESCR_TEXT = N_("Automatic Partitioning sets up your "
+ "partitioning based on your installation type. "
+ "You also "
+ "can customize the resulting partitions "
+ "to meet your needs.\n\n"
+ "The manual disk paritioning tool Disk Druid "
+ "allows you "
+ "to set up your partitions in an interactive "
+ "environment. You can set the filesystem "
+ "types, mount points, size and more in this "
+ "easy to use, powerful interface.\n\n"
+ "fdisk is the traditional, text based "
+ "partitioning tool offered by Red Hat. "
+ "Although it is not as easy to use, there are "
+ "cases where fdisk is preferred.")
+
+AUTOPART_DISK_CHOICE_DESCR_TEXT = N_("Before automatic partitioning can be "
+ "set up by the installation program, you "
+ "must choose how to use the space on "
+ "hard drives.")
+
+CLEARPART_TYPE_ALL_DESCR_TEXT = N_("Remove all partitions on this system")
+CLEARPART_TYPE_LINUX_DESCR_TEXT = N_("Remove all Linux Partitions on this system")
+CLEARPART_TYPE_NONE_DESCR_TEXT = N_("Keep all partitions and use existing free space")
+
def printNewRequestsCyl(diskset, newRequest):
for req in newRequest.requests:
if req.type != REQUEST_NEW: