[en] longer display name for 'they' and 'e'

This commit is contained in:
Andrea Vos 2020-12-07 17:52:21 +01:00
parent fd5988d0a6
commit 27e0bf6b5f

View File

@ -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);
}