[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [plasmate/frameworks] plasmoidviewer: Add missing i18n
From: Antonis Tsiapaliokas <kok3rs () gmail ! com>
Date: 2014-02-20 16:52:29
Message-ID: E1WGWrN-0007TZ-Kw () scm ! kde ! org
[Download RAW message or body]
Git commit 4c305e25d7f7c6584a6feb8cd7c9e48aff119ff8 by Antonis Tsiapaliokas.
Committed on 20/02/2014 at 16:44.
Pushed by tsiapaliokas into branch 'frameworks'.
Add missing i18n
REVIEW: 114493
M +2 -2 plasmoidviewer/view.cpp
http://commits.kde.org/plasmate/4c305e25d7f7c6584a6feb8cd7c9e48aff119ff8
diff --git a/plasmoidviewer/view.cpp b/plasmoidviewer/view.cpp
index 1edd8e0..0cddef5 100644
--- a/plasmoidviewer/view.cpp
+++ b/plasmoidviewer/view.cpp
@@ -54,7 +54,7 @@ void View::addApplet(const QString &applet)
Plasma::Applet *a = containment()->createApplet(applet);
if (!a->pluginInfo().isValid()) {
- qCritical("Applet %s doesn't exist!", qPrintable(applet));
+ qCritical() << i18n("Applet %s doesn't exist!").arg(applet);
return;
}
m_lastAppletName = applet;
@@ -65,7 +65,7 @@ void View::addContainment(const QString &cont)
Plasma::Containment *c = corona()->createContainment(cont);
if (!c->pluginInfo().isValid()) {
- qCritical("Containment %s doesn't exist", qPrintable(cont));
+ qCritical() << i18n("Containment %s doesn't exist").arg(cont);
return;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic