Skip to content

Commit 5093dbe

Browse files
fix(british-english): adds british english spelling for english-medical.json (@AlexRusbridge) (monkeytypegame#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 <[email protected]>
1 parent 8148b05 commit 5093dbe

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

frontend/src/ts/test/british-english.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,33 @@ const replacementRules: BritishEnglishReplacements = {
652652
moisturizing: "moisturising",
653653
favoring: "favouring",
654654
marvelous: "marvellous",
655+
hematuria: "haematuria",
656+
hemoptysis: "haemoptysis",
657+
hemorrhoid: "haemorrhoid",
658+
hemorrhagic: "haemorrhagic",
659+
hypercalcemia: "hypercalcaemia",
660+
hyperglycemia: "hyperglycaemia",
661+
hypoglycemia: "hypoglycaemia",
662+
toxemia: "toxaemia",
663+
hypoxemia: "hypoxaemia",
664+
bacteremia: "bacteraemia",
665+
hypernatremia: "hypernatraemia",
666+
hyponatremia: "hyponatraemia",
667+
leukocytosis: "leucocytosis",
668+
leukocyte: "leucocyte",
669+
leukopenia: "leucopenia",
670+
apnea: "apnoea",
671+
bradypnea: "bradypnoea",
672+
tachypnea: "tachypnoea",
673+
orthopnea: "orthopnoea",
674+
ileocecal: "ileocaecal",
675+
metastasize: "metastasise",
676+
lymphedema: "lymphoedema",
677+
neuron: "neurone",
678+
hemianopsia: "hemianopia",
679+
galactorrhea: "galactorrhoea",
680+
nebulizer: "nebuliser",
681+
paresthesia: "paraesthesia",
655682
};
656683

657684
export async function replace(

0 commit comments

Comments
 (0)