From 2a9ffa6d28432aaf58d620adfa891c8ff403d131 Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Sat, 13 Mar 2010 20:13:41 +0000 Subject: Fix language selection broken after po file merges --- modules/admin-mini/luasrc/model/cbi/mini/luci.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/admin-mini/luasrc/model/cbi') diff --git a/modules/admin-mini/luasrc/model/cbi/mini/luci.lua b/modules/admin-mini/luasrc/model/cbi/mini/luci.lua index 58755fde74..78255c1d97 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 -- cgit v1.2.3