draaipunt / I18nOptions / PluralForms
Interface: PluralForms
Gedefinieerd in: interfaces/I18n.ts:16
Een bericht dat afhankelijk is van een telling, één invoer per CLDR meervoudige categorie van de taal gebruikt. Het formulier wordt gekozen met Intl.PluralRules uit de parameter count; other is vereist omdat elke taal het heeft.
Voorbeeld
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' }Eigenschappen
few?
optionalfew:string
Gedefinieerd in: interfaces/I18n.ts:20
many?
optionalmany:string
Gedefinieerd in: interfaces/I18n.ts:21
one?
optionalone:string
Gedefinieerd in: interfaces/I18n.ts:18
other
other:
string
Gedefinieerd in: interfaces/I18n.ts:22
two?
optionaltwo:string
Gedefinieerd in: interfaces/I18n.ts:19
zero?
optionalzero:string
Gedefinieerd in: interfaces/I18n.ts:17