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-full/luasrc/model | |
parent | d415e9ac42e23ce2c0784be0e092205ec82c78df (diff) |
Automatic language detection
Diffstat (limited to 'modules/admin-full/luasrc/model')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_index/luci.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 9a0282f3a7..20d50cceb5 100644 --- 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 |