|
|
@ -64,7 +64,7 @@ class I18N extends Component |
|
|
|
* Translates a message to the specified language. |
|
|
|
* Translates a message to the specified language. |
|
|
|
* |
|
|
|
* |
|
|
|
* After translation the message will be formatted using [[MessageFormatter]] if it contains |
|
|
|
* After translation the message will be formatted using [[MessageFormatter]] if it contains |
|
|
|
* ITU message format and `$params` are not empty. |
|
|
|
* ICU message format and `$params` are not empty. |
|
|
|
* |
|
|
|
* |
|
|
|
* @param string $category the message category. |
|
|
|
* @param string $category the message category. |
|
|
|
* @param string $message the message to be translated. |
|
|
|
* @param string $message the message to be translated. |
|
|
|