Skip to content

Commit

Permalink
Fix aria-hidden attribute, tranlate text, copy/paste errof
Browse files Browse the repository at this point in the history
  • Loading branch information
chmst committed Apr 19, 2020
1 parent 0190ef9 commit 90ff98f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -36,23 +36,23 @@

<div class="card card-secondary">
<div class="card-header">
<section class="d-flex flex-wrap w-100" aria-label="COM_MODULES_GLOBAL">
<section class="d-flex flex-wrap w-100" aria-label="<?php echo Text::_('COM_MODULES_GLOBAL'); ?>">
<div class="d-flex align-items-center mb-1"><?php echo Text::_('JSELECT'); ?>:
<button id="treeCheckAll" class="btn btn-secondary btn-sm mx-1" type="button">
<span class="aria-hidden"><?php echo Text::_('JALL'); ?></span>
<span aria-hidden="true"><?php echo Text::_('JALL'); ?></span>
<span class="sr-only"><?php echo Text::_('COM_MODULES_GLOBAL_SELECT_ALL'); ?></span>
</button>
<button id="treeUncheckAll" class="btn btn-secondary btn-sm mx-1" type="button">
<span class="aria-hidden"><?php echo Text::_('JNONE'); ?></span>
<span aria-hidden="true"><?php echo Text::_('JNONE'); ?></span>
<span class="sr-only"><?php echo Text::_('COM_MODULES_GLOBAL_SELECT_NONE'); ?></span>
</button>
</div>
<div class="d-flex align-items-center mb-1"><?php echo Text::_('COM_MODULES_EXPAND'); ?>:
<button id="treeExpandAll" class="btn btn-secondary btn-sm mx-1" type="button">
<span class="aria-hidden"><?php echo Text::_('JALL'); ?></span>
<span aria-hidden="true"><?php echo Text::_('JALL'); ?></span>
<span class="sr-only"><?php echo Text::_('COM_MODULES_GLOBAL_MENUS_EXPAND'); ?></span>
<button id="treeCollapseAll" class="btn btn-secondary btn-sm mx-1" type="button">
<span class="aria-hidden"><?php echo Text::_('JALL'); ?></span>
<span aria-hidden="true"><?php echo Text::_('JNONE'); ?></span>
<span class="sr-only"><?php echo Text::_('COM_MODULES_GLOBAL_MENUS_COLLAPSE'); ?></span>
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion administrator/language/en-GB/com_modules.ini
Expand Up @@ -58,7 +58,7 @@ COM_MODULES_FILTER_SEARCH_DESC="Filter by position name."
COM_MODULES_GENERAL_FIELDSET_DESC="Configure module edit interface settings."
COM_MODULES_GLOBAL="Global Assignement of the Module"
COM_MODULES_GLOBAL_SELECT_ALL="Assign the Module to all Menu Items."
COM_MODULES_GLOBAL_SELECT_NONE="Assign the Module to no Menu Item."
COM_MODULES_GLOBAL_SELECT_NONE="Assign the Module to no Menu Items."
COM_MODULES_GLOBAL_MENUS_EXPAND="Expand the whole Menu Tree."
COM_MODULES_GLOBAL_MENUS_COLLAPSE="Collapse the whole Menu Tree."
COM_MODULES_HEADING_MODULE="Type"
Expand Down

0 comments on commit 90ff98f

Please sign in to comment.