From 8a193a4d66c651c95666492370047f682b03a956 Mon Sep 17 00:00:00 2001 From: Avris Date: Mon, 7 Dec 2020 15:52:21 +0100 Subject: [PATCH] [en] longer display name for 'they' and 'e' --- src/classes.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/classes.js b/src/classes.js index 245123cc..d9c023cd 100644 --- a/src/classes.js +++ b/src/classes.js @@ -286,9 +286,12 @@ export class Pronoun { : this.morphemes[MORPHEMES[1]].split('&'); for (let i in optionsN) { let nameOption = optionsN[i] + '/' + optionsG[i < optionsG.length - 1 ? i : optionsG.length - 1]; - if (nameOption === 'they/them' && this.morphemes['reflexive'].split('&')[i] === 'themself') { + if (nameOption === 'they/them') { // TODO english specific, extract - nameOption = 'they/them/themself'; + nameOption += '/' + this.morphemes['reflexive'].split('&')[i]; + } else if (nameOption === 'e/em') { + // TODO english specific, extract + nameOption += '/' + this.morphemes['possessive_determiner'].split('&')[i]; } options.add(nameOption); }