summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/i18n.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffluci/i18n.lua')
-rw-r--r--src/ffluci/i18n.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ffluci/i18n.lua b/src/ffluci/i18n.lua
index 2a18c27d59..1abe22fd79 100644
--- a/src/ffluci/i18n.lua
+++ b/src/ffluci/i18n.lua
@@ -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"