wichert / lingua

Translation toolkit for Python
Other
46 stars 32 forks source link

Added check againt custom expressions in "structure" mode. #55

Closed tflorac closed 9 years ago

tflorac commented 9 years ago

Hi,

I added a check in Chameleon XML extractor to handle a use case I described in a recent issue... I added a new test to handle this use case. All other tests still pass without problem.

Best regards, Thierry

wichert commented 9 years ago

Looking at the changes there is an oversight here: structure python:_("my text") should result return the python code, but with your current changes it will be skipped. Can you add a test for that?

tflorac commented 9 years ago

Hi, I added a test againt this use case as well as another unit test; all tests still pass. Please have a look ;-)

Regards, Thierry