X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fweb%2Fluasrc%2Fi18n.lua;h=84a869539715096a55007bf9e90ee0ebab1c8090;hp=5f0ee8a0110de4c412ff168637ad00afd1db6dfa;hb=50093ed3d97c763d344f8f6b7bf934e593a92178;hpb=76982655fa433edd885bbb80bbe74e82fca527e2;ds=sidebyside diff --git a/libs/web/luasrc/i18n.lua b/libs/web/luasrc/i18n.lua index 5f0ee8a01..84a869539 100644 --- a/libs/web/luasrc/i18n.lua +++ b/libs/web/luasrc/i18n.lua @@ -26,10 +26,10 @@ limitations under the License. --- LuCI translation library. module("luci.i18n", package.seeall) -require("luci.sys") +require("luci.util") table = {} -i18ndir = luci.sys.libpath() .. "/i18n/" +i18ndir = luci.util.libpath() .. "/i18n/" loaded = {} context = luci.util.threadlocal() default = "en"