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 '
'; diff --git a/pandora_console/extensions/pandora_logs.php b/pandora_console/extensions/pandora_logs.php index 4241018a16..71cf847fa5 100644 --- a/pandora_console/extensions/pandora_logs.php +++ b/pandora_console/extensions/pandora_logs.php @@ -69,7 +69,7 @@ function pandoralogs_extension_main () { ui_print_page_header (__("System logfile viewer"), "images/extensions.png", false, "", true, "" ); - echo "

" . __('Use this tool to view your Pandora FMS logfiles directly on the console') . "

"; + echo "

" . __('Use this tool to view your %s logfiles directly on the console', get_product_name()) . "

"; echo "

" . __('You can choose the amount of information shown in general setup (Log size limit in system logs viewer extension), ' . $config['max_log_size'] * 1000 . 'B at the moment') . "

"; diff --git a/pandora_console/extensions/realtime_graphs.php b/pandora_console/extensions/realtime_graphs.php index 0f0fdf6990..e8cac701bb 100644 --- a/pandora_console/extensions/realtime_graphs.php +++ b/pandora_console/extensions/realtime_graphs.php @@ -63,12 +63,12 @@ function pandora_realtime_graphs () { $table->style['snmp_oid'] = 'font-weight: bold;'; $table->data = array (); - $graph_fields['cpu_load'] = __('Pandora Server CPU'); - $graph_fields['pending_packets'] = __('Pandora Server Pending packets'); - $graph_fields['disk_io_wait'] = __('Pandora Server Disk IO Wait'); - $graph_fields['apache_load'] = __('Pandora Server Apache load'); - $graph_fields['mysql_load'] = __('Pandora Server MySQL load'); - $graph_fields['server_load'] = __('Pandora Server load'); + $graph_fields['cpu_load'] = __('%s Server CPU', get_product_name()); + $graph_fields['pending_packets'] = __('Pending packages from %s Server', get_product_name()); + $graph_fields['disk_io_wait'] = __('%s Server Disk IO Wait', get_product_name()); + $graph_fields['apache_load'] = __('%s Server Apache load', get_product_name()); + $graph_fields['mysql_load'] = __('%s Server MySQL load', get_product_name()); + $graph_fields['server_load'] = __('%s Server load', get_product_name()); $graph_fields['snmp_interface'] = __('SNMP Interface throughput'); $graph = get_parameter('graph', 'cpu_load');