[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/utils/powerdevil/kcmodule
From: Dario Freddi <drf54321 () gmail ! com>
Date: 2008-08-29 12:13:28
Message-ID: 1220012008.827826.5999.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 854335 by dafre:
Krazy fixes
M +4 -4 ConfigWidget.cpp
--- trunk/playground/utils/powerdevil/kcmodule/ConfigWidget.cpp #854334:854335
@@ -123,7 +123,7 @@
Solid::Device d = device;
Solid::Processor *processor = \
qobject_cast<Solid::Processor*>(d.asDeviceInterface(Solid::DeviceInterface::Processor));
- QString text = i18n("CPU %1", QString::number(processor->number()));
+ QString text = i18n("CPU <numid>%1</numid>", processor->number());
QCheckBox *checkBox = new QCheckBox(this);
@@ -484,7 +484,7 @@
if (!sMethods.isEmpty()) {
sMethods.remove(sMethods.length() - 2, 2);
} else {
- sMethods = i18n("None");
+ sMethods = i18nc("None", "No methods found");
}
supportedMethods->setText(sMethods);
@@ -517,7 +517,7 @@
scMethods.remove(scMethods.length() - 2, 2);
isScalingSupported->setPixmap(KIcon("dialog-ok-apply").pixmap(16, 16));
} else {
- scMethods = i18n("None");
+ scMethods = i18nc("None", "No methods found");
isScalingSupported->setPixmap(KIcon("dialog-cancel").pixmap(16, 16));
}
@@ -538,7 +538,7 @@
if (!schemes.isEmpty()) {
schemes.remove(schemes.length() - 2, 2);
} else {
- schemes = i18n("None");
+ schemes = i18nc("None", "No methods found");
}
supportedSchemes->setText(schemes);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic