mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Reworked locales and menu
This commit is contained in:
parent
c18a83da2e
commit
bbfcc42994
8 changed files with 48 additions and 30 deletions
|
|
@ -1,8 +1,16 @@
|
|||
--
|
||||
-- (C) 2014-16 - ntop.org
|
||||
--
|
||||
|
||||
dirs = ntop.getDirs()
|
||||
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?/init.lua;" .. package.path
|
||||
|
||||
require "lua_trace"
|
||||
|
||||
i18n = require "i18n"
|
||||
local locale = "en" -- FIX make it configurable
|
||||
i18n.loadFile(dirs.installdir..'/scripts/locales/'..locale..'.lua')
|
||||
|
||||
-- ##############################################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue