#61 [en] they/them/themselves

This commit is contained in:
Andrea Vos 2020-12-05 21:19:40 +01:00
parent 4f057b80ca
commit 28eaa3b5d3

View File

@ -286,9 +286,9 @@ 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];
}
options.add(nameOption);
}