summaryrefslogtreecommitdiffhomepage
path: root/core/src/ffluci/i18n.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-07 20:23:42 +0000
committerSteven Barth <steven@midlink.org>2008-05-07 20:23:42 +0000
commit4264e6b7808066686223d0294bd01a84659f9f38 (patch)
tree4c8a26aaf40560d76cf87c85cbded37c41a49086 /core/src/ffluci/i18n.lua
parent54d92ebab5f402409b26a28994ed9309e47c4b41 (diff)
* Last API changes before 0.4 API softfreeze
Diffstat (limited to 'core/src/ffluci/i18n.lua')
-rw-r--r--core/src/ffluci/i18n.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/ffluci/i18n.lua b/core/src/ffluci/i18n.lua
index 489308cc9e..88381dde7f 100644
--- a/core/src/ffluci/i18n.lua
+++ b/core/src/ffluci/i18n.lua
@@ -25,7 +25,6 @@ limitations under the License.
]]--
module("ffluci.i18n", package.seeall)
-require("ffluci.config")
require("ffluci.sys")
table = {}
@@ -50,7 +49,7 @@ end
-- Same as load but autocompletes the filename with .LANG from config.lang
function loadc(file)
- return load(file .. "." .. ffluci.config.main.lang)
+ return load(file .. "." .. require("ffluci.config").main.lang)
end
-- Returns the i18n-value defined by "key" or if there is no such: "default"