summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-01-11 15:37:05 +0100
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-01-13 11:36:46 +0100
commit09498a8887587df0096bcab5ffee62c757d38ae2 (patch)
treefd9f97f2b398c7e898db86bc6fe29ad12dfb3620 /ogcp/templates/actions
parent91f3567d0935da46b8064100952a3974cecc3a67 (diff)
Use lazy translation in classes
From flask babel documentation: --- Additionally if you want to use constant strings somewhere in your application and define them outside of a request, you can use a lazy strings. Lazy strings will not be evaluated until they are actually used. To use such a lazy string, use the lazy_gettext() function. --- _() and _l() functions are aliases of gettext() and lazy_gettext() respectively. Both functions belong to flask babel library.
Diffstat (limited to 'ogcp/templates/actions')
0 files changed, 0 insertions, 0 deletions