️(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:
Cyril 2026-03-12 09:59:17 +01:00
parent 0c649a65b0
commit 1016b1c25d
No known key found for this signature in database
GPG key ID: D5E8474B0AB0064A
2 changed files with 5 additions and 10 deletions

View file

@ -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

View file

@ -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>
);