2008-10-22 Jorge Gonzalez <jorgegonz@artica.es>

* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

        * include/languages/index.pot: Updated po template file.

        * operation/messages/message.php, operation/servers/view_server.php,
          general/logon_ok.php, godmode/admin_access_logs.php,
          godmode/db/db_purge.php, godmode/agentes/manage_config.php,
          godmode/agentes/planned_downtime.php,
          godmode/agentes/manage_config_remote.php,
          godmode/reporting/graph_builder.php,
          godmode/servers/modificar_server.php: Updated translation
          infrastructure.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
aloriel 2008-10-22 15:03:48 +00:00
parent e97ec02c47
commit b95b1b0c6f
14 changed files with 740 additions and 610 deletions

View File

@ -1,3 +1,19 @@
2008-10-22 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish
translation.
* include/languages/index.pot: Updated po template file.
* operation/messages/message.php, operation/servers/view_server.php,
general/logon_ok.php, godmode/admin_access_logs.php,
godmode/db/db_purge.php, godmode/agentes/manage_config.php,
godmode/agentes/planned_downtime.php,
godmode/agentes/manage_config_remote.php,
godmode/reporting/graph_builder.php,
godmode/servers/modificar_server.php: Updated translation
infrastructure.
2008-10-22 Evi Vanoost <vanooste@rcbi.rochester.edu> 2008-10-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/snmpconsole/snmp_view.php: Style update and uses new * operation/snmpconsole/snmp_view.php: Style update and uses new

View File

@ -138,19 +138,19 @@ $users_defined = get_db_sql ($query1);
echo "<table class='databox' celldpadding=4 cellspacing=4 width=250>"; echo "<table class='databox' celldpadding=4 cellspacing=4 width=250>";
echo "<th colspan=2>".__('Pandora FMS Overview')."</th>"; echo "<th colspan=2>".__('Pandora FMS Overview')."</th>";
echo "<tr><td class='datos2'><b>"."Total agents"."</b></td>"; echo "<tr><td class='datos2'><b>".__('Total agents')."</b></td>";
echo "<td class='datos2' style='font: bold 2em Arial, Sans-serif; color: #000;'>".$total_agents."</td>"; echo "<td class='datos2' style='font: bold 2em Arial, Sans-serif; color: #000;'>".$total_agents."</td>";
echo "</tr><tr><td class='datos'><b>"."Total checks"."</b></td>"; echo "</tr><tr><td class='datos'><b>".__('Total checks')."</b></td>";
echo "<td class='datos' style='font: bold 2em Arial, Sans-serif; color: #000;'>".$total_checks."</td>"; echo "<td class='datos' style='font: bold 2em Arial, Sans-serif; color: #000;'>".$total_checks."</td>";
echo "</tr><tr><td class='datos2'><b>"."Monitor BAD"."</b></td>"; echo "</tr><tr><td class='datos2'><b>".__('Monitor BAD')."</b></td>";
echo "<td class='datos2' style='font: bold 2em Arial, Sans-serif; color: #f00;'>"; echo "<td class='datos2' style='font: bold 2em Arial, Sans-serif; color: #f00;'>";
if ($monitor_bad > 0) if ($monitor_bad > 0)
echo $monitor_bad; echo $monitor_bad;
else else
echo "-"; echo "-";
echo "</td></tr><tr><td class='datos'><b>"."Alerts defined"."</b></td>"; echo "</td></tr><tr><td class='datos'><b>".__('Alerts defined')."</b></td>";
echo "<td class='datos' style='font: bold 2em Arial, Sans-serif; color: #000;'>".$total_alerts."</td>"; echo "<td class='datos' style='font: bold 2em Arial, Sans-serif; color: #000;'>".$total_alerts."</td>";
echo "</tr><tr><td class='datos2'><b>"."Total users"."</b></td>"; echo "</tr><tr><td class='datos2'><b>".__('Total users')."</b></td>";
echo "<td class='datos2' style='font: bold 2em Arial, Sans-serif; color: #000;'>".$users_defined."</td>"; echo "<td class='datos2' style='font: bold 2em Arial, Sans-serif; color: #000;'>".$users_defined."</td>";
echo "</tr></table>"; echo "</tr></table>";
@ -168,7 +168,7 @@ $table->size = array ();
$table->size[2] = '130px'; $table->size[2] = '130px';
$table->size[4] = '200px'; $table->size[4] = '200px';
$table->head = array (); $table->head = array ();
$table->head[0] = __('user'); $table->head[0] = __('User');
$table->head[1] = __('Action'); $table->head[1] = __('Action');
$table->head[2] = __('Date'); $table->head[2] = __('Date');
$table->head[3] = __('Source IP'); $table->head[3] = __('Source IP');

View File

@ -102,7 +102,7 @@ $result=mysql_query($query1);
// table header // table header
echo '<table cellpadding="4" cellspacing="4" width="700" class="databox">'; echo '<table cellpadding="4" cellspacing="4" width="700" class="databox">';
echo '<tr>'; echo '<tr>';
echo '<th width="80px">'.__('user').'</th>'; echo '<th width="80px">'.__('User').'</th>';
echo '<th>'.__('Action').'</th>'; echo '<th>'.__('Action').'</th>';
echo '<th width="130px">'.__('Date').'</th>'; echo '<th width="130px">'.__('Date').'</th>';
echo '<th width="100px">'.__('Source IP').'</th>'; echo '<th width="100px">'.__('Source IP').'</th>';

View File

