Move user scripts localization to the main localization file

This commit is contained in:
emanuele-f 2020-01-24 11:58:57 +01:00
parent 0e2e8c61c4
commit 2d7b7c86e6
11 changed files with 22 additions and 32 deletions

View file

@ -30,8 +30,8 @@ local script = {
-- Allow user script configuration from the GUI
gui = {
-- Localization strings, from the "locales" directory of the plugin
i18n_title = "syn_scan_alert.syn_scan_attacker_title",
i18n_description = "syn_scan_alert.syn_scan_attacker_description",
i18n_title = "entity_thresholds.syn_scan_attacker_title",
i18n_description = "entity_thresholds.syn_scan_attacker_description",
-- The input builder to use to draw the gui
input_builder = "threshold_cross",

View file

@ -30,8 +30,8 @@ local script = {
-- Allow user script configuration from the GUI
gui = {
-- Localization strings, from the "locales" directory of the plugin
i18n_title = "syn_scan_alert.syn_scan_victim_title",
i18n_description = "syn_scan_alert.syn_scan_victim_description",
i18n_title = "entity_thresholds.syn_scan_victim_title",
i18n_description = "entity_thresholds.syn_scan_victim_description",
-- The input builder to use to draw the gui
input_builder = "threshold_cross",