1 | <?php |
||
14 | class I18N extends \yii\i18n\I18N |
||
15 | { |
||
16 | /** |
||
17 | * Removes wrapper `{Lang:text}` that is returned by API |
||
18 | * {@inheritdoc} |
||
19 | */ |
||
20 | public function translate($category, $message, $params, $language) |
||
28 | |||
29 | /** |
||
30 | * Unwraps `{Lang:message}`. |
||
31 | * @param $message |
||
32 | * @return string |
||
33 | */ |
||
34 | protected function removeLegacyLangTags($message) |
||
38 | } |
||
39 |