MessageFormatSpecModule

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

Summary

NameSignatureSynopsis
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.

descriptor

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

Parameters

NameTypeDescription
specMessageFormatSpec

Returns

MessageDescriptor

fallback

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

Parameters

NameTypeDescription
specMessageFormatSpec

Returns

string

pluralArgument

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

Parameters

NameTypeDescription
specMessageFormatSpec

Returns

string option