From 5323afd64cb6377ba7c359078b61907a0d05d320 Mon Sep 17 00:00:00 2001 From: Thomas McGuire Date: Wed, 15 Aug 2007 11:15:43 +0000 Subject: [PATCH] Use @info in the error messages I introduced so that the content of the tags is formatted correctly. svn path=/trunk/KDE/kdepim/; revision=700369 --- kmcomposewin.cpp | 9 +++++---- templateparser.cpp | 5 +++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/kmcomposewin.cpp b/kmcomposewin.cpp index de6c8cdff..fdb2b2240 100644 --- a/kmcomposewin.cpp +++ b/kmcomposewin.cpp @@ -3326,10 +3326,11 @@ void KMComposeWin::editAttach(int index, bool openWith) KTemporaryFile* atmTempFile = new KTemporaryFile(); if ( !atmTempFile->open() ) { KMessageBox::sorry( this, - i18n("KMail was unable to create the temporary file %1.\n" - "Because of this, editing this attachment is not possible.", - atmTempFile->fileName()), - i18n("Unable to edit attachment") ); + i18nc( "@info", + "KMail was unable to create the temporary file %1.\n" + "Because of this, editing this attachment is not possible.", + atmTempFile->fileName() ), + i18n( "Unable to edit attachment" ) ); return; } mAtmTempList.append( atmTempFile ); diff --git a/templateparser.cpp b/templateparser.cpp index 9307a8835..dcfc8a362 100644 --- a/templateparser.cpp +++ b/templateparser.cpp @@ -1010,8 +1010,9 @@ QString TemplateParser::pipe( const QString &cmd, const QString &buf ) success = false; if ( !success && mDebug ) - KMessageBox::error( 0, i18n( "Pipe command %1 failed.", - cmd ) ); + KMessageBox::error( 0, i18nc( "@info", + "Pipe command %1 failed.", + cmd ) ); if ( success ) return process.readAllStandardOutput();