Remove unused and largely unreachable code.
[civicrm-core.git] / settings / Developer.setting.php
index 55e8573ad035b00e25760fefe4bfe17d13c514fa..6c181734035553f5ab777630aac616302d1c8e1b 100644 (file)
@@ -33,10 +33,10 @@ return [
     ],
     'default' => 'auto',
     'add' => '4.7',
-    'title' => 'Asset Caching',
+    'title' => ts('Asset Caching'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Store computed JS/CSS content in cache files? (Note: In "Auto" mode, the "Debug" setting will determine whether to activate the cache.)',
+    'description' => ts('Store computed JS/CSS content in cache files? (Note: In "Auto" mode, the "Debug" setting will determine whether to activate the cache.)'),
     'help_text' => NULL,
     'pseudoconstant' => [
       'callback' => '\Civi\Core\AssetBuilder::getCacheModes',
@@ -50,10 +50,10 @@ return [
     'quick_form_type' => 'YesNo',
     'default' => '0',
     'add' => '4.3',
-    'title' => 'Enable Drupal Watchdog Logging',
+    'title' => ts('Enable Drupal Watchdog Logging'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => "Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs",
+    'description' => ts('Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs.'),
     'help_text' => "Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal's watchdog enabled)",
   ],
   'debug_enabled' => [
@@ -66,10 +66,10 @@ return [
     'quick_form_type' => 'YesNo',
     'default' => '0',
     'add' => '4.3',
-    'title' => 'Enable Debugging',
+    'title' => ts('Enable Debugging'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => "Set this value to Yes if you want to use one of CiviCRM's debugging tools. This feature should NOT be enabled for production sites",
+    'description' => ts("Set this value to Yes if you want to use one of CiviCRM's debugging tools. This feature should NOT be enabled for production sites."),
     'help_text' => 'Do not turn this on on production sites',
   ],
   'backtrace' => [
@@ -80,10 +80,10 @@ return [
     'quick_form_type' => 'YesNo',
     'default' => '0',
     'add' => '4.3',
-    'title' => 'Display Backtrace',
+    'title' => ts('Display Backtrace'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => "Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites",
+    'description' => ts('Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites.'),
   ],
   'environment' => [
     'group_name' => 'Developer Preferences',
@@ -97,10 +97,10 @@ return [
       'optionGroupName' => 'environment',
     ],
     'add' => '4.7',
-    'title' => 'Environment',
+    'title' => ts('Environment'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => "Setting to define the environment in which this CiviCRM instance is running.",
+    'description' => ts('Setting to define the environment in which this CiviCRM instance is running.'),
     'on_change' => [
       'CRM_Core_BAO_Setting::onChangeEnvironmentSetting',
     ],
@@ -114,9 +114,9 @@ return [
     'html_type' => 'text',
     'default' => NULL,
     'add' => '4.3',
-    'title' => 'Fatal Error Handler',
+    'title' => ts('Fatal Error Handler'),
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => "Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.",
+    'description' => ts('Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.'),
   ],
 ];