Aller au contenu

pivotick v3.0.0


pivotick / I18nOptions / PluralForms

Interface: PluralForms ​

Défini dans : interfaces/I18n.ts:16

Un message qui dépend d'un décompte, une entrée par CLDR catégorie plurielle utilisée par la langue. Le formulaire est sélectionné par Intl.PluralRules dans le paramètre count ; other est obligatoire car chaque langue l'a.

Exemple ​

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' }

Propriétés ​

few? ​

optional few: string

Défini dans : interfaces/I18n.ts:20


many? ​

optional many: string

Défini dans : interfaces/I18n.ts:21


one? ​

optional one: string

Défini dans : interfaces/I18n.ts:18


other ​

other: string

Défini dans : interfaces/I18n.ts:22


two? ​

optional two: string

Défini dans : interfaces/I18n.ts:19


zero? ​

optional zero: string

Défini dans : interfaces/I18n.ts:17