🌐(app-desk) plug i18n to LanguagePicker

- Plug i18n to LanguagePicker.
- Make translatable all the string of the app.
This commit is contained in:
Anthony LC
2024-01-19 11:40:52 +01:00
committed by Anthony LC
parent 01b7ad3f30
commit 7add42f525
5 changed files with 50 additions and 51 deletions

View File

@@ -18,9 +18,6 @@ test.describe("Language", () => {
const header = page.locator("header").first();
await header.getByRole("combobox").getByText("FR").click();
await expect(
header.getByRole("option", { name: "Language Icon FR" }),
).toHaveAttribute("aria-selected", "true");
await header.getByRole("option", { name: "Language Icon EN" }).click();
await expect(header.getByRole("combobox").getByText("EN")).toBeVisible();
});