mirror of
https://github.com/suitenumerique/docs
synced 2026-04-21 13:37:20 +00:00
♿️(i18n) add "new window" translation key for waffle aria-label
Add key used by LaGaufreV2 for localized aria-label on external links.
This commit is contained in:
parent
0c649a65b0
commit
1016b1c25d
2 changed files with 5 additions and 10 deletions
12
CHANGELOG.md
12
CHANGELOG.md
|
|
@ -14,21 +14,15 @@ and this project adheres to
|
|||
|
||||
- ♿(frontend) localize LaGaufre label fallback in Docs #1979
|
||||
- ✨(backend) add a migration cleaning on-boarding document accesses
|
||||
- ⬆️(frontend) upgrade Next.js to v16 #1980
|
||||
- ♿️(frontend) fix aria-label and landmark on document banner state #1986
|
||||
- 🌐(i18n) add "new window" translation key for waffle aria-label #1984
|
||||
|
||||
### Fixed
|
||||
|
||||
- 🐛(backend) create a link_trace record for on-boarding documents
|
||||
- 🐛(backend) manage race condition when creating sandbox document
|
||||
|
||||
### Changed
|
||||
|
||||
⬆️(frontend) upgrade Next.js to v16 #1980
|
||||
|
||||
|
||||
### Changed
|
||||
|
||||
- ♿️(frontend) fix aria-label and landmark on document banner state #1986
|
||||
|
||||
## [v4.7.0] - 2026-03-09
|
||||
|
||||
### Added
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ export type WaffleType = Omit<
|
|||
const LaGaufreV2Fixed = LaGaufreV2 as React.ComponentType<WaffleType>;
|
||||
|
||||
export const Waffle = () => {
|
||||
const { data: conf } = useConfig();
|
||||
const { t } = useTranslation();
|
||||
const { data: conf } = useConfig();
|
||||
|
||||
const waffleConfig = conf?.theme_customization?.waffle;
|
||||
|
||||
|
|
@ -47,6 +47,7 @@ export const Waffle = () => {
|
|||
<LaGaufreV2Fixed
|
||||
{...waffleConfig}
|
||||
label={waffleConfig.label ?? t('Digital LaSuite services')}
|
||||
newWindowLabelSuffix={t('new window')}
|
||||
/>
|
||||
</Box>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue