Fix a number of accidental tqStatus string conversions

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knutclient@1249829 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent ddca41272d
commit 5df6be20c7

@ -428,7 +428,7 @@ void KNutDock::toolTip (int runtime, int status, int batteryCharge, int upsLoad
text = i18n("Name")+" : "+m_activeUpsInfo->record.name + "\n" text = i18n("Name")+" : "+m_activeUpsInfo->record.name + "\n"
+i18n("UPS name")+" : "+m_activeUpsInfo->record.upsName + "\n" +i18n("UPS name")+" : "+m_activeUpsInfo->record.upsName + "\n"
+i18n("UPS address")+" : "+m_activeUpsInfo->record.upsAddress +"\n" +i18n("UPS address")+" : "+m_activeUpsInfo->record.upsAddress +"\n"
+i18n("tqStatus : "); +i18n("Status : ");
if (status == -1) { if (status == -1) {
text += i18n("Connection doesn't exist."); text += i18n("Connection doesn't exist.");
@ -449,22 +449,22 @@ void KNutDock::toolTip (int runtime, int status, int batteryCharge, int upsLoad
} }
if (status & KNutNet::LB) { if (status & KNutNet::LB) {
text += "\n" + i18n("tqStatus : ") + i18n("UPS Battery is low"); text += "\n" + i18n("Status : ") + i18n("UPS Battery is low");
} }
if (status & KNutNet::RB) { if (status & KNutNet::RB) {
text += "\n" + i18n("tqStatus : ") + i18n("Replace battery"); text += "\n" + i18n("Status : ") + i18n("Replace battery");
} }
if (status & KNutNet::CAL) { if (status & KNutNet::CAL) {
text += "\n" + i18n("tqStatus : ") + i18n("UPS is performing calibration"); text += "\n" + i18n("Status : ") + i18n("UPS is performing calibration");
} }
if (status & KNutNet::OVER) { if (status & KNutNet::OVER) {
text += "\n" + i18n("tqStatus : ") + i18n("UPS is Overload"); text += "\n" + i18n("Status : ") + i18n("UPS is Overload");
} }
if (status & KNutNet::TRIM) { if (status & KNutNet::TRIM) {
text += "\n" + i18n("tqStatus : ") + i18n("UPS is trimming voltage"); text += "\n" + i18n("Status : ") + i18n("UPS is trimming voltage");
} }
if (status & KNutNet::BOOST) { if (status & KNutNet::BOOST) {
text += "\n" + i18n("tqStatus : ")+ i18n("UPS is boosting voltage"); text += "\n" + i18n("Status : ")+ i18n("UPS is boosting voltage");
} }

Loading…
Cancel
Save