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.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ffluci/i18n.lua b/src/ffluci/i18n.lua
index c362d3e5f0..11f4afe871 100644
--- a/src/ffluci/i18n.lua
+++ b/src/ffluci/i18n.lua
@@ -26,12 +26,10 @@ limitations under the License.
module("ffluci.i18n", package.seeall)
-require("ffluci.fs")
-require("ffluci.util")
require("ffluci.config")
table = {}
-i18ndir = ffluci.fs.dirname(ffluci.util.__file__()) .. "/i18n/"
+i18ndir = ffluci.config.path .. "/i18n/"
-- Clears the translation table
function clear()