projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved luci.sys.libpath to luci.util
[project/luci.git]
/
libs
/
web
/
luasrc
/
i18n.lua
diff --git
a/libs/web/luasrc/i18n.lua
b/libs/web/luasrc/i18n.lua
index
5f0ee8a
..
84a8695
100644
(file)
--- 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)
--- LuCI translation library.
module("luci.i18n", package.seeall)
-require("luci.
sys
")
+require("luci.
util
")
table = {}
table = {}
-i18ndir = luci.
sys
.libpath() .. "/i18n/"
+i18ndir = luci.
util
.libpath() .. "/i18n/"
loaded = {}
context = luci.util.threadlocal()
default = "en"
loaded = {}
context = luci.util.threadlocal()
default = "en"