summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-01-14 23:47:56 +0000
committerSteven Barth <steven@midlink.org>2009-01-14 23:47:56 +0000
commitd0d1fe0a28c5dcd5ffe62c59fde634dda2b5f1cd (patch)
tree2c0741ce91c03c1fc5caf2a8549cb3ceda4dbd92 /modules/admin-mini/luasrc
parentd415e9ac42e23ce2c0784be0e092205ec82c78df (diff)
Automatic language detection
Diffstat (limited to 'modules/admin-mini/luasrc')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/luci.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/luci.lua b/modules/admin-mini/luasrc/model/cbi/mini/luci.lua
index 819a9b64d..9eea8715e 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/luci.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/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