Merge pull request #7529 from rohankatkar/Webtests_Fix_master
[civicrm-core.git] / settings / Localization.setting.php
index 326969b7649132b81049fa6796f4934989c4cffc..609e30d866a5994c25e2620ca50ff338899b272f 100644 (file)
@@ -39,7 +39,6 @@
 return array(
   'customTranslateFunction' => array(
     'add' => '4.7',
-    'prefetch' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -61,8 +60,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'monetaryThousandSeparator',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'String',
     'quick_form_type' => 'Element',
     'html_type' => 'text',
@@ -81,8 +78,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'monetaryDecimalPoint',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'String',
     'quick_form_type' => 'Element',
     'html_type' => 'text',
@@ -101,8 +96,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'moneyformat',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'String',
     'quick_form_type' => 'Element',
     'html_type' => 'text',
@@ -118,8 +111,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'moneyvalueformat',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'String',
     'quick_form_type' => 'Element',
     'html_type' => 'text',
@@ -135,8 +126,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'defaultCurrency',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'String',
     'quick_form_type' => 'Select',
     'html_type' => 'Select',
@@ -158,8 +147,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'defaultContactCountry',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'String',
     'quick_form_type' => 'Select',
     'html_type' => 'Select',
@@ -179,7 +166,6 @@ return array(
   ),
   'defaultContactStateProvince' => array(
     'add' => '4.7',
-    'prefetch' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -201,8 +187,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'countryLimit',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'Array',
     'quick_form_type' => 'Select',
     'html_type' => 'Select',
@@ -225,8 +209,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'provinceLimit',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'Array',
     'quick_form_type' => 'Select',
     'html_type' => 'Select',
@@ -249,8 +231,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'inheritLocale',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'Boolean',
     'quick_form_type' => 'YesNo',
     'default' => '0',
@@ -265,8 +245,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'dateformatDatetime',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'String',
     'quick_form_type' => 'Element',
     'html_type' => 'text',
@@ -282,8 +260,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'dateformatFull',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'String',
     'quick_form_type' => 'Element',
     'html_type' => 'text',
@@ -299,8 +275,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'dateformatPartial',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'String',
     'quick_form_type' => 'Element',
     'html_type' => 'text',
@@ -314,7 +288,6 @@ return array(
   ),
   'dateformatTime' => array(
     'add' => '4.7',
-    'prefetch' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -334,7 +307,6 @@ return array(
   ),
   'dateformatYear' => array(
     'add' => '4.7',
-    'prefetch' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -354,7 +326,6 @@ return array(
   ),
   'dateInputFormat' => array(
     'add' => '4.7',
-    'prefetch' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -373,7 +344,6 @@ return array(
   ),
   'fieldSeparator' => array(
     'add' => '4.7',
-    'prefetch' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -393,7 +363,6 @@ return array(
   ),
   'fiscalYearStart' => array(
     'add' => '4.7',
-    'prefetch' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -403,7 +372,7 @@ return array(
     'type' => 'Array',
     'quick_form_type' => 'MonthDay',
     'html_type' => 'MonthDay',
-    'default' => ',',
+    'default' => array('M' => 1, 'd' => 1),
     'title' => 'Fiscal Year Start',
     'description' => '',
   ),
@@ -433,8 +402,6 @@ return array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
     'name' => 'lcMessages',
-    'prefetch' => 1,
-    // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
     'type' => 'String',
     'quick_form_type' => 'Select',
     'html_type' => 'Select',
@@ -457,7 +424,6 @@ return array(
   ),
   'legacyEncoding' => array(
     'add' => '4.7',
-    'prefetch' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -477,7 +443,6 @@ return array(
   ),
   'timeInputFormat' => array(
     'add' => '4.7',
-    'prefetch' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -520,6 +485,14 @@ return array(
     'group' => 'localization',
     'name' => 'contact_default_language',
     'type' => 'String',
+    'quick_form_type' => 'Select',
+    'html_type' => 'Select',
+    'html_attributes' => array(
+      'class' => 'crm-select2',
+    ),
+    'pseudoconstant' => array(
+      'callback' => 'CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions',
+    ),
     'default' => '*default*',
     'add' => '4.7',
     'title' => 'Default Language for contacts',