wichert / lingua

Translation toolkit for Python
Other
46 stars 32 forks source link

Problem with custom TALES extension #54

Closed tflorac closed 9 years ago

tflorac commented 9 years ago

Hi, I'm using Lingua (3.8) with Python (3.4) on a Pyramid package using Chameleon templates. I have created a custom "provider:" TALES expressions, which works perfectly with Chameleon but generates an error in Lingua. My PT code is as follow:

...
<tal:var content="structure provider:pyams.toolbar" />
...

Lingua error is: Aborting due to Python syntax error in ./src/templates/table.pt[11]: (python:pyams.toolbar)

Any idea?

Best regards, Thierry

wichert commented 9 years ago

This was fixed with #55