From 4e0607a74555609dae6e4125d93b8be317e501a9 Mon Sep 17 00:00:00 2001 From: Shubham Verma Date: Sun, 11 Sep 2022 05:16:12 +0530 Subject: [PATCH] supply language translated string for pause animation --- administrator/language/en-GB/plg_system_accessibility.ini | 1 + plugins/system/accessibility/accessibility.php | 1 + 2 files changed, 2 insertions(+) diff --git a/administrator/language/en-GB/plg_system_accessibility.ini b/administrator/language/en-GB/plg_system_accessibility.ini index 3f96fc6e19..5710b82e6d 100644 --- a/administrator/language/en-GB/plg_system_accessibility.ini +++ b/administrator/language/en-GB/plg_system_accessibility.ini @@ -16,6 +16,7 @@ PLG_SYSTEM_ACCESSIBILITY_INCREASE_SPACING="Increase Text Spacing" PLG_SYSTEM_ACCESSIBILITY_INCREASE_TEXT="Increase Text Size" PLG_SYSTEM_ACCESSIBILITY_INVERT_COLORS="Invert Colours" PLG_SYSTEM_ACCESSIBILITY_MENU_TITLE="Accessibility Options" +PLG_SYSTEM_ACCESSIBILITY_PAUSE_ANIMATIONS="Pause Animations" PLG_SYSTEM_ACCESSIBILITY_READING="Reading Guide" PLG_SYSTEM_ACCESSIBILITY_RESET="Reset" PLG_SYSTEM_ACCESSIBILITY_SECTION="Site Section" diff --git a/plugins/system/accessibility/accessibility.php b/plugins/system/accessibility/accessibility.php index 9d709f7e77..a534b788d5 100644 --- a/plugins/system/accessibility/accessibility.php +++ b/plugins/system/accessibility/accessibility.php @@ -82,6 +82,7 @@ public function onBeforeCompileHead() 'underlineLinks' => Text::_('PLG_SYSTEM_ACCESSIBILITY_UNDERLINE'), 'bigCursor' => Text::_('PLG_SYSTEM_ACCESSIBILITY_CURSOR'), 'readingGuide' => Text::_('PLG_SYSTEM_ACCESSIBILITY_READING'), + 'pauseAnimations' => Text::_('PLG_SYSTEM_ACCESSIBILITY_PAUSE_ANIMATIONS'), 'textToSpeech' => Text::_('PLG_SYSTEM_ACCESSIBILITY_TTS'), 'speechToText' => Text::_('PLG_SYSTEM_ACCESSIBILITY_STT'), 'resetTitle' => Text::_('PLG_SYSTEM_ACCESSIBILITY_RESET'),