equal
deleted
inserted
replaced
71 |
71 |
72 ''' |
72 ''' |
73 |
73 |
74 HEADER_TEXT = _("Disks") |
74 HEADER_TEXT = _("Disks") |
75 PARAGRAPH = _("Where should %(release)s be installed?") % RELEASE |
75 PARAGRAPH = _("Where should %(release)s be installed?") % RELEASE |
76 REC_SIZE_TEXT = _("Recommended size: ") |
76 REC_SIZE_TEXT = _("Recommended minimum: ") |
77 MIN_SIZE_TEXT = _(" Minimum size: ") |
77 MIN_SIZE_TEXT = _("Minimum size: ") |
78 DISK_SEEK_TEXT = _("Seeking disks on system") |
78 DISK_SEEK_TEXT = _("Seeking disks on system") |
79 FOUND_x86 = _("The following partitions were found on the disk.") |
79 FOUND_x86 = _("The following partitions were found on the disk.") |
80 FOUND_SPARC = _("The following slices were found on the disk.") |
80 FOUND_SPARC = _("The following slices were found on the disk.") |
81 FOUND_GPT = _("The following GPT partitions were found on the disk.") |
81 FOUND_GPT = _("The following GPT partitions were found on the disk.") |
82 PROPOSED_x86 = _("A partition table was not found. The following is " |
82 PROPOSED_x86 = _("A partition table was not found. The following is " |
197 if self._size_line is None: |
197 if self._size_line is None: |
198 rec_size_str = locale.format("%.1f", |
198 rec_size_str = locale.format("%.1f", |
199 self.recommended_size.get(Size.gb_units)) + LOCALIZED_GB |
199 self.recommended_size.get(Size.gb_units)) + LOCALIZED_GB |
200 min_size_str = locale.format("%.1f", |
200 min_size_str = locale.format("%.1f", |
201 self.minimum_size.get(Size.gb_units)) + LOCALIZED_GB |
201 self.minimum_size.get(Size.gb_units)) + LOCALIZED_GB |
202 self._size_line = DiskScreen.REC_SIZE_TEXT + rec_size_str + \ |
202 self._size_line = DiskScreen.MIN_SIZE_TEXT + min_size_str + \ |
203 DiskScreen.MIN_SIZE_TEXT + min_size_str |
203 " " + DiskScreen.REC_SIZE_TEXT + rec_size_str |
204 |
204 |
205 return self._size_line |
205 return self._size_line |
206 |
206 |
207 size_line = property(get_size_line) |
207 size_line = property(get_size_line) |
208 |
208 |