summaryrefslogtreecommitdiff
path: root/test/templates/gettext.mako
diff options
context:
space:
mode:
Diffstat (limited to 'test/templates/gettext.mako')
-rw-r--r--test/templates/gettext.mako6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/templates/gettext.mako b/test/templates/gettext.mako
index df47d10..0243bb1 100644
--- a/test/templates/gettext.mako
+++ b/test/templates/gettext.mako
@@ -56,6 +56,12 @@ top = gettext('Begin')
<!-- ${caller.body()} -->
</%def>
+<%block name="foo">
+ ## TRANSLATOR: Ensure so and
+ ## so, thanks
+ ${_('The')} fuzzy ${ungettext('bunny', 'bunnies', random.randint(1, 2))}
+</%block>
+
<%call expr="comment">
P.S.
## TRANSLATOR: HTML comment