Skip to content

Commit

Permalink
Temporarily remove the ability to choose Chinese (Traditional) while …
Browse files Browse the repository at this point in the history
…we assess the accuracy of the translation. (#1012)
  • Loading branch information
microbit-matt-hillsdon authored Sep 30, 2022
1 parent 4f22029 commit 52a8784
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 8 additions & 0 deletions src/settings/settings.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,12 @@ describe("isValidSettingsObject", () => {
})
).toEqual(true);
});
it("checks language is supported", () => {
expect(
isValidSettingsObject({
...defaultSettings,
languageId: "xx",
})
).toEqual(false);
});
});
5 changes: 0 additions & 5 deletions src/settings/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ export const supportedLanguages: Language[] = [
name: "中文(中华人民共和国)",
enName: "Chinese (Simplified)",
},
{
id: "zh-tw",
name: "中文(繁體,台灣)",
enName: "Chinese (Traditional)",
},
{
id: "fr",
name: "Français",
Expand Down

0 comments on commit 52a8784

Please sign in to comment.