Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions administrator/language/en-GB/plg_system_accessibility.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ PLG_SYSTEM_ACCESSIBILITY_CLOSE="Close"
PLG_SYSTEM_ACCESSIBILITY_CURSOR="Big Cursor"
PLG_SYSTEM_ACCESSIBILITY_DECREASE_SPACING="Decrease Text Spacing"
PLG_SYSTEM_ACCESSIBILITY_DECREASE_TEXT="Decrease Text Size"
PLG_SYSTEM_ACCESSIBILITY_EMOJIS="Icons"
PLG_SYSTEM_ACCESSIBILITY_EMOJIS_FALSE="Use Google Material Font"
PLG_SYSTEM_ACCESSIBILITY_EMOJIS_TRUE="Use Emojis"
PLG_SYSTEM_ACCESSIBILITY_GREY="Grey Hues"
PLG_SYSTEM_ACCESSIBILITY_INCREASE_SPACING="Increase Text Spacing"
PLG_SYSTEM_ACCESSIBILITY_INCREASE_TEXT="Increase Text Size"
Expand Down
17 changes: 6 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/system/accessibility/accessibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function onBeforeCompileHead()
'units' => 'px',
],
],
'useEmojis' => true,
'useEmojis' => $this->params->get('useEmojis') != "false" ? true : false,
],
'hotkeys' => [
'enabled' => true,
Expand Down
10 changes: 10 additions & 0 deletions plugins/system/accessibility/accessibility.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@
<option value="administrator">PLG_SYSTEM_ACCESSIBILITY_SECTION_ADMIN</option>
<option value="both">PLG_SYSTEM_ACCESSIBILITY_SECTION_BOTH</option>
</field>
<field
name="useEmojis"
type="list"
label="PLG_SYSTEM_ACCESSIBILITY_EMOJIS"
default="true"
validate="options"
>
<option value="true">PLG_SYSTEM_ACCESSIBILITY_EMOJIS_TRUE</option>
<option value="false">PLG_SYSTEM_ACCESSIBILITY_EMOJIS_FALSE</option>
</field>
</fieldset>
</fields>
</config>
Expand Down