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

List:       kde-commits
Subject:    [kdepim] libksieve/ksieveui/autocreatescripts/sieveactions: Add help
From:       Montel Laurent <montel () kde ! org>
Date:       2013-05-31 17:49:46
Message-ID: 20130531174946.408BDA6071 () git ! kde ! org
[Download RAW message or body]

Git commit b4e4f7ec9dc9378d794e64d9070769a64e7fe7ce by Montel Laurent.
Committed on 31/05/2013 at 17:58.
Pushed by mlaurent into branch 'master'.

Add help

M  +6    -1    libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionfileinto.cpp
 M  +5    -2    libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionredirect.cpp


http://commits.kde.org/kdepim/b4e4f7ec9dc9378d794e64d9070769a64e7fe7ce

diff --git a/libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionfileinto.cpp \
b/libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionfileinto.cpp index \
                6b46015..af3d577 100644
--- a/libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionfileinto.cpp
+++ b/libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionfileinto.cpp
@@ -109,7 +109,12 @@ QString SieveActionFileInto::serverNeedsCapability() const
 
 QString SieveActionFileInto::help() const
 {
-    return i18n("The \"fileinto\" action delivers the message into the specified \
mailbox."); +    QString helpStr = i18n("The \"fileinto\" action delivers the message \
into the specified mailbox."); +    if (mHasMailBoxSupport) {
+        helpStr += i18n("If the optional \":create\" argument is specified , it \
instructs the Sieve interpreter to create the specified mailbox, if needed, before \
attempting to deliver the message into the specified mailbox."); +    }
+    //TODO add copy support
+    return helpStr;
 }
 
 #include "sieveactionfileinto.moc"
diff --git a/libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionredirect.cpp \
b/libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionredirect.cpp index \
                a39dd1f..3bb9909 100644
--- a/libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionredirect.cpp
+++ b/libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionredirect.cpp
@@ -100,9 +100,12 @@ QStringList SieveActionRedirect::needRequires(QWidget *parent) \
const  
 QString SieveActionRedirect::help() const
 {
-    //TODO add copy info
+    QString helpStr = i18n("The \"redirect\" action is used to send the message to \
another user at a supplied address, as a mail forwarding feature does.  The \
\"redirect\" action makes no changes to the message body or existing headers, but it \
may add new headers."); +    if (mHasCopySupport) {
+        helpStr += i18n("If the optional \":copy\" keyword is specified, the tagged \
command does not cancel the implicit \"keep\". Instead, it redirects a copy in \
addition to whatever else is happening to the message."); +    }
     //TODO add list info
-    return i18n("The \"redirect\" action is used to send the message to another user \
at a supplied address, as a mail forwarding feature does.  The \"redirect\" action \
makes no changes to the message body or existing headers, but it may add new \
headers."); +    return helpStr;
 }
 
 


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

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