r252357 - in collective.contentrules.mailtogroup/trunk: collective/contentrules/mailtogroup/actions collective/contentrules/mailtogroup/locales collective/contentrules/mailtogroup/locales/en/LC_MESSAGES collective/contentrules/mailtogroup/locales/nl/LC_MESSAGES docs

"Ida Ebkes" <svn-changes-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.collective.cvs
Message-ID <[email protected]>
Author: ida
Date: Fri May  3 06:24:42 2013
New Revision: 252357

Modified:
   collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/actions/mail.py
   collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/locales/collective.contentrules.mailtogroup.pot
   collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/locales/en/LC_MESSAGES/collective.contentrules.mailtogroup.po
   collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/locales/nl/LC_MESSAGES/collective.contentrules.mailtogroup.po
   collective.contentrules.mailtogroup/trunk/docs/HISTORY.txt
Log:
Added helper-text for text-substitution-variable.

Modified: collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/actions/mail.py
==============================================================================
--- collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/actions/mail.py	(original)
+++ collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/actions/mail.py	Fri May  3 06:24:42 2013
@@ -56,7 +56,9 @@
         description = _(u"Type in here the message that you want to mail. Some \
             defined content can be replaced: ${title} will be replaced by the title \
             of the item. ${url} will be replaced by the URL of the item. \
-            ${namedirectory} will be replaced by the Title of the folder the rule is applied to."),
+            ${namedirectory} will be replaced by the Title of the folder the rule is applied to. \
+            ${text} will be replace by the body-text-field (if the item has a field named 'text') \
+            and send it as HTML with a plain-text-fallback."),
         required = True
         )
 

Modified: collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/locales/collective.contentrules.mailtogroup.pot
==============================================================================
--- collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/locales/collective.contentrules.mailtogroup.pot	(original)
+++ collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/locales/collective.contentrules.mailtogroup.pot	Fri May  3 06:24:42 2013
@@ -74,9 +74,11 @@
 msgstr ""
 
 #: ./actions/mail.py:53
-msgid "Type in here the message that you want to mail. Some             defined content can be replaced: ${title} will be replaced by the title             of the item. ${url} will be replaced by the URL of the item."
+msgid "Type in here the message that you want to mail. Some             defined content can be replaced: ${title} will be replaced by the title             of the item. ${url} will be replaced by the URL of the item. ${text} will be replace by the body-text-field (if the item has a field named 'text') and send it as HTML with a plain-text-fallback."
 msgstr ""
 
+
+
 #: ./actions/mail.py:37
 msgid "User(s) to mail"
 msgstr ""

Modified: collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/locales/en/LC_MESSAGES/collective.contentrules.mailtogroup.po
==============================================================================
--- collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/locales/en/LC_MESSAGES/collective.contentrules.mailtogroup.po	(original)
+++ collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/locales/en/LC_MESSAGES/collective.contentrules.mailtogroup.po	Fri May  3 06:24:42 2013
@@ -74,7 +74,7 @@
 msgstr ""
 
 #: ./actions/mail.py:53
-msgid "Type in here the message that you want to mail. Some             defined content can be replaced: ${title} will be replaced by the title             of the item. ${url} will be replaced by the URL of the item."
+msgid "Type in here the message that you want to mail. Some             defined content can be replaced: ${title} will be replaced by the title             of the item. ${url} will be replaced by the URL of the item. ${text} will be replace by the body-text-field (if the item has a field named 'text') and send it as HTML with a plain-text-fallback."
 msgstr ""
 
 #: ./actions/mail.py:37

Modified: collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/locales/nl/LC_MESSAGES/collective.contentrules.mailtogroup.po
==============================================================================
--- collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/locales/nl/LC_MESSAGES/collective.contentrules.mailtogroup.po	(original)
+++ collective.contentrules.mailtogroup/trunk/collective/contentrules/mailtogroup/locales/nl/LC_MESSAGES/collective.contentrules.mailtogroup.po	Fri May  3 06:24:42 2013
@@ -74,7 +74,7 @@
 msgstr ""
 
 #: ./actions/mail.py:53
-msgid "Type in here the message that you want to mail. Some             defined content can be replaced: ${title} will be replaced by the title             of the item. ${url} will be replaced by the URL of the item."
+msgid "Type in here the message that you want to mail. Some             defined content can be replaced: ${title} will be replaced by the title             of the item. ${url} will be replaced by the URL of the item. ${text} will be replace by the body-text-field (if the item has a field named 'text') and send it as HTML with a plain-text-fallback."
 msgstr ""
 
 #: ./actions/mail.py:37

Modified: collective.contentrules.mailtogroup/trunk/docs/HISTORY.txt
==============================================================================
--- collective.contentrules.mailtogroup/trunk/docs/HISTORY.txt	(original)
+++ collective.contentrules.mailtogroup/trunk/docs/HISTORY.txt	Fri May  3 06:24:42 2013
@@ -4,6 +4,8 @@
 1.4dev (unreleased)
 -------------------
 
+- Added help-text for text-variable. [ida]
+
 - Added exception, if text-variable is used, but an item doesn't have a text-field.
   Concerns actions/mail.py [ida]
 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.