mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes locales_utils.lua:10: module 'i18n' not found error
This commit is contained in:
parent
3c9a9437a0
commit
e734f3ee98
1 changed files with 2 additions and 5 deletions
|
|
@ -2,13 +2,10 @@
|
|||
-- (C) 2014-21 - ntop.org
|
||||
--
|
||||
|
||||
if(i18n ~= nil) then
|
||||
-- avoid multiple inclusions
|
||||
return
|
||||
end
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/i18n/?.lua;" .. package.path
|
||||
|
||||
i18n = require "i18n"
|
||||
local dirs = ntop.getDirs()
|
||||
|
||||
local locales = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue