aboutsummaryrefslogtreecommitdiffstats
path: root/test/templates/gettext.mako
diff options
context:
space:
mode:
Diffstat (limited to 'test/templates/gettext.mako')
-rw-r--r--test/templates/gettext.mako9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/templates/gettext.mako b/test/templates/gettext.mako
index 367af55..ad07c5d 100644
--- a/test/templates/gettext.mako
+++ b/test/templates/gettext.mako
@@ -88,3 +88,12 @@ ${_(u'bar')}
</%def>
+## TRANSLATOR: <p> tag is ok?
+<p>${_("Inside a p tag")}</p>
+
+## TRANSLATOR: also this
+<p>${even_with_other_code_first()} - ${_("Later in a p tag")}</p>
+
+## TRANSLATOR: we still ignore comments too far from the string
+
+<p>${_("No action at a distance.")}</p>