X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=settings%2FDirectory.setting.php;h=0fb6485db96a1a550e87975605b25c491c85c041;hb=41f6bd13bd608d13b6d154eb3428b4f33a28835b;hp=c80aadd5ac80545038d5c647d68b9e6428c86cc4;hpb=49cfbaed65e6920698d83b57985df1eb228479a2;p=civicrm-core.git diff --git a/settings/Directory.setting.php b/settings/Directory.setting.php index c80aadd5ac..0fb6485db9 100644 --- a/settings/Directory.setting.php +++ b/settings/Directory.setting.php @@ -1,34 +1,18 @@ array( +return [ + 'uploadDir' => [ 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', 'group_name' => 'Directory Preferences', 'group' => 'directory', @@ -47,13 +31,12 @@ return array( 'quick_form_type' => 'Element', 'default' => NULL, 'add' => '4.1', - 'title' => 'Temporary Files Directory', + 'title' => ts('Temporary Files Directory'), 'is_domain' => 1, 'is_contact' => 0, - 'description' => NULL, 'help_text' => 'File system path where temporary CiviCRM files - such as import data files - are uploaded.', - ), - 'imageUploadDir' => array( + ], + 'imageUploadDir' => [ 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', 'group_name' => 'Directory Preferences', 'group' => 'directory', @@ -63,13 +46,13 @@ return array( 'quick_form_type' => 'Element', 'default' => NULL, 'add' => '4.1', - 'title' => 'Image Directory', + 'title' => ts('Image Directory'), 'is_domain' => 1, 'is_contact' => 0, - 'description' => 'File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).', + 'description' => ts('File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).'), 'help_text' => NULL, - ), - 'customFileUploadDir' => array( + ], + 'customFileUploadDir' => [ 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', 'group_name' => 'Directory Preferences', 'group' => 'directory', @@ -79,13 +62,13 @@ return array( 'quick_form_type' => 'Element', 'default' => NULL, 'add' => '4.1', - 'title' => 'Custom Files Directory', + 'title' => ts('Custom Files Directory'), 'is_domain' => 1, 'is_contact' => 0, - 'description' => 'Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.', + 'description' => ts('Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.'), 'help_text' => NULL, - ), - 'customTemplateDir' => array( + ], + 'customTemplateDir' => [ 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', 'group_name' => 'Directory Preferences', 'group' => 'directory', @@ -95,13 +78,13 @@ return array( 'quick_form_type' => 'Element', 'default' => NULL, 'add' => '4.1', - 'title' => 'Custom Template Directory', + 'title' => ts('Custom Template Directory'), 'is_domain' => 1, 'is_contact' => 0, - 'description' => 'Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)', + 'description' => ts('Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)'), 'help_text' => NULL, - ), - 'customPHPPathDir' => array( + ], + 'customPHPPathDir' => [ 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', 'group_name' => 'Directory Preferences', 'group' => 'directory', @@ -111,13 +94,13 @@ return array( 'quick_form_type' => 'Element', 'default' => NULL, 'add' => '4.1', - 'title' => 'Custom PHP Directory', + 'title' => ts('Custom PHP Directory'), 'is_domain' => 1, 'is_contact' => 0, - 'description' => 'Path where site specific PHP code files are stored if any. This directory is searched first if set.', + 'description' => ts('Path where site specific PHP code files are stored if any. This directory is searched first if set.'), 'help_text' => NULL, - ), - 'extensionsDir' => array( + ], + 'extensionsDir' => [ 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', 'group_name' => 'Directory Preferences', 'group' => 'directory', @@ -127,11 +110,11 @@ return array( 'quick_form_type' => 'Element', 'default' => NULL, 'add' => '4.1', - 'title' => 'Extensions Directory', + 'title' => ts('Extensions Directory'), 'is_domain' => 1, 'is_contact' => 0, - 'description' => 'Path where CiviCRM extensions are stored.', + 'description' => ts('Path where CiviCRM extensions are stored.'), 'help_text' => NULL, - ), + ], -); +];