Skip to content

Commit

Permalink
make translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
demeritcowboy committed Jan 8, 2020
1 parent e8b892b commit 8640128
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions settings/Core.setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
'default' => FALSE,
'html_type' => 'radio',
'add' => '4.7',
'title' => 'Accept profile submissions from external sites',
'title' => ts('Accept profile submissions from external sites'),
'is_domain' => 1,
'is_contact' => 0,
'description' => ts('If enabled, CiviCRM will permit submissions from external sites to profiles. This is disabled by default to limit abuse.'),
Expand All @@ -186,7 +186,7 @@
'default' => TRUE,
'html_type' => 'radio',
'add' => '4.7',
'title' => 'Allow alerts to auto-dismiss?',
'title' => ts('Allow alerts to auto-dismiss?'),
'is_domain' => 1,
'is_contact' => 0,
'description' => ts('If disabled, CiviCRM will not automatically dismiss any alerts after 10 seconds.'),
Expand Down
24 changes: 12 additions & 12 deletions settings/Developer.setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
],
'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',
Expand All @@ -50,10 +50,10 @@
'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' => [
Expand All @@ -66,10 +66,10 @@
'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' => [
Expand All @@ -80,10 +80,10 @@
'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',
Expand All @@ -97,10 +97,10 @@
'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',
],
Expand All @@ -114,9 +114,9 @@
'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.'),
],
];

0 comments on commit 8640128

Please sign in to comment.