summaryrefslogtreecommitdiff
path: root/core/applets
authormickeyl <mickeyl>2004-12-20 11:41:40 (UTC)
committer mickeyl <mickeyl>2004-12-20 11:41:40 (UTC)
commita226cb8cc1ff4f81d43c0c8ecafca889ba817f9f (patch) (unidiff)
tree4aaba66624f01f2df74bccd7336fa5d9c77cb5a4 /core/applets
parent9f8a51344b8324a6d093b56b75ca22802ea8818e (diff)
downloadopie-a226cb8cc1ff4f81d43c0c8ecafca889ba817f9f.zip
opie-a226cb8cc1ff4f81d43c0c8ecafca889ba817f9f.tar.gz
opie-a226cb8cc1ff4f81d43c0c8ecafca889ba817f9f.tar.bz2
use less wide messages
Diffstat (limited to 'core/applets') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/batteryapplet/batterystatus.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/core/applets/batteryapplet/batterystatus.cpp b/core/applets/batteryapplet/batterystatus.cpp
index 860db64..f27543c 100644
--- a/core/applets/batteryapplet/batterystatus.cpp
+++ b/core/applets/batteryapplet/batterystatus.cpp
@@ -141,3 +141,3 @@ QString BatteryStatus::statusText() const {
141 } else if ( ps->batteryPercentAccurate() ) { 141 } else if ( ps->batteryPercentAccurate() ) {
142 text.sprintf( tr("Percentage battery remaining") + ": %i%%", percent ); 142 text.sprintf( tr("Remaining Power") + ": %i%%", percent );
143 } else { 143 } else {
@@ -165,10 +165,10 @@ QString BatteryStatus::statusText() const {
165 else if ( ps->acStatus() == PowerStatus::Online ) 165 else if ( ps->acStatus() == PowerStatus::Online )
166 text += "\n" + tr("Power on-line"); 166 text += "\n" + tr("Power on-line");
167 else if ( ps->acStatus() == PowerStatus::Offline ) 167 else if ( ps->acStatus() == PowerStatus::Offline )
168 text += "\n" + tr("External power disconnected"); 168 text += "\n" + tr("External power disconnected");
169 169
170 if ( ps->batteryTimeRemaining() >= 0 ) { 170 if ( ps->batteryTimeRemaining() >= 0 ) {
171 text += "\n" + QString().sprintf( tr("Battery time remaining") + ": %im %02is", 171 text += "\n" + QString().sprintf( tr("Remaining Time") + ": %im %02is",
172 ps->batteryTimeRemaining() / 60, ps->batteryTimeRemaining() % 60 ); 172 ps->batteryTimeRemaining() / 60, ps->batteryTimeRemaining() % 60 );
173 } 173 }
174 return text; 174 return text;
@@ -178,4 +178,4 @@ QString BatteryStatus::statusTextIpaq() const {
178 QString text; 178 QString text;
179 text += tr("Percentage battery remaining: ") + perc2 + " " + jackStatus; 179 text += tr("Remaining Power: ") + perc2 + " " + jackStatus;
180 text += "\n" + tr("Battery time remaining: ") + sec2; 180 text += "\n" + tr("Remaining Time: ") + sec2;
181 return text; 181 return text;