diff --git a/httpdocs/js/config_callbacks/config-list-utils.js b/httpdocs/js/config_callbacks/config-list-utils.js index cb670e59af..ea4300361a 100644 --- a/httpdocs/js/config_callbacks/config-list-utils.js +++ b/httpdocs/js/config_callbacks/config-list-utils.js @@ -137,6 +137,8 @@ $(document).ready(function() { $(".dataTables_filter").find("input[type='search']").val('').trigger('keyup'); }, language: { + info: i18n.showing_x_to_y_rows, + search: i18n.config_search, paginate: { previous: '<', next: '>', diff --git a/httpdocs/js/config_callbacks/scripts-list-utils.js b/httpdocs/js/config_callbacks/scripts-list-utils.js index 1f3668f03a..0d7d973400 100644 --- a/httpdocs/js/config_callbacks/scripts-list-utils.js +++ b/httpdocs/js/config_callbacks/scripts-list-utils.js @@ -1498,6 +1498,8 @@ $(document).ready(function() { dom: "Bfrtip", pagingType: 'full_numbers', language: { + info: i18n.showing_x_to_y_rows, + search: i18n.script_search, paginate: { previous: '<', next: '>', diff --git a/httpdocs/templates/config_list.html b/httpdocs/templates/config_list.html index 1f966c503d..1f36a35ffe 100644 --- a/httpdocs/templates/config_list.html +++ b/httpdocs/templates/config_list.html @@ -107,6 +107,9 @@ i18n.apply_to = "{{ i18n('config_scripts.actions.apply_to') }}"; i18n.invalid_file = "{{ i18n('config_scripts.invalid_file') }}"; i18n.no_file = "{{ i18n('config_scripts.no_file') }}"; i18n.default = "{{ i18n('policy_presets.default') }}"; +i18n.showing_x_to_y_rows = "{{ i18n('showing_x_to_y_rows', {x='_START_', y='_END_', tot='_TOTAL_'}) }}"; +i18n.config_search = "{{ i18n('config_scripts.config_search') }}"; + diff --git a/httpdocs/templates/script_list.html b/httpdocs/templates/script_list.html index b02ad921cb..457a7f5ae3 100644 --- a/httpdocs/templates/script_list.html +++ b/httpdocs/templates/script_list.html @@ -106,6 +106,8 @@ i18n.items_list_comma = "{{ i18n('scripts_list.items_list_comma') }}"; i18n.blacklisted_country = "{{ i18n('scripts_list.blacklisted_country') }}"; i18n.expired_csrf = "{{ i18n('expired_csrf') }}"; i18n.filter_categories = "{{ i18n('scripts_list.filter_dropdown') }}"; +i18n.showing_x_to_y_rows = "{{ i18n('showing_x_to_y_rows', {x='_START_', y='_END_', tot='_TOTAL_'}) }}"; +i18n.script_search = "{{ i18n('scripts_list.script_search') }}"; i18n.scripts_list = {}; i18n.scripts_list.templates = {}; diff --git a/scripts/locales/en.lua b/scripts/locales/en.lua index fe9fdb00a3..e433d486a4 100644 --- a/scripts/locales/en.lua +++ b/scripts/locales/en.lua @@ -590,6 +590,7 @@ local lang = { ["config_rename_message"] = "Type the new name for the configurarion", ["config_reset"] = "Reset Configuration", ["config_reset_confirm"] = "Do you really want to delete all the configurations and reset the default configuration to its initial value?", + ["config_search"] = "Search Config:", ["config_x"] = "Config %{product}", ["empty_target_message"] = "Select one or more targets!", ["empty_value_message"] = "The input box cannot be empty!", @@ -2203,7 +2204,6 @@ local lang = { ["chart_script_rrds"] = "%{script} TS Stats", ["degraded_performance"] = "Degraded Performance", ["duration"] = "Duration", - ["max_duration_secs"] = "Max Duration", ["flow_calls_stats"] = "flow.lua Calls Stats", ["flow_lua_duration"] = "flow.lua Duration", ["hash_entries"] = "Hash Entries", @@ -2220,6 +2220,7 @@ local lang = { ["last_start_time_ago"] = "%{time} ago", ["lua"] = "Lua", ["max_duration_ms"] = "Max Duration", + ["max_duration_secs"] = "Max Duration", ["missed_idle"] = "Missed Idle", ["missed_periodic_update"] = "Missed Periodic Update", ["missed_proto_detected"] = "Missed Proto Detected", @@ -2233,9 +2234,9 @@ local lang = { ["periodic_activities"] = "Periodic Activities", ["periodic_activities_descr"] = "Hover the mouse on any of the listed activites to read its description.", ["periodic_activities_last_start_time_descr"] = "Last Start indicates when the periodic activity was started the last time.", + ["periodic_activities_max_duration_secs_descr"] = "Max Duration indicates how long a script is allowed to execute.", ["periodic_activities_not_shown"] = "Only periodic activities which have been scheduled at least once are shown.", ["periodic_activities_periodicity_descr"] = "Frequency indicates how often a periodic activity is scheduled for execution.", - ["periodic_activities_max_duration_secs_descr"] = "Max Duration indicates how long a script is allowed to execute.", ["periodic_activities_rrd_descr"] = "TS stands for Timeseries.", ["periodic_activities_tot_not_executed_descr"] = "Total Not Executed counts the number of times a periodic activity wasn't scheduled for execution, either because it was already running (running slow) or already scheduled (no thread was availabe to execute it).", ["periodic_activities_tot_running_slow_descr"] = "Total Running Slow counts the number of times a periodic activity was taking too long to complete.", @@ -3355,6 +3356,7 @@ local lang = { ["missing_configset"] = "The requested config set was not found!", ["previous_page"] = "Click here to return to the previous page!", ["reset_default"] = "Reset Default", + ["script_search"] = "Search Script:", ["scripts_x"] = "Scripts %{subdir} - %{config}", ["select_operator"] = "Please select an operator!", ["template_not_found"] = "The template was not found!", diff --git a/scripts/locales/it.lua b/scripts/locales/it.lua index 342f110986..582d29db19 100644 --- a/scripts/locales/it.lua +++ b/scripts/locales/it.lua @@ -374,6 +374,7 @@ local lang = { ["config_name"] = "Nome Configurazione", ["config_rename"] = "Rinomina Configurazione", ["config_rename_message"] = "Digita il nuovo nome per la configurazione", + ["config_search"] = "Cerca Configurazione:", ["config_setting"] = "Impostazioni Configurazione", ["config_x"] = "Config %{product}", ["no_targets_applied"] = "questa configurazione non รจ applicata a nesusn target specifico!", @@ -2332,6 +2333,7 @@ local lang = { ["are_you_sure"] = "Le modifiche non sono ancora state salvate. Sei veramente sicuro di volere chiudere la finestra?", ["config"] = "Configurazione", ["reset_default"] = "Ripristina Default", + ["script_search"] = "Cerca Script:", ["scripts_x"] = "Scripts %{subdir} - %{config}", }, ["sflows_stats"] = {