schmittjoh/JMSTranslationBundle — pull request #18 by arnaud-lb (2011-12-26 20:07:33+00:00)
Title: Fix DefaultApplyingNodeVisitor when |trans has replacement param

This fixes two issues with the `|trans|desc` filters:

1. `'%foo%'|trans({'%foo%': 'bar'})|desc('Default')` won't print the default translation because `'%foo%'|trans({'%foo%': 'bar'}) != '%foo%'`
2. `'foo'|trans({'%foo%': 'bar'})|desc('%foo%')` will not replace the `%placeholders%` when printing the default value