* CBI update
[project/luci.git] / src / ffluci / i18n.lua
index 2a18c27d597ec58c73d0e820b3d7448a44b3218e..1abe22fd79f395c6a1ff2fc74d12ec527f5b4cf4 100644 (file)
@@ -52,7 +52,7 @@ end
 
 -- Same as load but autocompletes the filename with .LANG from config.lang
 function loadc(file)
-       return load(file .. "." .. ffluci.config.lang)
+       return load(file .. "." .. ffluci.config.main.lang)
 end
 
 -- Returns the i18n-value defined by "key" or if there is no such: "default"