Function
gettext
(__context, __string, **variables)
Source from the content-addressed store, hash-verified
| 137 | def _make_new_gettext(func): |
| 138 | @contextfunction |
| 139 | def gettext(__context, __string, **variables): |
| 140 | rv = __context.call(func, __string) |
| 141 | if __context.eval_ctx.autoescape: |
| 142 | rv = Markup(rv) |
| 143 | return rv % variables |
| 144 | return gettext |
| 145 | |
| 146 | |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…