-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 fix(): add a11y labels to accordion and pagination component (#1001)
* chore(): add a11y labels to accordion and pagination component * chore(): refactor
- Loading branch information
1 parent
42c9965
commit e26ae18
Showing
8 changed files
with
154 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@baloise/design-system-components': patch | ||
--- | ||
|
||
add a11y labels to accordion and pagination component |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
packages/components/src/components/bal-carousel/bal-carousel.i18n.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import { I18n } from '../../interfaces' | ||
|
||
interface I18nCarouselLabel { | ||
left: string | ||
right: string | ||
} | ||
|
||
export const i18nControlLabel: I18n<I18nCarouselLabel> = { | ||
de: { | ||
left: 'vorherige', | ||
right: 'nächste', | ||
}, | ||
en: { | ||
left: 'previous', | ||
right: 'next', | ||
}, | ||
fr: { | ||
left: 'précédent', | ||
right: 'suivant', | ||
}, | ||
it: { | ||
left: 'precedente', | ||
right: 'successivo', | ||
}, | ||
nl: { | ||
left: 'vorige', | ||
right: 'volgende', | ||
}, | ||
es: { | ||
left: 'anterior', | ||
right: 'siguiente', | ||
}, | ||
pl: { | ||
left: 'poprzedni', | ||
right: 'następny', | ||
}, | ||
pt: { | ||
left: 'anterior', | ||
right: 'próximo', | ||
}, | ||
sv: { | ||
left: 'föregående', | ||
right: 'nästa', | ||
}, | ||
fi: { | ||
left: 'edellinen', | ||
right: 'seuraava', | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
packages/components/src/components/bal-pagination/bal-pagination.i18n.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import { I18n } from '../../interfaces' | ||
|
||
interface I18nPaginationContolLabel { | ||
left: string | ||
right: string | ||
} | ||
|
||
export const i18nControlLabel: I18n<I18nPaginationContolLabel> = { | ||
de: { | ||
left: 'Vorherige Seite', | ||
right: 'Nächste Seite', | ||
}, | ||
en: { | ||
left: 'Previous Page', | ||
right: 'Next Page', | ||
}, | ||
fr: { | ||
left: 'Page précédente', | ||
right: 'Page suivante', | ||
}, | ||
it: { | ||
left: 'Pagina precedente', | ||
right: 'Pagina successiva', | ||
}, | ||
nl: { | ||
left: 'Vorige pagina', | ||
right: 'Volgende pagina', | ||
}, | ||
es: { | ||
left: 'Página anterior', | ||
right: 'Página siguiente', | ||
}, | ||
pl: { | ||
left: 'Poprzednia strona', | ||
right: 'Następna strona', | ||
}, | ||
pt: { | ||
left: 'Página anterior', | ||
right: 'Próxima página', | ||
}, | ||
sv: { | ||
left: 'Föregående sida', | ||
right: 'Nästa sida', | ||
}, | ||
fi: { | ||
left: 'Edellinen sivu', | ||
right: 'Seuraava sivu', | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters