summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2010-03-13 20:13:41 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2010-03-13 20:13:41 +0000
commit2a9ffa6d28432aaf58d620adfa891c8ff403d131 (patch)
tree3aabf74246e39618ddc5782b9bfe9407c12c2662 /modules/admin-mini
parent7867017972adb7e332a398df03f7de29820e9314 (diff)
Fix language selection broken after po file merges
Diffstat (limited to 'modules/admin-mini')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/luci.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/luci.lua b/modules/admin-mini/luasrc/model/cbi/mini/luci.lua
index 58755fde7..78255c1d9 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/luci.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/luci.lua
@@ -30,7 +30,7 @@ c = m:section(NamedSection, "main", "core", translate("General"))
l = c:option(ListValue, "lang", translate("Language"))
l:value("auto")
-local i18ndir = luci.i18n.i18ndir .. "default."
+local i18ndir = luci.i18n.i18ndir .. "base."
for k, v in luci.util.kspairs(luci.config.languages) do
local file = i18ndir .. k:gsub("_", "-")
if k:sub(1, 1) ~= "." and fs.access(file .. ".lmo") then