[PATCH 4/4] Translate autopart type descriptions in the TUI

Vratislav Podzimek vpodzime at redhat.com
Wed May 28 08:31:10 UTC 2014


They are translated in the GUI.

Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 pyanaconda/ui/tui/spokes/storage.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pyanaconda/ui/tui/spokes/storage.py b/pyanaconda/ui/tui/spokes/storage.py
index 45aa87c..40b7c35 100644
--- a/pyanaconda/ui/tui/spokes/storage.py
+++ b/pyanaconda/ui/tui/spokes/storage.py
@@ -505,10 +505,10 @@ class PartitionSchemeSpoke(NormalTUISpoke):
         NormalTUISpoke.__init__(self, app, data, storage, payload, instclass)
         self.partschemes = OrderedDict()
         pre_select = self.data.autopart.type or DEFAULT_AUTOPART_TYPE
-        for i, item in enumerate([("Standard Partition", AUTOPART_TYPE_PLAIN),
-                                  ("BTRFS", AUTOPART_TYPE_BTRFS),
-                                  ("LVM", AUTOPART_TYPE_LVM),
-                                  ("LVM Thin Provisioning", AUTOPART_TYPE_LVM_THINP)]):
+        for i, item in enumerate([(_("Standard Partition"), AUTOPART_TYPE_PLAIN),
+                                  (_("BTRFS"), AUTOPART_TYPE_BTRFS),
+                                  (_("LVM"), AUTOPART_TYPE_LVM),
+                                  (_("LVM Thin Provisioning"), AUTOPART_TYPE_LVM_THINP)]):
             self.partschemes[item[0]] = item[1]
             if item[1] == pre_select:
                 self._selection = i
-- 
1.9.3



More information about the anaconda-patches mailing list