mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 04:34:15 -04:00
(fix) Keep example sentences in plural if counter wraps around
Introduced in 89e8ec45
This commit is contained in:
parent
3f3a4095fb
commit
80b373a659
@ -40,7 +40,7 @@ export class Example {
|
||||
}
|
||||
|
||||
parts(pronoun, counter = 0) {
|
||||
const plural = this.isHonorific ? pronoun.pluralHonorific[counter] : pronoun.plural[counter];
|
||||
const plural = this.isHonorific ? pronoun.isPluralHonorific(counter) : pronoun.isPlural(counter);
|
||||
return this[plural ? 'pluralParts' : 'singularParts'];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user