aboutsummaryrefslogtreecommitdiffstats
path: root/test/templates/gettext.mako
diff options
context:
space:
mode:
authorDerek Harland <derek.harland@finq.co.nz>2014-04-08 12:22:12 +1200
committerDerek Harland <derek.harland@finq.co.nz>2014-04-08 12:22:12 +1200
commit68c28cb42c9e8b42a3425ddf863bbafa5c80d086 (patch)
treee05802594ea96c9c7274c1c3c2951051209870ef /test/templates/gettext.mako
parent62926b5d9c3bb2d5459d8a2c78b700c33530a333 (diff)
parent76f40065e7cba19d7fa211329a859eab7c5e9111 (diff)
downloadexternal_python_mako-68c28cb42c9e8b42a3425ddf863bbafa5c80d086.tar.gz
external_python_mako-68c28cb42c9e8b42a3425ddf863bbafa5c80d086.tar.bz2
external_python_mako-68c28cb42c9e8b42a3425ddf863bbafa5c80d086.zip
Merged zzzeek/mako into master
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>