diff --git a/pandora_console/extensions/api_checker.php b/pandora_console/extensions/api_checker.php index 6aecf21073..24f7bc31ed 100755 --- a/pandora_console/extensions/api_checker.php +++ b/pandora_console/extensions/api_checker.php @@ -101,7 +101,7 @@ function extension_api_checker() { $table->data[] = $row; $row = array(); - $row[] = __("Pandora Console URL"); + $row[] = __("%s Console URL", get_product_name()); $row[] = html_print_input_text('pandora_url', $pandora_url, '', 50, 255, true); $table->data[] = $row; diff --git a/pandora_console/extensions/db_status.php b/pandora_console/extensions/db_status.php index d184850a34..84cf67022d 100755 --- a/pandora_console/extensions/db_status.php +++ b/pandora_console/extensions/db_status.php @@ -180,10 +180,10 @@ function extension_db_check_tables_differences($connection_test, $diff_tables = array_diff($tables_test, $tables_system); ui_print_result_message( - empty($diff_tables), - __('Successful the DB Pandora has all tables'), - __('Pandora DB could not retrieve all tables. The missing tables are (%s)', - implode(", ", $diff_tables))); + !empty($diff_tables), + __('Success! %s DB contains all tables', get_product_name()), + __('%s DB could not retrieve all tables. The missing tables are (%s)', + get_product_name(), implode(", ", $diff_tables))); if (!empty($diff_tables)) { foreach ($diff_tables as $table) { diff --git a/pandora_console/extensions/net_tools.php b/pandora_console/extensions/net_tools.php index 2f18a569d4..a223f6aa96 100644 --- a/pandora_console/extensions/net_tools.php +++ b/pandora_console/extensions/net_tools.php @@ -313,23 +313,23 @@ function godmode_net_tools() { $table->data = array(); $table->data[0][0] = __("Traceroute path"); - $table->data[0][0] .= ui_print_help_tip(__('If it is empty, Pandora searchs the traceroute system.'), true); + $table->data[0][0] .= ui_print_help_tip(__('If empty, %s will search the traceroute system.', get_product_name()), true); $table->data[0][1] = html_print_input_text('traceroute_path', $traceroute_path, '', 40, 255, true); $table->data[1][0] = __("Ping path"); - $table->data[1][0] .= ui_print_help_tip(__('If it is empty, Pandora searchs the ping system.'), true); + $table->data[1][0] .= ui_print_help_tip(__('If empty, %s will search the ping system.', get_product_name()), true); $table->data[1][1] = html_print_input_text('ping_path', $ping_path, '', 40, 255, true); $table->data[2][0] = __("Nmap path"); - $table->data[2][0] .= ui_print_help_tip(__('If it is empty, Pandora searchs the nmap system.'), true); + $table->data[2][0] .= ui_print_help_tip(__('If empty, %s will search the nmap system.', get_product_name()), true); $table->data[2][1] = html_print_input_text('nmap_path', $nmap_path, '', 40, 255, true); $table->data[3][0] = __("Dig path"); - $table->data[3][0] .= ui_print_help_tip(__('If it is empty, Pandora searchs the dig system.'), true); + $table->data[3][0] .= ui_print_help_tip(__('If empty, %s will search the dig system', get_product_name()), true); $table->data[3][1] = html_print_input_text('dig_path', $dig_path, '', 40, 255, true); $table->data[4][0] = __("Snmpget path"); - $table->data[4][0] .= ui_print_help_tip(__('If it is empty, Pandora searchs the snmpget system.'), true); + $table->data[4][0] .= ui_print_help_tip(__('If empty, %s will search the snmpget system.', get_product_name()), true); $table->data[4][1] = html_print_input_text('snmpget_path', $snmpget_path, '', 40, 255, true); echo '