;ò
£)?Bc           @   si   d  Z  d k l Z d k l Z d k l Z d k l Z d d d d d	 f Z d
 e f d „  ƒ  YZ	 d S(   s)   Administrative GUI for the autoresponder.(   s   mm_cfg(   s   Utils(   s   _(   s   GUIBases   listnames   listurls   requestemails
   adminemails
   owneremails   Autoresponsec           B   s&   t  Z d „  Z e d „ Z d „  Z RS(   Nc         C   s   d t  d ƒ f Sd  S(   Ns	   autoreplys   Auto-responder(   s   _(   s   self(    (    s(   /var/mailman/Mailman/Gui/Autoresponse.pys   GetConfigCategory   s    c         C   s=  | d j o t Sn t i } t d ƒ d t i t d ƒ t d ƒ f d t d ƒ f d t i d	 | f d t d
 ƒ f d t i t d ƒ t d ƒ f d t d ƒ f d t i d	 | f d t d ƒ f d t i t d ƒ t d ƒ t d ƒ f d t d ƒ f d t i d	 | f d t d ƒ f d t i	 d d t d ƒ f g Sd  S(   Ns	   autoreplysB  Auto-responder characteristics.<p>

In the text fields below, string interpolation is performed with
the following key/value substitutions:
<p><ul>
    <li><b>listname</b> - <em>gets the name of the mailing list</em>
    <li><b>listurl</b> - <em>gets the list's listinfo URL</em>
    <li><b>requestemail</b> - <em>gets the list's -request address</em>
    <li><b>owneremail</b> - <em>gets the list's -owner address</em>
</ul>

<p>For each text field, you can either enter the text directly into the text
box, or you can specify a file on your local system to upload as the text.s   autorespond_postingss   Nos   Yesi    sJ   Should Mailman send an auto-response to mailing list
             posters?s   autoresponse_postings_texti   s3   Auto-response text to send to mailing list posters.s   autorespond_adminsW   Should Mailman send an auto-response to emails sent to the
             -owner address?s   autoresponse_admin_texts,   Auto-response text to send to -owner emails.s   autorespond_requestss   Yes, w/discards   Yes, w/forwardsÿ   Should Mailman send an auto-response to emails sent to the
             -request address?  If you choose yes, decide whether you want
             Mailman to discard the original email, or forward it on to the
             system as a normal mail command.s   autoresponse_request_texts.   Auto-response text to send to -request emails.s   autoresponse_graceperiodi   sí   Number of days between auto-responses to either the mailing
             list or -request/-owner address from the same poster.  Set to
             zero (or negative) for no grace period (i.e. auto-respond to
             every message).(
   s   categorys   Nones   mm_cfgs   TEXTFIELDWIDTHs   WIDTHs   _s   Toggles
   FileUploads   Radios   Number(   s   selfs   mlists   categorys   subcats   WIDTH(    (    s(   /var/mailman/Mailman/Gui/Autoresponse.pys   GetConfigInfo!   s    	c         C   sg   | d d d f j o4 |  i | | t | | ƒ } | t j o d  SqJ n t i	 |  | | | | ƒ d  S(   Ns   autoresponse_postings_texts   autoresponse_admin_texts   autoresponse_request_text(
   s   propertys   selfs   _convertStrings   mlists   ALLOWEDSs   vals   docs   Nones   GUIBases	   _setValue(   s   selfs   mlists   propertys   vals   doc(    (    s(   /var/mailman/Mailman/Gui/Autoresponse.pys	   _setValueX   s
    (   s   __name__s
   __module__s   GetConfigCategorys   Nones   GetConfigInfos	   _setValue(    (    (    s(   /var/mailman/Mailman/Gui/Autoresponse.pys   Autoresponse   s   	7N(
   s   __doc__s   Mailmans   mm_cfgs   Utilss   Mailman.i18ns   _s   Mailman.Gui.GUIBases   GUIBases   ALLOWEDSs   Autoresponse(   s   GUIBases   Utilss   ALLOWEDSs   Autoresponses   mm_cfgs   _(    (    s(   /var/mailman/Mailman/Gui/Autoresponse.pys   ?   s   