terminal/.github/actions/spelling/allow
Leonard Hecker e34897cd1f
Add a language switcher using PrimaryLanguageOverride (#10309)
## Summary of the Pull Request

This PR adds a global "language" setting, which may be set to any supported BCP 47 tag.
Additionally a ComboBox is added to the settings UI under "Appearance", listing all languages with their localized names.

This PR introduces one new issue: If you change the language while the app is running, the UI will be in a torn state, as not all UI elements refresh automatically if the `PrimaryLanguageOverride` is changed.

## PR Checklist
* [x] Closes #5497
* [x] I work here
* [x] Tests added/passed
* [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx
* [x] Schema updated

## Validation Steps Performed

* UI language changes when changing the "language" in settings.json before starting WT / while WT is running. ✔️
* "language" field is removed from settings.json if "Use system default" is selected. ✔️
* "language" field is added or updated in settings.json if any other language is selected. ✔️
* Removes qps- languages if debugFeatures is false. ✔️
* Correctly refreshes all UI elements with the new language. 
2021-06-10 23:24:21 +00:00
..
allow.txt Add a language switcher using PrimaryLanguageOverride (#10309) 2021-06-10 23:24:21 +00:00
apis.txt Add support for branch- and branding-based feature flagging (#10361) 2021-06-10 23:09:52 +00:00
chinese.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
colors.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
fonts.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
japanese.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
math.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
microsoft.txt Fix compilation with VS16.10 and later (#10208) 2021-05-26 20:11:38 +00:00
names.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
README.md ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00

Allow files are lists of words to accept unconditionally

While check spelling will complain about an expected word which is no longer present, you can include things here even if they are not otherwise present in the repository.

E.g., you could include a list of system APIs here, or potential contributors (so that if a future commit includes their name, it'll be accepted).

Files

File Description
Allow Supplements to the dictionary
Chinese Chinese words
Japanese Japanese words
Microsoft Microsoft brand items
Fonts Font names
Names Names of people
Colors Names of color