diff options
author | ldaverio <laurent@daverio.net> | 2015-05-01 19:09:46 +0200 |
---|---|---|
committer | ldaverio <laurent@daverio.net> | 2015-05-01 19:09:46 +0200 |
commit | f0018d2ba9615a9ac53c0d7679f358cb97aa7fec (patch) | |
tree | af78e4fb15a21a075daf7b472128b9b1e9e25ced /test | |
parent | d9bc582772d76cfdb5dc730f47be2d6ae9b85606 (diff) | |
download | external_python_mako-f0018d2ba9615a9ac53c0d7679f358cb97aa7fec.tar.gz external_python_mako-f0018d2ba9615a9ac53c0d7679f358cb97aa7fec.tar.bz2 external_python_mako-f0018d2ba9615a9ac53c0d7679f358cb97aa7fec.zip |
Provide a testcase for pull request #18.
Diffstat (limited to 'test')
-rw-r--r-- | test/templates/gettext.mako | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/templates/gettext.mako b/test/templates/gettext.mako index ad07c5d..947d76c 100644 --- a/test/templates/gettext.mako +++ b/test/templates/gettext.mako @@ -97,3 +97,13 @@ ${_(u'bar')} ## TRANSLATOR: we still ignore comments too far from the string <p>${_("No action at a distance.")}</p> + +## TRANSLATOR: this block should be ignored during extraction + +% if 1==1: +<p>One is one!</p> +% elif 1==2: +<p>One is two!</p> +% else: +<p>How much is one?</p> +% endif |