Fix Contribution settings form per dev/core/473
[civicrm-core.git] / settings / Core.setting.php
index 9d91ed59c03a6a4e1bd8314d98c5cbc2a59bc062..e21fb003a9ed8bd7eef1af322d0f98421331222c 100644 (file)
@@ -42,17 +42,19 @@ return array(
     'group' => 'core',
     'name' => 'contact_view_options',
     'type' => 'String',
+    'quick_form_type' => 'CheckBoxes',
     'html_type' => 'checkboxes',
     'pseudoconstant' => array(
       'optionGroupName' => 'contact_view_options',
     ),
     'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 113\ 1',
     'add' => '4.1',
-    'title' => 'Viewing Contacts',
+    'title' => ts('Viewing Contacts'),
     'is_domain' => '1',
     'is_contact' => 0,
-    'description' => NULL,
+    'description' => ts("Select the tabs that should be displayed when viewing a contact record. EXAMPLE: If your organization does not keep track of 'Relationships', then un-check this option to simplify the screen display. Tabs for Contributions, Pledges, Memberships, Events, Grants and Cases are also hidden if the corresponding component is not enabled. Go to Administer > System Settings > Enable Components to modify the components which are available for your site."),
     'help_text' => NULL,
+    'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
   ),
   'contact_edit_options' => array(
     'group_name' => 'CiviCRM Preferences',
@@ -65,14 +67,16 @@ return array(
     ),
     'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 111\ 112\ 114\ 115\ 116\ 117\ 1',
     'add' => '4.1',
-    'title' => 'Editing Contacts',
+    'title' => ts('Editing Contacts'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => NULL,
+    'description' => ts('Select the sections that should be included when adding or editing a contact record. EXAMPLE: If your organization does not record Gender and Birth Date for individuals, then simplify the form by un-checking this option. Drag interface allows you to change the order of the panes displayed on contact add/edit screen.'),
     'help_text' => NULL,
+    'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
   ),
   'advanced_search_options' => array(
     'group_name' => 'CiviCRM Preferences',
+    'group' => 'core',
     'name' => 'advanced_search_options',
     'type' => 'String',
     'html_type' => 'checkboxes',
@@ -81,11 +85,11 @@ return array(
     ),
     'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
     'add' => '4.1',
-    'title' => 'Contact Search',
+    'title' => ts('Contact Search'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => NULL,
-    'help_text' => NULL,
+    'description' => ts('Select the sections that should be included in the Basic and Advanced Search forms. EXAMPLE: If you don\'t track Relationships - then you do not need this section included in the advanced search form. Simplify the form by un-checking this option.'),
+    'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
   ),
   'user_dashboard_options' => array(
     'group_name' => 'CiviCRM Preferences',
@@ -98,11 +102,12 @@ return array(
     ),
     'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 1',
     'add' => '4.1',
-    'title' => 'Contact Dashboard',
+    'title' => ts('Contact Dashboard'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => NULL,
+    'description' => ts('Select the sections that should be included in the Contact Dashboard. EXAMPLE: If you don\'t want constituents to view their own contribution history, un-check that option.'),
     'help_text' => NULL,
+    'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
   ),
   'address_options' => array(
     'group_name' => 'CiviCRM Preferences',
@@ -154,28 +159,26 @@ return array(
     'group' => 'core',
     'name' => 'display_name_format',
     'type' => 'String',
-    'html_type' => 'Text',
+    'html_type' => 'textarea',
     'default' => '{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}',
     'add' => '4.1',
-    'title' => 'Display Name Format',
+    'title' => ts('Individual Display Name Format'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => NULL,
-    'help_text' => NULL,
+    'description' => ts('Display name format for individual contact display names.'),
   ),
   'sort_name_format' => array(
     'group_name' => 'CiviCRM Preferences',
     'group' => 'core',
     'name' => 'sort_name_format',
     'type' => 'String',
-    'html_type' => 'Text',
+    'html_type' => 'textarea',
     'default' => '{contact.last_name}{, }{contact.first_name}',
     'add' => '4.1',
-    'title' => 'Sort Name Format',
+    'title' => ts('Individual Sort Name Format'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => NULL,
-    'help_text' => NULL,
+    'description' => ts('Sort name format for individual contact display names.'),
   ),
   'remote_profile_submissions' => array(
     'group_name' => 'CiviCRM Preferences',
@@ -189,7 +192,7 @@ return array(
     'title' => 'Accept profile submissions from external sites',
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'If enabled, CiviCRM will permit submissions from external sites to profiles. This is disabled by default to limit abuse.',
+    'description' => ts('If enabled, CiviCRM will permit submissions from external sites to profiles. This is disabled by default to limit abuse.'),
     'help_text' => NULL,
   ),
   'allow_alert_autodismissal' => array(
@@ -204,7 +207,7 @@ return array(
     'title' => 'Allow alerts to auto-dismiss?',
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'If disabled, CiviCRM will not automatically dismiss any alerts after 10 seconds.',
+    'description' => ts('If disabled, CiviCRM will not automatically dismiss any alerts after 10 seconds.'),
     'help_text' => NULL,
   ),
   'editor_id' => array(
@@ -215,7 +218,7 @@ return array(
     'html_type' => 'Select',
     'default' => 'CKEditor',
     'add' => '4.1',
-    'title' => 'Wysiwig Editor',
+    'title' => ts('Wysiwig Editor'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -229,7 +232,7 @@ return array(
     'html_type' => 'radio',
     'default' => '1',
     'add' => '4.1',
-    'title' => 'Check for Similar Contacts',
+    'title' => ts('Check for Similar Contacts'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -243,7 +246,7 @@ return array(
     'quick_form_type' => 'YesNo',
     'default' => 1,
     'add' => '4.5',
-    'title' => 'Ajax Popups Enabled',
+    'title' => ts('Enable Popup Forms'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -257,7 +260,7 @@ return array(
     'html_type' => 'Text',
     'default' => '1',
     'add' => '4.1',
-    'title' => 'Notify Activity Assignees',
+    'title' => ts('Notify Activity Assignees'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -271,7 +274,7 @@ return array(
     'html_type' => 'Text',
     'default' => '0',
     'add' => '4.3',
-    'title' => 'Include ICal Invite to Activity Assignees',
+    'title' => ts('Include ICal Invite to Activity Assignees'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -288,10 +291,10 @@ return array(
     ),
     'default' => '\ 11\ 12\ 1',
     'add' => '4.1',
-    'title' => 'Autocomplete Contact Search',
+    'title' => ts('Autocomplete Contact Search'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => "Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.",
+    'description' => ts("Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included."),
     'help_text' => NULL,
   ),
   'contact_reference_options' => array(
@@ -305,10 +308,10 @@ return array(
     ),
     'default' => '\ 11\ 12\ 1',
     'add' => '4.1',
-    'title' => 'Contact Reference Options',
+    'title' => ts('Contact Reference Options'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => "Selected fields will be displayed in autocomplete dropdown search results for 'Contact Reference' custom fields. Contact Name is always included. NOTE: You must assign 'access contact reference fields' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the 'Limit List to Group' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.",
+    'description' => ts("Selected fields will be displayed in autocomplete dropdown search results for 'Contact Reference' custom fields. Contact Name is always included. NOTE: You must assign 'access contact reference fields' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the 'Limit List to Group' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list."),
     'help_text' => NULL,
   ),
   'contact_smart_group_display' => array(
@@ -322,8 +325,11 @@ return array(
     'title' => ts('Viewing Smart Groups'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => NULL,
+    'description' => ts('Controls display of the smart groups that a contact is part of in each contact\'s "Groups" tab. "Show on Demand" provides the best performance, and is recommended for most sites.'),
     'help_text' => NULL,
+    'pseudoconstant' => array(
+      'optionGroupName' => 'contact_smart_group_display',
+    ),
   ),
   'smart_group_cache_refresh_mode' => array(
     'group_name' => 'CiviCRM Preferences',
@@ -333,14 +339,14 @@ return array(
     'html_type' => 'radio',
     'default' => 'opportunistic',
     'add' => '4.7',
-    'title' => 'Smart Group Refresh Mode',
+    'title' => ts('Smart Group Refresh Mode'),
     'is_domain' => 1,
     'is_contact' => 0,
     'pseudoconstant' => array(
       'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
     ),
-    'description' => 'Should the smart groups be by cron jobs or user actions',
-    'help_text' => 'In "Opportunistic Flush" mode, caches are flushed in response to user actions; this mode is broadly compatible but may add latency during form-submissions. In "Cron Flush" mode, you should schedule a cron job to flush caches; this can improve latency on form-submissions but requires more setup.',
+    'description' => ts('Should the smart groups be by cron jobs or user actions'),
+    'help_text' => ts('In "Opportunistic Flush" mode, caches are flushed in response to user actions; this mode is broadly compatible but may add latency during form-submissions. In "Cron Flush" mode, you should schedule a cron job to flush caches; this can improve latency on form-submissions but requires more setup.'),
   ),
   'installed' => array(
     'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
@@ -351,10 +357,10 @@ return array(
     'quick_form_type' => 'YesNo',
     'default' => FALSE,
     'add' => '4.7',
-    'title' => 'System Installed',
+    'title' => ts('System Installed'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'A flag indicating whether this system has run a post-installation routine',
+    'description' => ts('A flag indicating whether this system has run a post-installation routine'),
     'help_text' => NULL,
   ),
   'max_attachments' => array(
@@ -371,10 +377,10 @@ return array(
     ),
     'default' => 3,
     'add' => '4.3',
-    'title' => 'Maximum Attachments',
+    'title' => ts('Maximum Attachments'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.',
+    'description' => ts('Maximum number of files (documents, images, etc.) which can be attached to emails or activities.'),
     'help_text' => NULL,
   ),
   'maxFileSize' => array(
@@ -390,10 +396,10 @@ return array(
     ),
     'default' => 3,
     'add' => '4.3',
-    'title' => 'Maximum File Size (in MB)',
+    'title' => ts('Maximum File Size (in MB)'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Maximum Size of file (documents, images, etc.) which can attached to emails or activities.<br />Note: php.ini should support this file size.',
+    'description' => ts('Maximum Size of file (documents, images, etc.) which can be attached to emails or activities.<br />Note: php.ini should support this file size.'),
     'help_text' => NULL,
   ),
   'contact_undelete' => array(
@@ -404,10 +410,10 @@ return array(
     'quick_form_type' => 'YesNo',
     'default' => 1,
     'add' => '4.3',
-    'title' => 'Contact Trash and Undelete',
+    'title' => ts('Contact Trash and Undelete'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).',
+    'description' => ts('If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).'),
     'help_text' => NULL,
   ),
   'allowPermDeleteFinancial' => array(
@@ -418,10 +424,10 @@ return array(
     'quick_form_type' => 'YesNo',
     'default' => FALSE,
     'add' => '4.3',
-    'title' => 'Contact Permanent Delete',
+    'title' => ts('Contact Permanent Delete'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
+    'description' => ts('Allow Permanent Delete for contacts who are linked to live financial transactions'),
     'help_text' => NULL,
   ),
   'securityAlert' => array(
@@ -432,10 +438,10 @@ return array(
     'quick_form_type' => 'YesNo',
     'default' => 1,
     'add' => '4.4',
-    'title' => 'Status Alerts',
+    'title' => ts('Status Alerts'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => "If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.",
+    'description' => ts("If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check."),
     'help_text' => NULL,
   ),
   'doNotAttachPDFReceipt' => array(
@@ -446,10 +452,10 @@ return array(
     'quick_form_type' => 'YesNo',
     'default' => 0,
     'add' => '4.3',
-    'title' => 'Attach PDF copy to receipts',
+    'title' => ts('Attach PDF copy to receipts'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
+    'description' => ts("If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution."),
     'help_text' => NULL,
   ),
   'recordGeneratedLetters' => array(
@@ -464,10 +470,10 @@ return array(
     ),
     'default' => 'multiple',
     'add' => '4.7',
-    'title' => 'Record generated letters',
+    'title' => ts('Record generated letters'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?',
+    'description' => ts('When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?'),
     'help_text' => NULL,
     'pseudoconstant' => array(
       'callback' => 'CRM_Contact_Form_Task_PDFLetterCommon::getLoggingOptions',
@@ -486,7 +492,7 @@ return array(
     'html_type' => 'Text',
     'default' => NULL,
     'add' => '4.3',
-    'title' => 'Path to wkhtmltopdf executable',
+    'title' => ts('Path to wkhtmltopdf executable'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -505,10 +511,10 @@ return array(
     'html_type' => 'Text',
     'default' => NULL,
     'add' => '4.3',
-    'title' => 'Recaptcha Options',
+    'title' => ts('Recaptcha Options'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at <a href="https://developers.google.com/recaptcha/docs/display#config">Customizing the Look and Feel of reCAPTCHA</a>.',
+    'description' => ts('You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at <a href="https://developers.google.com/recaptcha/docs/display#config">Customizing the Look and Feel of reCAPTCHA</a>.'),
     'help_text' => NULL,
   ),
   'recaptchaPublicKey' => array(
@@ -524,7 +530,7 @@ return array(
     'html_type' => 'Text',
     'default' => NULL,
     'add' => '4.3',
-    'title' => 'Recaptcha Site Key',
+    'title' => ts('Recaptcha Site Key'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -542,8 +548,8 @@ return array(
     'quick_form_type' => 'YesNo',
     'html_type' => '',
     'default' => '0',
-    'title' => 'Force reCAPTCHA on Contribution pages',
-    'description' => 'If enabled, reCAPTCHA will show on all contribution pages.',
+    'title' => ts('Force reCAPTCHA on Contribution pages'),
+    'description' => ts('If enabled, reCAPTCHA will show on all contribution pages.'),
   ),
   'recaptchaPrivateKey' => array(
     'group_name' => 'CiviCRM Preferences',
@@ -558,7 +564,7 @@ return array(
     'html_type' => 'Text',
     'default' => NULL,
     'add' => '4.3',
-    'title' => 'Recaptcha Secret Key',
+    'title' => ts('Recaptcha Secret Key'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -577,7 +583,7 @@ return array(
     'html_type' => 'Text',
     'default' => 7,
     'add' => '4.3',
-    'title' => 'Checksum Lifespan',
+    'title' => ts('Checksum Lifespan'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -596,11 +602,11 @@ return array(
     'html_type' => 'Text',
     'default' => '*default*',
     'add' => '4.3',
-    'title' => 'Blog Feed URL',
+    'title' => ts('Blog Feed URL'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Blog feed URL used by the blog dashlet',
-    'help_text' => 'Use "*default*" for the system default or override with a custom URL',
+    'description' => ts('Blog feed URL used by the blog dashlet'),
+    'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
   ),
   'communityMessagesUrl' => array(
     'group_name' => 'CiviCRM Preferences',
@@ -615,11 +621,11 @@ return array(
     'html_type' => 'Text',
     'default' => '*default*',
     'add' => '4.3',
-    'title' => 'Community Messages URL',
+    'title' => ts('Community Messages URL'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Service providing CiviCRM community messages',
-    'help_text' => 'Use "*default*" for the system default or override with a custom URL',
+    'description' => ts('Service providing CiviCRM community messages'),
+    'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
   ),
   'gettingStartedUrl' => array(
     'group_name' => 'CiviCRM Preferences',
@@ -634,11 +640,11 @@ return array(
     'html_type' => 'Text',
     'default' => '*default*',
     'add' => '4.3',
-    'title' => 'Getting Started URL',
+    'title' => ts('Getting Started URL'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Service providing the Getting Started data',
-    'help_text' => 'Use "*default*" for the system default or override with a custom URL',
+    'description' => ts('Service providing the Getting Started data'),
+    'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
   ),
   'resCacheCode' => array(
     'group_name' => 'CiviCRM Preferences',
@@ -649,10 +655,10 @@ return array(
     'html_type' => 'text',
     'default' => NULL,
     'add' => '4.3',
-    'title' => 'resCacheCode',
+    'title' => ts('resCacheCode'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
+    'description' => ts('Code appended to resource URLs (JS/CSS) to coerce HTTP caching'),
     'help_text' => NULL,
   ),
   'verifySSL' => array(
@@ -663,11 +669,11 @@ return array(
     'quick_form_type' => 'YesNo',
     'default' => 1,
     'add' => '4.3',
-    'title' => 'Verify SSL?',
+    'title' => ts('Verify SSL?'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections',
-    'help_text' => 'Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes',
+    'description' => ts('If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections'),
+    'help_text' => ts('Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes'),
   ),
   'enableSSL' => array(
     'group_name' => 'CiviCRM Preferences',
@@ -677,11 +683,11 @@ return array(
     'quick_form_type' => 'YesNo',
     'default' => 0,
     'add' => '4.5',
-    'title' => 'Force SSL?',
+    'title' => ts('Force SSL?'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.',
-    'help_text' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.',
+    'description' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
+    'help_text' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
   ),
   'wpBasePage' => array(
     'group_name' => 'CiviCRM Preferences',
@@ -692,11 +698,11 @@ return array(
     'quick_form_type' => 'Element',
     'default' => '',
     'add' => '4.3',
-    'title' => 'WordPress Base Page',
+    'title' => ts('WordPress Base Page'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'If set, CiviCRM will use this setting as the base url.',
-    'help_text' => 'By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.',
+    'description' => ts('If set, CiviCRM will use this setting as the base url.'),
+    'help_text' => ts('By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.'),
   ),
   'secondDegRelPermissions' => array(
     'group_name' => 'CiviCRM Preferences',
@@ -706,10 +712,10 @@ return array(
     'quick_form_type' => 'YesNo',
     'default' => 0,
     'add' => '4.3',
-    'title' => 'Allow second-degree relationship permissions',
+    'title' => ts('Allow second-degree relationship permissions'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
+    'description' => ts("If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts"),
     'help_text' => NULL,
   ),
   'enable_components' => array(
@@ -727,7 +733,7 @@ return array(
     ),
     'default' => NULL,
     'add' => '4.4',
-    'title' => 'Enable Components',
+    'title' => ts('Enable Components'),
     'is_domain' => '1',
     'is_contact' => 0,
     'description' => NULL,
@@ -746,10 +752,10 @@ return array(
     'quick_form_type' => 'YesNo',
     'default' => '0',
     'add' => '4.4',
-    'title' => 'Disable CiviCRM css',
+    'title' => ts('Disable CiviCRM css'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.',
+    'description' => ts('Prevent the stylesheet "civicrm.css" from being loaded.'),
     'help_text' => NULL,
   ),
   'empoweredBy' => array(
@@ -760,10 +766,10 @@ return array(
     'quick_form_type' => 'YesNo',
     'default' => 1,
     'add' => '4.5',
-    'title' => 'Display "empowered by CiviCRM"',
+    'title' => ts('Display "empowered by CiviCRM"'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
+    'description' => ts('When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.'),
     'help_text' => NULL,
   ),
   'logging_no_trigger_permission' => array(
@@ -778,8 +784,8 @@ return array(
     'quick_form_type' => 'YesNo',
     'html_type' => '',
     'default' => 0,
-    'title' => '(EXPERIMENTAL) MySQL user does not have trigger permissions',
-    'description' => 'Set this when you intend to manage trigger creation outside of CiviCRM',
+    'title' => ts('(EXPERIMENTAL) MySQL user does not have trigger permissions'),
+    'description' => ts('Set this when you intend to manage trigger creation outside of CiviCRM'),
   ),
   'logging' => array(
     'add' => '4.7',
@@ -793,8 +799,8 @@ return array(
     'quick_form_type' => 'YesNo',
     'html_type' => '',
     'default' => '0',
-    'title' => 'Logging',
-    'description' => 'If enabled, all actions will be logged with a complete record of changes.',
+    'title' => ts('Logging'),
+    'description' => ts('If enabled, all actions will be logged with a complete record of changes.'),
     'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
     'on_change' => array(
       'CRM_Logging_Schema::onToggle',
@@ -812,8 +818,8 @@ return array(
     'quick_form_type' => 'DateTime',
     'html_type' => '',
     'default' => NULL,
-    'title' => 'Logging Unique ID not recorded before',
-    'description' => 'This is the date when CRM-18193 was implemented',
+    'title' => ts('Logging Unique ID not recorded before'),
+    'description' => ts('This is the date when CRM-18193 was implemented'),
   ),
   'logging_all_tables_uniquid' => array(
     'add' => '4.7',
@@ -827,8 +833,8 @@ return array(
     'quick_form_type' => 'YesNo',
     'html_type' => '',
     'default' => 0,
-    'title' => 'All tables use Unique Connection ID',
-    'description' => 'Do some tables pre-date CRM-18193?',
+    'title' => ts('All tables use Unique Connection ID'),
+    'description' => ts('Do some tables pre-date CRM-18193?'),
   ),
   'userFrameworkUsersTableName' => array(
     'add' => '4.7',
@@ -846,7 +852,7 @@ return array(
       'maxlength' => '64',
     ),
     'default' => NULL,
-    'title' => 'Drupal Users Table Name',
+    'title' => ts('Drupal Users Table Name'),
     'description' => '',
   ),
   'wpLoadPhp' => array(
@@ -858,10 +864,10 @@ return array(
     'quick_form_type' => 'Element',
     'default' => '',
     'add' => '4.6',
-    'title' => 'WordPress Path to wp-load.php',
+    'title' => ts('WordPress Path to wp-load.php'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'CiviCRM will use this setting as path to bootstrap WP.',
+    'description' => ts('CiviCRM will use this setting as path to bootstrap WP.'),
     'help_text' => NULL,
   ),
   'secure_cache_timeout_minutes' => array(
@@ -877,10 +883,10 @@ return array(
     ),
     'default' => 20,
     'add' => '4.7',
-    'title' => 'Secure Cache Timeout',
+    'title' => ts('Secure Cache Timeout'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Maximum number of minutes that secure form data should linger',
+    'description' => ts('Maximum number of minutes that secure form data should linger'),
     'help_text' => NULL,
   ),
   'site_id' => array(
@@ -892,7 +898,7 @@ return array(
     'html_type' => 'text',
     'default' => '',
     'add' => '4.6',
-    'title' => 'Unique Site ID',
+    'title' => ts('Unique Site ID'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -911,10 +917,10 @@ return array(
     ),
     'default' => 20,
     'add' => '4.7',
-    'title' => 'Size of "Recent Items" stack',
+    'title' => ts('Size of "Recent Items" stack'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'How many items should CiviCRM store in it\'s "Recently viewed" list.',
+    'description' => ts('How many items should CiviCRM store in it\'s "Recently viewed" list.'),
     'help_text' => NULL,
   ),
   'recentItemsProviders' => array(
@@ -930,10 +936,10 @@ return array(
     ),
     'default' => '',
     'add' => '4.7',
-    'title' => 'Recent Items Providers',
+    'title' => ts('Recent Items Providers'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'What providers may save views in CiviCRM\'s "Recently viewed" list. If empty, all are in.',
+    'description' => ts('What providers may save views in CiviCRM\'s "Recently viewed" list. If empty, all are in.'),
     'help_text' => NULL,
     'pseudoconstant' => array(
       'callback' => 'CRM_Utils_Recent::getProviders',
@@ -948,7 +954,7 @@ return array(
     'quick_form_type' => 'Element',
     'html_type' => 'text',
     'add' => '4.7',
-    'title' => 'Default limit for dedupe screen',
+    'title' => ts('Default limit for dedupe screen'),
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => ts('Default to only loading matches against this number of contacts'),
@@ -959,28 +965,28 @@ return array(
     'group' => 'core',
     'name' => 'syncCMSEmail',
     'type' => 'Boolean',
+    'html_type' => 'YesNo',
     'quick_form_type' => 'YesNo',
     'default' => 1,
     'add' => '4.7',
-    'title' => 'Sync CMS Email',
+    'title' => ts('Sync CMS Email'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'If enabled, then CMS email id will be syncronised with CiviCRM contacts\'s primary email.',
+    'description' => ts('If enabled, then CMS email id will be synchronised with CiviCRM contacts\'s primary email.'),
     'help_text' => NULL,
   ),
   'preserve_activity_tab_filter' => array(
     'group_name' => 'CiviCRM Preferences',
     'group' => 'core',
     'name' => 'preserve_activity_tab_filter',
-    'type' => 'String',
-    'html_type' => 'Text',
+    'type' => 'Boolean',
+    'html_type' => 'checkbox',
     'default' => '0',
     'add' => '4.7',
-    'title' => 'Preserve activity filters as a user preference',
+    'title' => ts('Preserve activity filters as a user preference'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'When enabled, any filter settings a user selects on the contact\'s Activity tab will be remembered as they visit other contacts',
-    'help_text' => NULL,
+    'description' => ts('When enabled, any filter settings a user selects on the contact\'s Activity tab will be remembered as they visit other contacts.'),
   ),
   'do_not_notify_assignees_for' => array(
     'group_name' => 'CiviCRM Preferences',