fix i18n() calls
svn path=/trunk/KDE/kdelibs/; revision=879982
This commit is contained in:
parent
0b92b907c8
commit
2c6bab358f
12
applet.cpp
12
applet.cpp
@ -1745,8 +1745,8 @@ void AppletPrivate::init()
|
||||
q->setFailedToLaunch(
|
||||
true,
|
||||
i18nc("Package file, name of the widget",
|
||||
"Could not locate the %1 package required for the %2 widget.")
|
||||
.arg(appletDescription.pluginName(), appletDescription.name()));
|
||||
"Could not locate the %1 package required for the %2 widget.",
|
||||
appletDescription.pluginName(), appletDescription.name()));
|
||||
} else {
|
||||
// create the package and see if we have something real
|
||||
//kDebug() << "trying for" << path;
|
||||
@ -1766,13 +1766,13 @@ void AppletPrivate::init()
|
||||
package = 0;
|
||||
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()));
|
||||
"Could not create a %1 ScriptEngine for the %2 widget.",
|
||||
api, appletDescription.name()));
|
||||
}
|
||||
} else {
|
||||
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()));
|
||||
"Could not open the %1 package required for the %2 widget.",
|
||||
appletDescription.pluginName(), appletDescription.name()));
|
||||
delete package;
|
||||
package = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user