From 5df6be20c7970b3cb0216bcf522f10bc723d605b Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 27 Aug 2011 21:38:57 +0000 Subject: [PATCH] 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 --- src/knutdock.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/knutdock.cpp b/src/knutdock.cpp index 2be630c..a404221 100755 --- a/src/knutdock.cpp +++ b/src/knutdock.cpp @@ -428,7 +428,7 @@ void KNutDock::toolTip (int runtime, int status, int batteryCharge, int upsLoad text = i18n("Name")+" : "+m_activeUpsInfo->record.name + "\n" +i18n("UPS name")+" : "+m_activeUpsInfo->record.upsName + "\n" +i18n("UPS address")+" : "+m_activeUpsInfo->record.upsAddress +"\n" - +i18n("tqStatus : "); + +i18n("Status : "); if (status == -1) { 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) { - text += "\n" + i18n("tqStatus : ") + i18n("UPS Battery is low"); + text += "\n" + i18n("Status : ") + i18n("UPS Battery is low"); } if (status & KNutNet::RB) { - text += "\n" + i18n("tqStatus : ") + i18n("Replace battery"); + text += "\n" + i18n("Status : ") + i18n("Replace battery"); } 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) { - text += "\n" + i18n("tqStatus : ") + i18n("UPS is Overload"); + text += "\n" + i18n("Status : ") + i18n("UPS is Overload"); } 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) { - text += "\n" + i18n("tqStatus : ")+ i18n("UPS is boosting voltage"); + text += "\n" + i18n("Status : ")+ i18n("UPS is boosting voltage"); }