diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-10-18 13:44:39 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-05 11:01:45 +0100 |
commit | c916b5ed875675749c3a04c7b95340a5d4443722 (patch) | |
tree | 457e344c0628a2f5777956ab4c72dfd767f74779 /modules/luci-mod-network/root/etc/uci-defaults | |
parent | 8ff68c772b76855954cc7a2c163df4056fa19c56 (diff) |
luci-base: expose system translations to JavaScript
Add a new /admin/translations/ endpoint which exposes the loaded system
translations as JavaScript file.
Once referenced by <script>, the endpoint will create a `window.TR` object
containing the entire translation string table for use on the client side.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/root/etc/uci-defaults')
0 files changed, 0 insertions, 0 deletions