pivotick / I18nOptions / PluralForms
Interface: PluralForms
Defined in: interfaces/I18n.ts:16
A message that depends on a count, one entry per CLDR plural category the language uses. The form is picked by Intl.PluralRules from the count param; other is required because every language has it.
Example
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' }Properties
few?
optionalfew:string
Defined in: interfaces/I18n.ts:20
many?
optionalmany:string
Defined in: interfaces/I18n.ts:21
one?
optionalone:string
Defined in: interfaces/I18n.ts:18
other
other:
string
Defined in: interfaces/I18n.ts:22
two?
optionaltwo:string
Defined in: interfaces/I18n.ts:19
zero?
optionalzero:string
Defined in: interfaces/I18n.ts:17