️(frontend) use aria-label trad for version history modal #2023

Replace hardcoded aria-label with aria-lab trad.
This commit is contained in:
Cyril
2026-03-18 09:54:30 +01:00
parent ef108227b3
commit cdf3161869
2 changed files with 2 additions and 2 deletions
@@ -163,7 +163,7 @@ test.describe('Doc Version', () => {
await expect(modal.getByText('World')).toBeHidden();
await page.getByRole('button', { name: 'Restore' }).click();
await page.getByRole('button', { name: 'Restore', exact: true }).click();
await expect(page.getByText('Your current document will')).toBeVisible();
await page.getByText('If a member is editing, his').click();
@@ -118,7 +118,7 @@ export const ModalSelectVersion = ({
`}
>
<Box
aria-label="version list"
aria-label={t('Version list')}
$css={css`
overflow-y: auto;
flex: 1;