From 4a50f432170506138f8859fb2761924678806985 Mon Sep 17 00:00:00 2001 From: vgilc Date: Thu, 12 Jan 2012 14:20:32 +0000 Subject: [PATCH] 2012-01-12 Vanessa Gil * include/functions_graph.php include/functions_netflow.php: translate netflow titles. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/include/functions_graph.php | 4 ++-- pandora_console/include/functions_netflow.php | 10 +++++----- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 8796db8cf7..4febf7204e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2012-01-12 Vanessa Gil + * include/functions_graph.php + include/functions_netflow.php: translate netflow titles. + 2012-01-12 Vanessa Gil * pandoradb.oracle.sql pandoradb.postgreSQL.sql diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index e4f522b213..ebb946a61f 100755 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -1940,7 +1940,7 @@ function graph_netflow_aggregate_area ($data, $period, $width, $height, $title, global $config; global $graphic_type; - echo"

Gráfica de área

"; + echo"

".__('Area graph')."

"; include_flash_chart_script($homeurl); if (empty ($data)) { @@ -2053,7 +2053,7 @@ function graph_netflow_aggregate_pie ($data) { global $config; global $graphic_type; - echo"

Gráfica totalizada

"; + echo"

".__('Graphic totalized')."

"; if (empty ($data)) { echo fs_error_image (); diff --git a/pandora_console/include/functions_netflow.php b/pandora_console/include/functions_netflow.php index f610249b26..12222db260 100644 --- a/pandora_console/include/functions_netflow.php +++ b/pandora_console/include/functions_netflow.php @@ -193,12 +193,12 @@ function netflow_stat_table ($data, $start_date, $end_date, $show){ $table->width = '50%'; $table->class = 'databox'; $table->data = array(); - $title = "Desde $start_date hasta $end_date"; + $title = __('From')." ".$start_date." ".__('to')." ".$end_date; $j = 0; $x = 1; - echo"

Suma por periodo ($show)

"; - $table->data[0][0] = ''.__('Rango').''; + echo"

".__('Amount per period')." (".$show.")

"; + $table->data[0][0] = ''.__('Rank').''; $table->data[0][1] = ''.$title.''; while (isset ($data[$j])) { @@ -257,8 +257,8 @@ function netflow_data_table ($data, $start_date, $end_date, $unit){ $table->class = 'databox'; $table->data = array(); - echo"

Tabla de valores ($unit)

"; - $table->data[0][0] = ''.__('Rango').''; + echo"

".__('Table values'). " (".$unit.")

"; + $table->data[0][0] = ''.__('Rank').''; $j = 0; $source_index = array ();