mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Use a global i18n js function for localization (included in the menu). Rename old-style i18n to i18n_ext.
This commit is contained in:
parent
38dfe110d7
commit
018d963b97
47 changed files with 381 additions and 386 deletions
|
|
@ -47,7 +47,7 @@ print[[
|
|||
const interfaceID = ]] print(interface.getStats().id) print[[;
|
||||
|
||||
/* Some localization strings to pass from lua to javascript */
|
||||
const i18n = {
|
||||
const i18n_ext = {
|
||||
"no_results_found": "]] print(i18n("no_results_found")) print[[",
|
||||
"are_you_sure": "]] print(i18n("scripts_list.are_you_sure")) print[[",
|
||||
"change_number_of_rows": "]] print(i18n("change_number_of_rows")) print[[",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue