summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-radicale/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-10-17 12:57:34 +0200
committerJo-Philipp Wich <jo@mein.io>2018-11-05 11:01:45 +0100
commit62102f4f0e8a88ffbdf44517f4ff737049a3f3bf (patch)
tree014bf7a3f47798a05bcdede54da8779f7a4e8491 /applications/luci-app-radicale/root
parent4623a58394b1cc71ddf24865a2f0639ee2119470 (diff)
luci-base: template: add translation iterator function
Introduce a new luci.template.parser.get_translations() function which will iterate all loaded translation entries and pass the to the given callback function. This is useful to expose the loaded translations in other formats, e.g. for wrapping them into JSON feeds. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-radicale/root')
0 files changed, 0 insertions, 0 deletions