Labels with Nette\Utils\Html are not translated#225
Conversation
MilanPala
commented
Jun 21, 2019
- bug fix: yes
- BC break? no
|
Which bug does it solve? |
|
Translator which supports only strings, I guess. Easier would be solve it in translator, this is probably not the only place where is non-string value translated. if (!is_string($message)) {
return (string) $message;
} |
|
It creates inconsistency with others usage of translate(). |
|
With behavior in Nette 3 i can't use In Nette 2 I don't change In this case would be better use |
|
I see. Translator must return string, but string is escaped by template engine. |
608d595 to
b3356d0
Compare
|
Thanks |