Properties:
Name | Type | Description |
---|---|---|
e |
translationErrors | translationErrors |
Methods
(static) getError(key) → {Object}
Parameters:
Name | Type | Description |
---|---|---|
key |
object | translation object |
Returns:
- error object with code, msg and keys
- Type
- Object
(static) getTranslation(key) → {*}
Parameters:
Name | Type | Description |
---|---|---|
key |
object | translation object |
Returns:
- return translated string with correctly applied values
- Type
- *