From 864012821d6ae8d60367b93c614ea629643786a3 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Wed, 8 Jan 2020 15:06:37 -0500 Subject: [PATCH] make translatable --- settings/Core.setting.php | 4 ++-- settings/Developer.setting.php | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/settings/Core.setting.php b/settings/Core.setting.php index 2b44ca6aae..fea724abd9 100644 --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@ -171,7 +171,7 @@ return [ '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.'), @@ -186,7 +186,7 @@ return [ '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.'), diff --git a/settings/Developer.setting.php b/settings/Developer.setting.php index 55e8573ad0..6c18173403 100644 --- a/settings/Developer.setting.php +++ b/settings/Developer.setting.php @@ -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.'), ], ]; -- 2.25.1