Constructor
new Message()
Properties:
Name | Type | Description |
---|---|---|
key |
string | the i18n translation key to use. It must map to the |
- Source:
- See:
<brut-message>
Renders a translated message for a given key, handling all the needed interpolation based
on the existence of <brut-i18n-translation>
elements on the page.
When the key
attribute has a value, this element will locate the <brut-i18-translation>
element and call translate
. Note that
interpolation is not supported.
Name | Type | Description |
---|---|---|
key |
string | the i18n translation key to use. It must map to the |