Merge pull request #13284 from aydun/evaluate_fix
[civicrm-core.git] / settings / Mailing.setting.php
index 691da48ee93e93fe6b8414b38515e4a5cb9f5238..949ac6fa9c623a470dffaf46bd0681c96e0da54d 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017                                |
+ | Copyright CiviCRM LLC (c) 2004-2019                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2017
+ * @copyright CiviCRM LLC (c) 2004-2019
  * $Id$
  *
  */
@@ -41,28 +41,28 @@ return array(
     'group_name' => 'Mailing Preferences',
     'group' => 'mailing',
     'name' => 'profile_double_optin',
-    'type' => 'Integer',
+    'type' => 'Boolean',
     'html_type' => 'checkbox',
     'default' => '1',
     'add' => '4.1',
-    'title' => 'Enable Double Opt-in for Profile Group(s) field',
+    'title' => ts('Enable Double Opt-in for Profile Group(s) field'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.',
+    'description' => ts('When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.'),
     'help_text' => NULL,
   ),
   'track_civimail_replies' => array(
     'group_name' => 'Mailing Preferences',
     'group' => 'mailing',
     'name' => 'track_civimail_replies',
-    'type' => 'Integer',
+    'type' => 'Boolean',
     'html_type' => 'checkbox',
     'default' => '0',
     'add' => '4.1',
-    'title' => 'Track replies using VERP in Reply-To header',
+    'title' => ts('Track replies using VERP in Reply-To header'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'If checked, mailings will default to tracking replies using VERP-ed Reply-To. ',
+    'description' => ts('If checked, mailings will default to tracking replies using VERP-ed Reply-To. '),
     'help_text' => NULL,
     'validate_callback' => 'CRM_Core_BAO_Setting::validateBoolSetting',
   ),
@@ -70,25 +70,25 @@ return array(
     'group_name' => 'Mailing Preferences',
     'group' => 'mailing',
     'name' => 'civimail_workflow',
-    'type' => 'Integer',
+    'type' => 'Boolean',
     'html_type' => 'checkbox',
     'default' => '0',
     'add' => '4.1',
-    'title' => 'Use CiviMail Workflow',
+    'title' => ts('Enable workflow support for CiviMail'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.',
+    'description' => ts('Drupal-only. Rules module must be enabled (beta feature - use with caution).'),
     'help_text' => NULL,
   ),
   'civimail_server_wide_lock' => array(
     'group_name' => 'Mailing Preferences',
     'group' => 'mailing',
     'name' => 'civimail_server_wide_lock',
-    'type' => 'Integer',
+    'type' => 'Boolean',
     'html_type' => 'checkbox',
     'default' => '0',
     'add' => '4.1',
-    'title' => 'Lock Mails Server-Wide for Mail Sending',
+    'title' => ts('Enable global server wide lock for CiviMail'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -126,81 +126,81 @@ return array(
     'group_name' => 'Mailing Preferences',
     'group' => 'mailing',
     'name' => 'profile_add_to_group_double_optin',
-    'type' => 'Integer',
+    'type' => 'Boolean',
     'html_type' => 'checkbox',
     'default' => '0',
     'add' => '4.1',
-    'title' => 'Enable Double Opt-in for Profile Group(s) field',
+    'title' => ts('Enable Double Opt-in for Profile Group(s) field'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.',
+    'description' => ts('When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.'),
     'help_text' => NULL,
   ),
   'disable_mandatory_tokens_check' => array(
     'group_name' => 'Mailing Preferences',
     'group' => 'mailing',
     'name' => 'disable_mandatory_tokens_check',
-    'type' => 'Integer',
+    'type' => 'Boolean',
     'html_type' => 'checkbox',
     'default' => 0,
     'add' => '4.4',
-    'title' => 'Disable check for mandatory tokens',
+    'title' => ts('Disable check for mandatory tokens'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.',
+    'description' => ts('Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.'),
     'help_text' => NULL,
   ),
   'dedupe_email_default' => array(
     'group_name' => 'Mailing Preferences',
     'group' => 'mailing',
     'name' => 'dedupe_email_default',
-    'type' => 'Integer',
+    'type' => 'Boolean',
     'html_type' => 'checkbox',
     'default' => 1,
     'add' => '4.5',
-    'title' => 'CiviMail dedupes e-mail addresses by default',
+    'title' => ts('CiviMail dedupes e-mail addresses by default'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Set the "dedupe e-mail" option when sending a new mailing to "true" by default.',
+    'description' => ts('Set the "dedupe e-mail" option when sending a new mailing to "true" by default.'),
     'help_text' => NULL,
   ),
   'hash_mailing_url' => array(
     'group_name' => 'Mailing Preferences',
     'group' => 'mailing',
     'name' => 'hash_mailing_url',
-    'type' => 'Integer',
+    'type' => 'Boolean',
     'html_type' => 'checkbox',
     'default' => 0,
     'add' => '4.5',
-    'title' => 'Hashed Mailing URL\'s',
+    'title' => ts('Hashed Mailing URL\'s'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID',
+    'description' => ts('If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID'),
     'help_text' => NULL,
   ),
   'civimail_multiple_bulk_emails' => array(
     'group_name' => 'Mailing Preferences',
     'group' => 'mailing',
     'name' => 'civimail_multiple_bulk_emails',
-    'type' => 'Integer',
+    'type' => 'Boolean',
     'html_type' => 'checkbox',
     'default' => 0,
     'add' => '4.5',
-    'title' => ' Multiple Bulk Emails',
+    'title' => ts('Enable multiple bulk email address for a contact.'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'If enabled, CiviMail will deliver a copy of the email to each bulk email listed for the contact.',
+    'description' => ts('CiviMail will deliver a copy of the email to each bulk email listed for the contact. Enabling this setting will also change the options for the "Email on Hold" field in Advanced Search.'),
     'help_text' => NULL,
   ),
   'include_message_id' => array(
     'group_name' => 'Mailing Preferences',
     'group' => 'mailing',
     'name' => 'include_message_id',
-    'type' => 'Integer',
+    'type' => 'Boolean',
     'html_type' => 'checkbox',
     'default' => FALSE,
     'add' => '4.5',
-    'title' => 'Enable CiviMail to generate Message-ID header',
+    'title' => ts('Enable CiviMail to generate Message-ID header'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => '',
@@ -306,10 +306,11 @@ return array(
     'group' => 'mailing',
     'name' => 'write_activity_record',
     'type' => 'Boolean',
-    'quick_form_type' => 'YesNo',
+    'html_type' => 'checkbox',
+    'quick_form_type' => 'CheckBox',
     'default' => '1',
     'add' => '4.7',
-    'title' => 'Enable CiviMail to create activities on delivery',
+    'title' => ts('Enable CiviMail to create activities on delivery'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -338,13 +339,14 @@ return array(
     'group' => 'mailing',
     'name' => 'auto_recipient_rebuild',
     'type' => 'Boolean',
-    'quick_form_type' => 'YesNo',
+    'html_type' => 'checkbox',
+    'quick_form_type' => 'CheckBox',
     'default' => '1',
-    'title' => 'Enable automatic CiviMail recipient count display',
+    'title' => ts('Enable automatic CiviMail recipient count display'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Enable this setting to rebuild recipient list automatically during composing mail. Disable will allow you to rebuild recipient manually.',
-    'help_text' => 'CiviMail automatically fetches recipient list and count whenever mailing groups are included or excluded while composing bulk mail. This phenomena may degrade performance for large sites, so disable this setting to build and fetch recipients for selected groups, manually.',
+    'description' => ts('Enable this setting to rebuild recipient list automatically during composing mail. Disable will allow you to rebuild recipient manually.'),
+    'help_text' => ts('CiviMail automatically fetches recipient list and count whenever mailing groups are included or excluded while composing bulk mail. This phenomena may degrade performance for large sites, so disable this setting to build and fetch recipients for selected groups, manually.'),
   ),
   'allow_mail_from_logged_in_contact' => array(
     'group_name' => 'Mailing Preferences',