Skip to content

Commit 52a8784

Browse files
Temporarily remove the ability to choose Chinese (Traditional) while we assess the accuracy of the translation. (#1012)
1 parent 4f22029 commit 52a8784

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/settings/settings.test.ts

+8
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,12 @@ describe("isValidSettingsObject", () => {
2828
})
2929
).toEqual(true);
3030
});
31+
it("checks language is supported", () => {
32+
expect(
33+
isValidSettingsObject({
34+
...defaultSettings,
35+
languageId: "xx",
36+
})
37+
).toEqual(false);
38+
});
3139
});

src/settings/settings.tsx

-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ export const supportedLanguages: Language[] = [
2828
name: "中文(中华人民共和国)",
2929
enName: "Chinese (Simplified)",
3030
},
31-
{
32-
id: "zh-tw",
33-
name: "中文(繁體,台灣)",
34-
enName: "Chinese (Traditional)",
35-
},
3631
{
3732
id: "fr",
3833
name: "Français",

0 commit comments

Comments
 (0)