mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-14 13:22:37 +00:00
* Add Korean UI localization Refreshes the Korean translation from #1544 against the current client locale surface and adds cross-platform locale detection coverage.\n\nCo-authored-by: JinHyeok Jeong <150323322+Kesta-bos@users.noreply.github.com> * fix(i18n): preserve reviewed Korean status labels Restore the wording corrections contributed in the original Korean localization work and lock them with exact-copy assertions. Co-authored-by: JinHyeok Jeong <150323322+Kesta-bos@users.noreply.github.com> --------- Co-authored-by: Mohamed Boudra <boudra.moha@gmail.com> Co-authored-by: JinHyeok Jeong <150323322+Kesta-bos@users.noreply.github.com>
42 lines
1.7 KiB
TypeScript
42 lines
1.7 KiB
TypeScript
import { test, expect } from "../support/fixtures";
|
|
import { gotoAppShell, openSettings } from "../support/helpers/app";
|
|
import { openSettingsSection } from "../support/helpers/settings";
|
|
|
|
test("Settings language selector switches General labels", async ({ page }) => {
|
|
test.setTimeout(120_000);
|
|
|
|
await gotoAppShell(page);
|
|
await openSettings(page);
|
|
await openSettingsSection(page, "general");
|
|
|
|
await expect(page.getByText("Default send", { exact: true }).first()).toBeVisible();
|
|
|
|
await page.getByRole("button", { name: "System", exact: true }).click();
|
|
await page.getByRole("button", { name: "简体中文 - Simplified Chinese", exact: true }).click();
|
|
|
|
await expect(page.getByText("默认发送", { exact: true }).first()).toBeVisible();
|
|
|
|
await page.getByRole("button", { name: "简体中文", exact: true }).click();
|
|
await page.getByRole("button", { name: "English - 英语", exact: true }).click();
|
|
|
|
await expect(page.getByText("Default send", { exact: true }).first()).toBeVisible();
|
|
});
|
|
|
|
test("Settings language selector switches to Korean", async ({ page }) => {
|
|
test.setTimeout(120_000);
|
|
|
|
await gotoAppShell(page);
|
|
await openSettings(page);
|
|
await openSettingsSection(page, "general");
|
|
|
|
await page.getByRole("button", { name: "System", exact: true }).click();
|
|
await page.getByRole("button", { name: "한국어 - Korean", exact: true }).click();
|
|
|
|
await expect(page.getByText("기본 전송", { exact: true }).first()).toBeVisible();
|
|
|
|
await page.getByRole("button", { name: "한국어", exact: true }).click();
|
|
await page.getByRole("button", { name: "English - 영어", exact: true }).click();
|
|
|
|
await expect(page.getByText("Default send", { exact: true }).first()).toBeVisible();
|
|
});
|