Closed rhertogh closed 9 years ago
Nested translations were not detected. E.g.:
//only 'demo {test_link} demo' would be added Yii::t('app', 'demo {test_link} demo', [ 'test_link' => Html::a(Yii::t('app', 'Link text'), $url), ]);
This patch checks if there is a third param passed to the translate function (Line 171), and if so it will check the buffer recursively (Line 174).
Thanks :)
Nested translations were not detected. E.g.:
This patch checks if there is a third param passed to the translate function (Line 171), and if so it will check the buffer recursively (Line 174).