diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-10-18 09:52:07 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-05 11:01:45 +0100 |
commit | 08255e266b590e43c2c9362206928ff7c8a9ab5c (patch) | |
tree | 1de1e1e2bfbf8973de80d1963feca83e845f3b00 /applications/luci-app-pagekitec | |
parent | 62102f4f0e8a88ffbdf44517f4ff737049a3f3bf (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 'applications/luci-app-pagekitec')
0 files changed, 0 insertions, 0 deletions