🌐(frontend) add translations

Add french translations.
This commit is contained in:
Anthony LC
2024-08-06 16:10:15 +02:00
committed by Anthony LC
parent 2b824c0862
commit c42fd9be9c
4 changed files with 19 additions and 7 deletions

View File

@@ -169,9 +169,7 @@ test.describe('Doc Editor', () => {
await goToGridDoc(page);
await expect(
page.getByText(
"Read only, you don't have the right to update this document.",
),
page.getByText('Read only, you cannot edit this document.'),
).toBeVisible();
});
});

View File

@@ -42,6 +42,9 @@ test.describe('Doc Version', () => {
expect(await panel.locator('li').count()).toBe(2);
await panel.locator('li').nth(1).click();
await expect(
page.getByText('Read only, you cannot edit document versions.'),
).toBeVisible();
await expect(page.getByText('Hello World')).toBeVisible();
await expect(page.getByText('It will create a version')).toBeHidden();