feat(i18n): standardize bilingual catalogs and tooling
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user