diff --git a/pandora_console/include/javascript/connection_check.js b/pandora_console/include/javascript/connection_check.js index f791a36232..d1fde9eae9 100644 --- a/pandora_console/include/javascript/connection_check.js +++ b/pandora_console/include/javascript/connection_check.js @@ -86,8 +86,8 @@ function showConnectionMessage(conn = true, msg = "") { .closest(".ui-dialog-content") .dialog("close"); } else { - data.title = "Connection with server has been lost"; - data.text = "Connection status: " + msg; + data.title = get_php_value("title_conexion_interval"); + data.text = get_php_value("status_conexion_interval") + msg; infoMessage(data, "message_dialog_connection"); } diff --git a/pandora_console/index.php b/pandora_console/index.php index d3ad4799b6..79abe421b1 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -1490,6 +1490,8 @@ echo html_print_div( // Connection lost alert. set_js_value('check_conexion_interval', $config['check_conexion_interval']); +set_js_value('title_conexion_interval', __('Connection with console has been lost')); +set_js_value('status_conexion_interval', __('Connection status: ')); ui_require_javascript_file('connection_check'); set_js_value('absolute_homeurl', ui_get_full_url(false, false, false, false)); $conn_title = __('Connection with console has been lost');