diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-02-14 14:17:57 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-02-14 14:17:57 +0000 |
commit | 7a0b2a4669e6e0edd7d32f602a19fc76bd7ea052 (patch) | |
tree | 3d6d97b500144dabd4006bcdb203e8b54b8f8c30 | |
parent | 0b4b8a3acc82accbf6fc69d963274f6ed2984980 (diff) | |
download | pmwiki.svn-7a0b2a4669e6e0edd7d32f602a19fc76bd7ea052.tar.bz2 |
Fix some i18n strings.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@4646 524c5546-5005-0410-9a3e-e25e191bd360
-rw-r--r-- | scripts/utils.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/utils.php b/scripts/utils.php index ba95b24f..bcbdcf10 100644 --- a/scripts/utils.php +++ b/scripts/utils.php @@ -17,7 +17,6 @@ * Copy code button from <pre> blocks. * Collapsible sections * Email obfuscation - * Dark color theme management To disable all these functions, add to config.php: $EnablePmUtils = 0; @@ -30,7 +29,7 @@ function PmUtilsJS() { $utils = "$FarmD/pub/pmwiki-utils.js"; $dark = "$FarmD/pub/pmwiki-darktoggle.js"; - $cc = IsEnabled($EnableCopyCode, 0)? PHSC(XL('Copy code'), ENT_QUOTES) : ''; + $cc = IsEnabled($EnableCopyCode, 0)? XL('Copy code') : ''; if($cc) { SDVA($HTMLStylesFmt, array('copycode'=>' @@ -82,7 +81,7 @@ function PmUtilsJS() { if ($enabled && file_exists($dark)) { $config = array( 'enable' => $enabled, - 'label'=> XL('Dark theme: '), + 'label'=> XL('Color theme: '), 'modes'=> array( XL('Light'), XL('Dark'), XL('Auto'), ), ); $json = pm_json_encode($config); |