Naar inhoud

pivotick v3.0.0


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? ​

optional few: string

Gedefinieerd in: interfaces/I18n.ts:20


many? ​

optional many: string

Gedefinieerd in: interfaces/I18n.ts:21


one? ​

optional one: string

Gedefinieerd in: interfaces/I18n.ts:18


other ​

other: string

Gedefinieerd in: interfaces/I18n.ts:22


two? ​

optional two: string

Gedefinieerd in: interfaces/I18n.ts:19


zero? ​

optional zero: string

Gedefinieerd in: interfaces/I18n.ts:17