diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-06-08 15:48:03 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-06-08 15:48:26 +0200 |
commit | 588c8618b6860cf88bfcf2262b104a86a5764f6e (patch) | |
tree | a91452e3486722d507db3d66281be30ca66db9fe /modules/luci-mod-freifunk/luasrc/view | |
parent | 0e0ee2fed51f7108ee088e121ecbba479a5e88cc (diff) |
luci-mod-admin-full: fix translation interpolation in JS confirm() calls
Use luci.http.write_json() in conjunction with translate() to write out
unescaped translation strings in a manner suitable for interpolation inside
JavaScript.
Fixes #1870
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-freifunk/luasrc/view')
0 files changed, 0 insertions, 0 deletions