mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-10 10:26:46 +08:00
* feat: add korean locale support * feat(i18n): localize Korean landing page * fix(i18n): refine Korean landing copy * fix(i18n): refine Korean translations * fix(i18n): translate Korean landing subpages * fix(i18n): route Korean landing docs links * fix(i18n): add Korean use case content * fix(i18n): polish Korean locale copy * fix(i18n): improve Korean landing copy * fix(onboarding): persist Korean helper artifacts Co-authored-by: multica-agent <[email protected]> * fix(web): add use case locale fallback Co-authored-by: multica-agent <[email protected]> * Align Korean pull requests wording Co-authored-by: multica-agent <[email protected]> * fix(i18n): dedupe docs href helper Co-authored-by: multica-agent <[email protected]> * fix(i18n): localize changelog dates Co-authored-by: multica-agent <[email protected]> * fix(docs): prerender Korean fallback pages Co-authored-by: multica-agent <[email protected]> * fix(docs): align fallback hreflang metadata Co-authored-by: multica-agent <[email protected]> * fix(i18n): preserve Chinese CJK font fallback order Co-authored-by: multica-agent <[email protected]> * chore(onboarding): update localized comment wording Co-authored-by: multica-agent <[email protected]> * test(i18n): harden CJK font fallback assertions Co-authored-by: multica-agent <[email protected]> * fix(docs): keep Chinese font fallbacks first Co-authored-by: multica-agent <[email protected]> * test(i18n): harden locale fallback coverage Co-authored-by: multica-agent <[email protected]> --------- Co-authored-by: multica-agent <[email protected]>
11 lines
381 B
TypeScript
11 lines
381 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { docsHrefForLocale } from "./docs-href";
|
|
|
|
describe("docsHrefForLocale", () => {
|
|
it("routes each supported locale to the matching docs entry", () => {
|
|
expect(docsHrefForLocale("en")).toBe("/docs");
|
|
expect(docsHrefForLocale("zh-Hans")).toBe("/docs/zh");
|
|
expect(docsHrefForLocale("ko")).toBe("/docs/ko");
|
|
});
|
|
});
|