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?
optionalfew:string
Défini dans : interfaces/I18n.ts:20
many?
optionalmany:string
Défini dans : interfaces/I18n.ts:21
one?
optionalone:string
Défini dans : interfaces/I18n.ts:18
other
other:
string
Défini dans : interfaces/I18n.ts:22
two?
optionaltwo:string
Défini dans : interfaces/I18n.ts:19
zero?
optionalzero:string
Défini dans : interfaces/I18n.ts:17