feat(i18n): standardize bilingual catalogs and tooling

This commit is contained in:
Maofeng
2026-09-20 15:52:31 +08:00
parent ea00a71112
commit 6cd981d6a2
92 changed files with 685 additions and 1986 deletions
@@ -24,7 +24,7 @@ const message: DevtoolMessage = {
origins: [{ file: "src/navigation.tsx", line: 12 }],
packageName: "@workspace/ui",
source: "Home",
sourceLocale: "en",
sourceLocale: "en-US",
translation: "",
}
@@ -310,10 +310,10 @@ describe("MessagePanel", () => {
updateMessage,
}
render(<MessagePanel locale="en" repository={repository} />)
render(<MessagePanel locale="en-US" repository={repository} />)
const textarea = await screen.findByLabelText(
"navigation.home translation for en"
"navigation.home translation for en-US"
)
expect(textarea).toHaveProperty("readOnly", true)