Ok I put it up.
It does not affect the _() syntax at all, except for allowing the use
of _() within a trans tag... But I don't feel that it is a problem.
The patch includes a backwards-compatiblity workaround. Again I bring
up the single/double quote issue, but since {% trans %} works with
single quotes and FilterExpression does not, I had to add a few lines
of code to fix strings surrounded with single quotes so they would be
surrounded with doubles instead :)
There are still some issues around that actually, for example if the
user has something like this:
{% trans 'Please select an "object"' %}
It will be broken with the new patch since the single quotes will be
replaced with doubles. I am working on some ideas on how to combat
this since simply escaping the quotes with two \\ does do the trick
because FilterExpression interprets them literally...
Now it's time for bed.
//D
On Nov 18, 4:09 am, Malcolm Tredinnick <
malc...@pointy-stick.com>
wrote: