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

This commit is contained in:
Avris 2020-12-07 15:52:21 +01:00
parent e6e1f17191
commit 8a193a4d66
1 changed files with 5 additions and 2 deletions

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