themes: load client side translations
authorJo-Philipp Wich <jo@mein.io>
Thu, 18 Oct 2018 11:58:10 +0000 (13:58 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 5 Nov 2018 10:01:45 +0000 (11:01 +0100)
commit21a151ac1ae0efaebe1dbe1ff51f3eceb09ab85b
treecd47c3a3abb4c8524faefdd46a2b051dd6dcd840
parentab405edfb63c589204fed7d54748f2d1e8108d18
themes: load client side translations

Extend the theme headers to include the translation string scripts,
allowing client side code to translate strings without server side
support.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm
themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm
themes/luci-theme-material/luasrc/view/themes/material/header.htm
themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm