Properties
Link copied to clipboard
The arguments to be used in the localized string. As an array, the index of the argument is used to match the template placeholder in the localized string. As a Record, the key is used to match the template placeholder in the localized string.
Link copied to clipboard
The message to localize. If options.args is an array, this message supports index templating where strings like {0}
and {1}
are replaced by the item at that index in the options.args array. If args
is a Record<string, any>
, this supports named templating where strings like {foo}
and {bar}
are replaced by the value in the Record for that key (foo, bar, etc).