From 5093dbe128a1247525c7ffda4c5c1d020031637e Mon Sep 17 00:00:00 2001 From: Alex Rusbridge <6761721+AlexRusbridge@users.noreply.github.com> Date: Sat, 20 Dec 2025 09:15:55 +0000 Subject: [PATCH] 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 --- frontend/src/ts/test/british-english.ts | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/frontend/src/ts/test/british-english.ts b/frontend/src/ts/test/british-english.ts index b83122631..b97f3fed7 100644 --- a/frontend/src/ts/test/british-english.ts +++ b/frontend/src/ts/test/british-english.ts @@ -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(