From 790137103dface02eb6d3b0f3bc6968fe5e6691e Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Sun, 12 Oct 2008 11:01:00 +0000 Subject: [PATCH] fix i18n() string passed to KMessageBox::error(). svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870298 --- appletbrowser/openwidgetassistant.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/appletbrowser/openwidgetassistant.cpp b/appletbrowser/openwidgetassistant.cpp index af45da0df..96c790c03 100644 --- a/appletbrowser/openwidgetassistant.cpp +++ b/appletbrowser/openwidgetassistant.cpp @@ -170,9 +170,12 @@ void OpenWidgetAssistant::finished() if (!installer) { kDebug() << "Could not load requested PackageStructure installer " << m_packageStructureService << ". Error given: " << error; - KMessageBox::error(this, i18n("Could not load the required installer %1. The error given was: ", - m_packageStructureService, error), - i18n("Installation Failure")); + KMessageBox::error( + this, + i18n("Could not load the required installer %1. " + "The error given was: %2", + m_packageStructureService, error), + i18n("Installation Failure")); return; } } else {