MessageFormatSpecModule
PackageReified.Constraint
Reads and builds catalogue-owned rendering metadata.
Summary
| Name | Signature | Synopsis |
|---|---|---|
| descriptor | MessageFormatSpec.descriptor spec | The message identity and its arguments. |
| fallback | MessageFormatSpec.fallback spec | The owning catalogue's neutral template, used when no resource resolves. |
| pluralArgument | MessageFormatSpec.pluralArgument spec | The argument a translator may pluralize on, when the catalogue declares one. |
The message identity and its arguments.
Parameters
| Name | Type | Description |
|---|---|---|
| spec | MessageFormatSpec |
Returns
MessageDescriptor
The owning catalogue's neutral template, used when no resource resolves.
Parameters
| Name | Type | Description |
|---|---|---|
| spec | MessageFormatSpec |
Returns
string