In mako template, I need to do something like that :
${'foo %(a)s bar %(b)s' % {'a': '1', 'b': '2'}}
When A do that, I've this error :
SyntaxException: (SyntaxError) unexpected EOF while parsing
(, line 1) ("'foo %(a)s bar %(b)s' % {'a': '1', 'b': '2'") in file…
Do you know a tip to fix this issue ?
I need to use this syntax in translated text : $(_(u'foo bar %(a)s ... %(b)s) % { ... })
Thanks for your help. Stephane