mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 03:20:46 +08:00
fix(british-english): adds british english spelling for english-medical.json (@AlexRusbridge) (#7278)
### Description Adds British English spelling for words found in the english-medical word list. - Hematology terms (`hemo-`/`hema-` -> `haemo-`/`haema-`) - Blood condition suffixes (`-emia` -> `-aemia`) - White blood cell terms (`leuko-` -> `leuco-`) - Respiratory terms (`-pnea` -> `-pnoea`) - Other notable conversions (common patterns like `-ize` and other cases) ### Checks - [ ] ~Adding/modifying Typescript code?~ - [ ] ~Adding quotes?comment) so we can verify their content.~ - [ ] ~Adding a language?~ - [ ] ~Adding a theme?~ - [ ] ~Adding a layout?~ - [ ] ~Adding a font?~ - [x] Check if any open issues are related to this PR; if so, be sure to tag them below. - [x] Make sure the PR title follows the Conventional Commits standard. (https://www.conventionalcommits.org for more info) - [x] Make sure to include your GitHub username prefixed with @ inside parentheses at the end of the PR title. --------- Co-authored-by: Jack <jack@monkeytype.com>
This commit is contained in:
parent
8148b05dd6
commit
5093dbe128
1 changed files with 27 additions and 0 deletions
|
|
@ -652,6 +652,33 @@ const replacementRules: BritishEnglishReplacements = {
|
|||
moisturizing: "moisturising",
|
||||
favoring: "favouring",
|
||||
marvelous: "marvellous",
|
||||
hematuria: "haematuria",
|
||||
hemoptysis: "haemoptysis",
|
||||
hemorrhoid: "haemorrhoid",
|
||||
hemorrhagic: "haemorrhagic",
|
||||
hypercalcemia: "hypercalcaemia",
|
||||
hyperglycemia: "hyperglycaemia",
|
||||
hypoglycemia: "hypoglycaemia",
|
||||
toxemia: "toxaemia",
|
||||
hypoxemia: "hypoxaemia",
|
||||
bacteremia: "bacteraemia",
|
||||
hypernatremia: "hypernatraemia",
|
||||
hyponatremia: "hyponatraemia",
|
||||
leukocytosis: "leucocytosis",
|
||||
leukocyte: "leucocyte",
|
||||
leukopenia: "leucopenia",
|
||||
apnea: "apnoea",
|
||||
bradypnea: "bradypnoea",
|
||||
tachypnea: "tachypnoea",
|
||||
orthopnea: "orthopnoea",
|
||||
ileocecal: "ileocaecal",
|
||||
metastasize: "metastasise",
|
||||
lymphedema: "lymphoedema",
|
||||
neuron: "neurone",
|
||||
hemianopsia: "hemianopia",
|
||||
galactorrhea: "galactorrhoea",
|
||||
nebulizer: "nebuliser",
|
||||
paresthesia: "paraesthesia",
|
||||
};
|
||||
|
||||
export async function replace(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue