_
Translates a message.
info
Shorthand for L10n._
.
Signature
_(message: string, ...arguments: string[]): string
Parameters
Name | Type | Optional | Description |
---|---|---|---|
message | string | No | Specifies the message to translate. |
arguments | string[] | Yes | Optional string arguments which can be referenced in the message using the percent sign followed by the argument index %n . The first argument is referenced with %1 . |
Return value
Returns the translated message.