diff options
author | Steven Barth <steven@midlink.org> | 2009-01-14 23:47:56 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-01-14 23:47:56 +0000 |
commit | d0d1fe0a28c5dcd5ffe62c59fde634dda2b5f1cd (patch) | |
tree | 2c0741ce91c03c1fc5caf2a8549cb3ceda4dbd92 /modules/admin-mini/luasrc/model/cbi | |
parent | d415e9ac42e23ce2c0784be0e092205ec82c78df (diff) |
Automatic language detection
Diffstat (limited to 'modules/admin-mini/luasrc/model/cbi')
-rw-r--r-- | modules/admin-mini/luasrc/model/cbi/mini/luci.lua | 1 |
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 819a9b64d3..9eea8715ed 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 |