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
wilder-work
Thomas McGuire 19 years ago
parent 73e7e8cbba
commit 5323afd64c
  1. 9
      kmcomposewin.cpp
  2. 5
      templateparser.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 <filename>%1</filename>.\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 <filename>%1</filename>.\n"
"Because of this, editing this attachment is not possible.",
atmTempFile->fileName() ),
i18n( "Unable to edit attachment" ) );
return;
}
mAtmTempList.append( atmTempFile );

@ -1010,8 +1010,9 @@ QString TemplateParser::pipe( const QString &cmd, const QString &buf )
success = false;
if ( !success && mDebug )
KMessageBox::error( 0, i18n( "Pipe command <command>%1</command> failed.",
cmd ) );
KMessageBox::error( 0, i18nc( "@info",
"Pipe command <command>%1</command> failed.",
cmd ) );
if ( success )
return process.readAllStandardOutput();

Loading…
Cancel
Save