[ADF-4972] CLONE - Header - sidenav menu button aria-label not translatable (#5178)

* Make aria label fron header sidenav toggle button translateable

* Make aria label fron header sidenav toggle button translateable

* Make aria label fron header sidenav toggle button translateable
This commit is contained in:
Martin Muller
2019-10-24 12:58:03 +01:00
committed by Denys Vuika
parent 7b52a31001
commit da154bb58f
2 changed files with 7 additions and 3 deletions
+4 -1
View File
@@ -43,7 +43,10 @@
},
"CORE": {
"HEADER": {
"LOGO_ARIA": "Company Logo"
"LOGO_ARIA": "Company Logo",
"ACCESSIBILITY": {
"SIDEBAR_TOGGLE_BUTTON_ARIA_LABEL": "Toggle Menu"
}
},
"FILE_SIZE": {
"BYTES": "Bytes",
@@ -10,7 +10,7 @@
class="mat-icon-button adf-menu-icon"
mat-icon-button
(click)="toggleMenu()"
aria-label="Toggle Menu">
[attr.aria-label]="'CORE.HEADER.ACCESSIBILITY.SIDEBAR_TOGGLE_BUTTON_ARIA_LABEL' | translate">
<mat-icon
class="mat-icon material-icon"
role="img"
@@ -43,7 +43,8 @@
class="mat-icon-button adf-menu-icon"
mat-icon-button
(click)="toggleMenu()"
aria-label="Toggle Menu">
[attr.aria-label]="'CORE.HEADER.ACCESSIBILITY.SIDEBAR_TOGGLE_BUTTON_ARIA_LABEL' | translate">
>
<mat-icon
class="mat-icon material-icon"
role="img"