Currently, validators are using {{ param }} notation for message parameters,
but the documentation
<http://symfony.com/doc/current/book/translation.html#message-placeholders>suggests
using %param% notation in message placeholders.
As far as I understand, the notation used in validators can't be changed
without breaking b/c, unless we duplicate parameters in both notations. On
the other hand, changing documentation to suggest using {{ param }} notation
everywhere is also impossible, because it will not work with Twig (at least
without extra steps). This leads to possible confusion for translators,
which are usually far from understanding these things. Any ideas on how this
can be fixed?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en