diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-09-09 11:08:59 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-09-09 11:08:59 +0200 |
commit | 5e263a67d915e46b393a2c567a2473a21c59bd77 (patch) | |
tree | b2aa8daa1e6d0cfa79b2be37bd51601791deb6fc /kcontrol/hwmanager/devicepropsdlg.cpp | |
parent | 17d40ef704e75c7264c0a885fa180035e1c5be20 (diff) | |
download | tdebase-5e263a67d915e46b393a2c567a2473a21c59bd77.tar.gz tdebase-5e263a67d915e46b393a2c567a2473a21c59bd77.zip |
kcontrol/hwmanager: Allow translation for storage device states.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kcontrol/hwmanager/devicepropsdlg.cpp')
-rw-r--r-- | kcontrol/hwmanager/devicepropsdlg.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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 = "<qt>"; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Mountable)) { - status_text += "Mountable<br>"; + status_text += i18n("Mountable") + "<br>"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Removable)) { - status_text += "Removable<br>"; + status_text += i18n("Removable") + "<br>"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Inserted)) { - status_text += "Inserted<br>"; + status_text += i18n("Inserted") + "<br>"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { - status_text += "Blank<br>"; + status_text += i18n("Blank") + "<br>"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::UsedByDevice)) { - status_text += "In use<br>"; + status_text += i18n("In use") + "<br>"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::UsesDevice)) { - status_text += "Uses other device<br>"; + status_text += i18n("Uses other device") + "<br>"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::ContainsFilesystem)) { - status_text += "Contains a filesystem<br>"; + status_text += i18n("Contains a filesystem") + "<br>"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Hotpluggable)) { - status_text += "Hotpluggable<br>"; + status_text += i18n("Hotpluggable") + "<br>"; } if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Hidden)) { - status_text += "Hidden<br>"; + status_text += i18n("Hidden") + "<br>"; } if (status_text == "<qt>") { - status_text += "<i>Unknown</i>"; + status_text += "<i>" + i18n("Unknown") + "</i>"; } status_text += "</qt>"; base->labelDiskStatus->setText(status_text); |