diff options
author | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2010-03-13 20:13:41 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2010-03-13 20:13:41 +0000 |
commit | 2a9ffa6d28432aaf58d620adfa891c8ff403d131 (patch) | |
tree | 3aabf74246e39618ddc5782b9bfe9407c12c2662 /modules/admin-full/luasrc | |
parent | 7867017972adb7e332a398df03f7de29820e9314 (diff) |
Fix language selection broken after po file merges
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_index/luci.lua | 2 |
1 files changed, 1 insertions, 1 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 75c42c090..e3d7d412a 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_index/luci.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_index/luci.lua @@ -28,7 +28,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 |