projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Automatic language detection
[project/luci.git]
/
modules
/
admin-full
/
luasrc
/
model
/
cbi
/
admin_index
/
luci.lua
diff --git
a/modules/admin-full/luasrc/model/cbi/admin_index/luci.lua
b/modules/admin-full/luasrc/model/cbi/admin_index/luci.lua
index
9a0282f
..
20d50cc
100644
(file)
--- a/
modules/admin-full/luasrc/model/cbi/admin_index/luci.lua
+++ b/
modules/admin-full/luasrc/model/cbi/admin_index/luci.lua
@@
-25,6
+25,7
@@
end
c = m:section(NamedSection, "main", "core", translate("general"))
l = c:option(ListValue, "lang", translate("language"))
+l:value("auto")
local i18ndir = luci.i18n.i18ndir .. "default."
for k, v in pairs(luci.config.languages) do