luci/modules
Jo-Philipp Wich 70e32f0cb1 luci-base: dispatcher.uc: ensure usage of dashes in language tags
The LuCI uci configuration requires language tags with underscores due
limitations of uci option names but the language catalogs themselves
are designated with dash separated language tags.

Make sure to substitute underscores with dashes when determining the
desired request language in order to fix loading of languages such as
`pt-br` or `zh-cn`.

Ref: https://github.com/openwrt/luci/pull/5976#issuecomment-1290352951
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 13:01:31 +02:00
..
luci-base luci-base: dispatcher.uc: ensure usage of dashes in language tags 2022-10-25 13:01:31 +02:00
luci-compat treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
luci-lua-runtime luci-lua-runtime: drop Lua server gateway modules 2022-10-25 01:03:37 +02:00
luci-mod-admin-full luci-base: use cgi-io and rpcd-mod-file to handle file upload and browsing 2019-09-10 15:28:16 +02:00
luci-mod-admin-mini treewide: removed trailing whitespaces and extra newlines in 'modules' 2021-01-20 17:48:16 +02:00
luci-mod-battstatus Translated using Weblate (Danish) 2022-08-01 10:34:29 +03:00
luci-mod-dashboard Translated using Weblate (German) 2022-10-09 19:47:52 +03:00
luci-mod-network luci-mod-network: remove uneeded libiwinfo-lua dependency 2022-10-25 01:03:37 +02:00
luci-mod-rpc treewide: removed trailing whitespaces and extra newlines in 'modules' 2021-01-20 17:48:16 +02:00
luci-mod-status luci-mod-status: transform status page Lua template into ucode template 2022-10-25 01:03:37 +02:00
luci-mod-system luci-mod-system: drop unused Lua code 2022-10-25 01:03:37 +02:00