diff --git a/subiquity/ui/views/filesystem/partition.py b/subiquity/ui/views/filesystem/partition.py index f36e39af..bd2b50c1 100644 --- a/subiquity/ui/views/filesystem/partition.py +++ b/subiquity/ui/views/filesystem/partition.py @@ -276,7 +276,7 @@ class FormatEntireView(PartitionFormatView): self.controller = controller self.volume = volume if isinstance(volume, Disk): - self.title = _("Format and/or mount {}").format(disk.label) + self.title = _("Format and/or mount {}").format(volume.label) self.footer = _("Format or mount whole disk.") else: self.title = _("Partition, format, "