[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeutils/klaptopdaemon
From:       Bram Schoenmakers <bramschoenmakers () kde ! nl>
Date:       2005-03-24 13:32:04
Message-ID: 20050324133204.EE6285B6 () office ! kde ! org
[Download RAW message or body]

CVS commit by bram: 

'Time' is not a time unit, 'hours' are. Also added a plural.


  M +4 -4      daemondock.cpp   1.64
  M +2 -2      laptop_daemon.cpp   1.56


--- kdeutils/klaptopdaemon/daemondock.cpp  #1.63:1.64
@@ -372,5 +372,5 @@ void laptop_dock::mousePressEvent( QMous
                                         num3.setNum(pdaemon->left%60);
                                         num3 = num3.rightJustify(2, '0');
-                                        tmp = i18n("%1:%2 time left").arg(pdaemon->left/60).arg(num3);
+                                        tmp = i18n("%1:%2 hours left").arg(pdaemon->left/60).arg(num3);
                                 } else {
                                         // no remaining time available
@@ -639,5 +639,5 @@ quit:
                                 num3.setNum(pdaemon->left%60);
                                 num3 = num3.rightJustify(2, '0');
-                                tmp = i18n("Plugged in - %1% charged (%2:%3 time left)")
+                                tmp = i18n("Plugged in - %1% charged (%2:%3 hours left)")
                                         .arg(pdaemon->val).arg(pdaemon->left/60).arg(num3);
                         } else {
@@ -654,5 +654,5 @@ quit:
                                 num3.setNum(pdaemon->left%60);
                                 num3 = num3.rightJustify(2, '0');
-                                tmp = i18n("Running on batteries - %1% charged (%2:%3 time left)")
+                                tmp = i18n("Running on batteries - %1% charged (%2:%3 hours left)")
                                                 .arg(pdaemon->val).arg(pdaemon->left/60).arg(num3);
                         } else {

--- kdeutils/klaptopdaemon/laptop_daemon.cpp  #1.55:1.56
@@ -547,5 +547,5 @@ void laptop_daemon::haveBatteryLow(int t
             else {
                 KPassivePopup::message(i18n("Battery power is running out."),
-                                       i18n("%1 minutes left.").arg(num),
+                                       i18n("1 minute left.","%n minutes left", num),
                                        BarIcon("laptop_battery"), dock_widget,
                                        0, 20000);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic