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

List:       kde-commits
Subject:    branches/KDE/4.6/kdebase/workspace/plasma/generic/applets/battery
From:       Sebastian Kügler <sebas () kde ! org>
Date:       2011-01-05 22:22:54
Message-ID: 20110105222254.79EB3AC8B0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1212146 by sebas:

Fix alignment of ac adapter label without breaking string freeze

partially backported from trunk, patch by Aurélien Gâteau

CCMAIL:agateau@kde.org



 M  +2 -1      battery.cpp  


--- branches/KDE/4.6/kdebase/workspace/plasma/generic/applets/battery/battery.cpp #1212145:1212146
@@ -698,7 +698,8 @@
             ++batteryCount;
         }
 
-        m_acLabelLabel->setText(i18n("AC Adapter: "));
+        // Avoid breaking string freeze (fixed correctly in trunk)
+        m_acLabelLabel->setText(i18n("AC Adapter: ").trimmed());
         if (m_acAdapterPlugged) {
             m_acInfoLabel->setText(i18n("<b>Plugged in</b>"));
         } else {
[prev in list] [next in list] [prev in thread] [next in thread] 

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