Skip to content

Commit

Permalink
Provide a testcase for pull request zzzeek#18.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldaverio committed May 1, 2015
1 parent d9bc582 commit f0018d2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/templates/gettext.mako
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f0018d2

Please sign in to comment.