luci/modules/luci-base/luasrc/controller/admin
Jo-Philipp Wich c916b5ed87 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>
2018-11-05 11:01:45 +01:00
..
index.lua luci-base: expose system translations to JavaScript 2018-11-05 11:01:45 +01:00
uci.lua modules: Make luci-base sufficient to use luci apps 2018-09-19 20:08:19 +02:00