@ -341,7 +341,7 @@ if (isset ($_POST["delete_agent"])) {
// ============ // ============
// title // title
echo '<h2>'.__('Agent configuration'). '&gt;'. __('Configuration Management').'</h2>'; echo '<h2>'.__('Agent configuration'). ' &gt; '. __('Configuration Management').'</h2>';
echo '<form method="post" action="index.php?sec=gagente&sec2=godmode/agentes/manage_config&operacion=1">'; echo '<form method="post" action="index.php?sec=gagente&sec2=godmode/agentes/manage_config&operacion=1">';
echo '<table width="650" border="0" cellspacing="4" cellpadding="4" class="databox">'; echo '<table width="650" border="0" cellspacing="4" cellpadding="4" class="databox">';

View File

@ -79,7 +79,7 @@ if ((isset($_GET["operacion"])) AND ($update_agent == -1) AND ($update_group ==
} else { } else {
// title // title
echo '<h2>'.__('Agent configuration'). '&gt;'. __('Configuration Management').'</h2>'; echo '<h2>'.__('Agent configuration'). ' &gt; '. __('Configuration Management').'</h2>';
echo '<form method="post" action="index.php?sec=gagente&sec2=godmode/agentes/manage_config_remote&operacion=1">'; echo '<form method="post" action="index.php?sec=gagente&sec2=godmode/agentes/manage_config_remote&operacion=1">';
echo "<table width='650' border='0' cellspacing='4' cellpadding='4' class='databox'>"; echo "<table width='650' border='0' cellspacing='4' cellpadding='4' class='databox'>";

View File

@ -278,7 +278,7 @@ if ($create_downtime || $update_downtime) {
$sql = "SELECT * FROM tplanned_downtime"; $sql = "SELECT * FROM tplanned_downtime";
$downtimes = get_db_all_rows_sql ($sql); $downtimes = get_db_all_rows_sql ($sql);
if (!$downtimes) { if (!$downtimes) {
echo '<div class="nf">'.('No planned downtime').'</div>'; echo '<div class="nf">'.__('No planned downtime').'</div>';
} }
else { else {
foreach ($downtimes as $downtime) { foreach ($downtimes as $downtime) {

View File

@ -38,7 +38,7 @@ if (isset ($_POST["agent"])){
echo '<h2>'.__('Database Maintenance').' &gt;'.__('Database purge').'</h2> echo '<h2>'.__('Database Maintenance').' &gt; '.__('Database purge').'</h2>
<img src="reporting/fgraph.php?tipo=db_agente_purge&id='.$id_agent.'" /> <img src="reporting/fgraph.php?tipo=db_agente_purge&id='.$id_agent.'" />
<br /><br /> <br /><br />
<h3>'.__('Get data from agent').'</h3>'; <h3>'.__('Get data from agent').'</h3>';

View File

@ -214,7 +214,7 @@ if (isset ($chunk1)) {
echo "<tr> echo "<tr>
<th>".__('Agent')."</th> <th>".__('Agent')."</th>
<th>".__('Module')."</th> <th>".__('Module')."</th>
<th>Weight</th> <th>".__('Weight')."</th>
<th>".__('Delete')."</th>"; <th>".__('Delete')."</th>";
$color=0; $color=0;
for ($a=0; $a < count($module_array); $a++){ for ($a=0; $a < count($module_array); $a++){
@ -261,12 +261,8 @@ if (($render == 1) && (isset($modules))) {
// SOURCE AGENT TABLE/FORM // SOURCE AGENT TABLE/FORM
// ----------------------- // -----------------------
if ($add_module) { echo __('Graph builder')."</h2>";
echo __('Graph builder')."</h2>"; echo "<table width='500' cellpadding='4' cellpadding='4' class='databox_color'>";
} else {
echo "<h3>".__('Graph builder')."</h3>";
}
echo "<table width='500' cellpadding=4 cellpadding=4 class='databox_color'>";
echo "<form method='post' action='index.php?sec=greporting&sec2=godmode/reporting/graph_builder'>"; echo "<form method='post' action='index.php?sec=greporting&sec2=godmode/reporting/graph_builder'>";
print_input_hidden ('add_module', 1); print_input_hidden ('add_module', 1);
if (isset($period)) if (isset($period))

View File

@ -84,7 +84,7 @@ if (isset($_GET["server"])) {
$table->width = "90%"; $table->width = "90%";
$table->class = "databox"; $table->class = "databox";
$table->align = array ('',"center","center","center","center","center","center","center"); $table->align = array ('',"center","center","center","center","center","center","center");
$table->head = array (__('Name'),__('Status'),__('IP Address'),__('Description'),__('Type'),__('Started at'),__('Updated at'),__('Delete')); $table->head = array (__('Name'),__('Status'),__('IP Address'),__('Description'),__('Type'),__('Started'),__('Updated'),__('Delete'));
foreach ($result as $row) { foreach ($result as $row) {
$server = ""; $server = "";

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -55,7 +55,7 @@ if (isset ($_GET["nuevo_mensaje_g"])){
} }
} }
} }
echo "<h2>".__('Messages')." - "; echo "<h2>".__('Messages')." &gt; ";
if (isset ($_GET["nuevo"])) { //create message if (isset ($_GET["nuevo"])) { //create message
echo __('New message').'</h2>'; echo __('New message').'</h2>';

View File

@ -57,7 +57,8 @@ $table->head[3] = __('Modules');
$table->head[4] = __('LAG'); $table->head[4] = __('LAG');
$table->head[5] = __('Type'); $table->head[5] = __('Type');
$table->head[6] = __('Version'); $table->head[6] = __('Version');
$table->head[7] = __('Updated at'); // This will have a column of data such as "6 hours"
$table->head[7] = __('Updated');
$table->data = array (); $table->data = array ();
if (!$servers){ if (!$servers){