X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=src%2Fffluci%2Fi18n.lua;h=11f4afe871ea302287ee02d3b5188f8e43600737;hp=c362d3e5f06d2458a7aac3388ae88df103f5d22b;hb=9ba8d2aea994c832316f111354668f52de831043;hpb=348dc7926806ce4cfe8a5bf8a9f63903469e53c8 diff --git a/src/ffluci/i18n.lua b/src/ffluci/i18n.lua index c362d3e5f..11f4afe87 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()