[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    [kdepim-runtime] agents/maildispatcher: i18n word-puzzle--
From:       Allen Winter <winter () kde ! org>
Date:       2011-11-19 18:35:13
Message-ID: 20111119183513.A76C9A60B9 () git ! kde ! org
[Download RAW message or body]

Git commit df24ab8bf050bbc0802de125cbd1180ee3fae680 by Allen Winter.
Committed on 19/11/2011 at 19:33.
Pushed by winterz into branch 'master'.

i18n word-puzzle--

CCMAIL: kde-i18n-doc@kde.org

M  +5    -4    agents/maildispatcher/sendjob.cpp

http://commits.kde.org/kdepim-runtime/df24ab8bf050bbc0802de125cbd1180ee3fae680

diff --git a/agents/maildispatcher/sendjob.cpp b/agents/maildispatcher/sendjob.cpp
index 585211a..7d465c4 100644
--- a/agents/maildispatcher/sendjob.cpp
+++ b/agents/maildispatcher/sendjob.cpp
@@ -30,7 +30,6 @@
 #include <akonadi/itemmodifyjob.h>
 #include <akonadi/itemmovejob.h>
 #include <akonadi/collectionfetchjob.h>
-#include <akonadi/collection.h>
 #include <akonadi/kmime/addressattribute.h>
 #include <akonadi/kmime/messageparts.h>
 #include <akonadi/kmime/specialmailcollections.h>
@@ -334,14 +333,16 @@ void SendJob::Private::postJobResult( KJob *job )
     QString errorString;
     switch( attribute->sentBehaviour() ) {
     case SentBehaviourAttribute::Delete:
-      errorString = i18n( "but failed to remove the message from the outbox" );
+      errorString =
+        i18n( "Sending succeeded, but failed to remove the message from the outbox." );
       break;
     default:
-      errorString = i18n( "but failed to move the message to the sent-mail folder" );
+      errorString =
+        i18n( "Sending succeeded, but failed to move the message to the sent-mail folder." );
       break;
     }
     q->setError( UserDefinedError );
-    q->setErrorText( i18n( "Sending succeeded, %1.", errorString ) + ' ' + job->errorString() );
+    q->setErrorText( errorString + ' ' + job->errorString() );
     storeResult( false, q->errorString() );
   } else {
     kDebug() << "Success deleting or moving to sent-mail.";
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic