MessageFormatSpecRecord

PackageReified.Constraint
Reads and builds catalogue-owned rendering metadata.

Fields

NameTypeDescription
DescriptorDescriptorNo description available.
FallbackFallbackNo description available.
PluralPluralNo description available.

Specification

Kind
Record
Members
3
Examples
0
descriptorSignature
MessageFormatSpec.descriptor spec
fallbackSignature
MessageFormatSpec.fallback spec
pluralArgumentSignature
MessageFormatSpec.pluralArgument spec

Summary

NameSignatureSynopsis
Operations
descriptorMessageFormatSpec.descriptor specThe message identity and its arguments.
fallbackMessageFormatSpec.fallback specThe owning catalogue's neutral template, used when no resource resolves.
pluralArgumentMessageFormatSpec.pluralArgument specThe argument a translator may pluralize on, when the catalogue declares one.

Operations

kind:member

descriptor

MessageFormatSpec.descriptor spec
Member
The message identity and its arguments.

Parameters

NameTypeDescription
specMessageFormatSpec

Returns

MessageDescriptor
kind:member

fallback

MessageFormatSpec.fallback spec
Member
The owning catalogue's neutral template, used when no resource resolves.

Parameters

NameTypeDescription
specMessageFormatSpec

Returns

string
kind:member

pluralArgument

MessageFormatSpec.pluralArgument spec
Member
The argument a translator may pluralize on, when the catalogue declares one.

Parameters

NameTypeDescription
specMessageFormatSpec

Returns

string option