summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/template.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-10-18 09:52:07 +0200
committerJo-Philipp Wich <jo@mein.io>2018-11-05 11:01:45 +0100
commit08255e266b590e43c2c9362206928ff7c8a9ab5c (patch)
tree1de1e1e2bfbf8973de80d1963feca83e845f3b00 /modules/luci-base/luasrc/template.lua
parent62102f4f0e8a88ffbdf44517f4ff737049a3f3bf (diff)
luci-base: fix luci.i18n.setlanguage()
Rework the setlanguage() implementation to actually switch catalogues if another language has been loaded previously and change it to return the effectively loaded language tag. Also improve input parameter validation and accept tags in both lower or upper case. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc/template.lua')
0 files changed, 0 insertions, 0 deletions