Pivotick / I18nOptions / PluralForms
Interface: PluralForms
Definiert in: interfaces/I18n.ts:16
Eine Nachricht, die von einer Zählung abhängt, ein Eintrag pro CLDR Pluralkategorie, die die Sprache verwendet. Das Formular wird von Intl.PluralRules aus dem count-Parameter ausgewählt; other ist erforderlich, da es in jeder Sprache vorhanden ist.
Beispiel
ts
{ one: 'Hid {count} node', other: 'Hid {count} nodes' }
// Polish needs three forms
{ one: 'Ukryto {count} węzeł', few: 'Ukryto {count} węzły', many: 'Ukryto {count} węzłów', other: 'Ukryto {count} węzła' }Eigenschaften
few?
optionalfew:string
Definiert in: interfaces/I18n.ts:20
many?
optionalmany:string
Definiert in: interfaces/I18n.ts:21
one?
optionalone:string
Definiert in: interfaces/I18n.ts:18
other
other:
string
Definiert in: interfaces/I18n.ts:22
two?
optionaltwo:string
Definiert in: interfaces/I18n.ts:19
zero?
optionalzero:string
Definiert in: interfaces/I18n.ts:17