device-summary-row: Fix translation
This commit is contained in:
@@ -4,8 +4,6 @@ using Adw 1;
|
||||
template $DeviceSummaryRow : Adw.ExpanderRow {
|
||||
activatable: false;
|
||||
selectable: false;
|
||||
/* Translators: Description of selected disk. */
|
||||
title: _("Disk");
|
||||
subtitle: bind template.device as <$DeviceInfo>.name;
|
||||
show-enable-switch: false;
|
||||
styles ["property"]
|
||||
|
||||
@@ -27,4 +27,5 @@ src/provider/disk_provider.py
|
||||
src/ui/buttons.py
|
||||
src/ui/confirm_quit_dialog.py
|
||||
src/ui/page_wrapper.py
|
||||
src/ui/row/device_rows.py
|
||||
src/ui/summary.py
|
||||
|
||||
@@ -50,7 +50,8 @@ class DeviceSummaryRow(Adw.ExpanderRow):
|
||||
self._device = device
|
||||
super().__init__(**kwargs)
|
||||
|
||||
translate_widgets(self)
|
||||
# Translators: Description of selected disk.
|
||||
self.set_title(_("Disk"))
|
||||
|
||||
# Hacky workaround to make AdwExpanderRow have property style
|
||||
# box -> list_box -> action row
|
||||
|
||||
Reference in New Issue
Block a user