[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/libs/plasma
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2008-11-01 20:38:00
Message-ID: 1225571880.593343.12692.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 878807 by aseigo:
help out the translators a bit
CCMAIL:aacid@kde.org
M +10 -6 applet.cpp
M +0 -1 dataenginemanager.cpp
M +2 -1 packagestructure.h
--- trunk/KDE/kdebase/workspace/libs/plasma/applet.cpp #878806:878807
@@ -1746,8 +1746,9 @@
if (path.isEmpty()) {
q->setFailedToLaunch(
true,
- i18n("Could not locate the %1 package required for the %2 widget.",
- appletDescription.pluginName(), appletDescription.name()));
+ i18nc("Package file, name of the widget",
+ "Could not locate the %1 package required for the %2 widget.")
+ .arg(appletDescription.pluginName(), \
appletDescription.name())); } else {
// create the package and see if we have something real
//kDebug() << "trying for" << path;
@@ -1765,12 +1766,15 @@
if (!script) {
delete package;
package = 0;
- q->setFailedToLaunch(true, i18n("Could not create a %1 \
ScriptEngine for the %2 widget.",
- api, appletDescription.name()));
+ q->setFailedToLaunch(true,
+ i18nc("API or programming language the \
widget was written in, name of the widget", + \
"Could not create a %1 ScriptEngine for the %2 widget.") + \
.arg(api, appletDescription.name())); }
} else {
- q->setFailedToLaunch(true, i18n("Could not open the %1 package \
required for the %2 widget.",
- \
appletDescription.pluginName(), appletDescription.name())); + \
q->setFailedToLaunch(true, i18nc("Package file, name of the widget", + \
"Could not open the %1 package required for the %2 widget.") + \
.arg(appletDescription.pluginName(), appletDescription.name())); delete package;
package = 0;
}
--- trunk/KDE/kdebase/workspace/libs/plasma/dataenginemanager.cpp #878806:878807
@@ -34,7 +34,6 @@
NullEngine(QObject *parent = 0)
: DataEngine(parent)
{
- setObjectName(i18n("Null Engine"));
setValid(false);
// ref() ourselves to ensure we never get deleted
--- trunk/KDE/kdebase/workspace/libs/plasma/packagestructure.h #878806:878807
@@ -80,7 +80,8 @@
*
* @arg type the type of package. This is often application specific.
**/
- explicit PackageStructure(QObject *parent = 0, const QString &type = \
i18n("Invalid")); + explicit PackageStructure(QObject *parent = 0,
+ const QString &type = i18nc("A non-functional \
package", "Invalid"));
/**
* Destructor
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic