From 5e263a67d915e46b393a2c567a2473a21c59bd77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 9 Sep 2021 11:08:59 +0200 Subject: kcontrol/hwmanager: Allow translation for storage device states. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kcontrol/hwmanager/devicepropsdlg.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kcontrol') diff --git a/kcontrol/hwmanager/devicepropsdlg.cpp b/kcontrol/hwmanager/devicepropsdlg.cpp index bc50f11ac..9bec0c3f8 100644 --- a/kcontrol/hwmanager/devicepropsdlg.cpp +++ b/kcontrol/hwmanager/devicepropsdlg.cpp @@ -432,34 +432,34 @@ void DevicePropertiesDialog::populateDeviceInformation() { // Show status TQString status_text = ""; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Mountable)) { - status_text += "Mountable
"; + status_text += i18n("Mountable") + "
"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Removable)) { - status_text += "Removable
"; + status_text += i18n("Removable") + "
"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Inserted)) { - status_text += "Inserted
"; + status_text += i18n("Inserted") + "
"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { - status_text += "Blank
"; + status_text += i18n("Blank") + "
"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::UsedByDevice)) { - status_text += "In use
"; + status_text += i18n("In use") + "
"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::UsesDevice)) { - status_text += "Uses other device
"; + status_text += i18n("Uses other device") + "
"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::ContainsFilesystem)) { - status_text += "Contains a filesystem
"; + status_text += i18n("Contains a filesystem") + "
"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Hotpluggable)) { - status_text += "Hotpluggable
"; + status_text += i18n("Hotpluggable") + "
"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Hidden)) { - status_text += "Hidden
"; + status_text += i18n("Hidden") + "
"; } if (status_text == "") { - status_text += "Unknown"; + status_text += "" + i18n("Unknown") + ""; } status_text += ""; base->labelDiskStatus->setText(status_text); -- cgit v1.2.1