2009-06-24 Jorge Gonzalez <jorgegonz@artica.es>

* include/functions_reporting.php, include/functions_ui.php,
        * operation/incidents/incident.php,
        * operation/snmpconsole/snmp_view.php, operation/events/events.php,
        * operation/agentes/tactical.php, godmode/users/user_list.php,
        * godmode/users/configure_user.php,
        * godmode/profiles/profile_list.php,
        * godmode/agentes/module_manager_editor_wmi.php,
        * godmode/agentes/massive_edit_modules.php,
        * godmode/agentes/manage_config_remote.php,
        * godmode/modules/manage_network_components_form_network.php,
        * godmode/modules/manage_network_components_form_wmi.php,
        * godmode/servers/manage_export.php,
        * godmode/servers/manage_recontask.php,
        * godmode/servers/modificar_server.php: Some translatable strings
        * reused to simplify i18n work.

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

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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
aloriel 2009-06-24 13:36:29 +00:00
parent a806e4c124
commit 82e8b1f3ed
21 changed files with 5808 additions and 5739 deletions

View File

@ -1,3 +1,26 @@
2009-06-24 Jorge Gonzalez <jorgegonz@artica.es>
* include/functions_reporting.php, include/functions_ui.php,
* operation/incidents/incident.php,
* operation/snmpconsole/snmp_view.php, operation/events/events.php,
* operation/agentes/tactical.php, godmode/users/user_list.php,
* godmode/users/configure_user.php,
* godmode/profiles/profile_list.php,
* godmode/agentes/module_manager_editor_wmi.php,
* godmode/agentes/massive_edit_modules.php,
* godmode/agentes/manage_config_remote.php,
* godmode/modules/manage_network_components_form_network.php,
* godmode/modules/manage_network_components_form_wmi.php,
* godmode/servers/manage_export.php,
* godmode/servers/manage_recontask.php,
* godmode/servers/modificar_server.php: Some translatable strings
* reused to simplify i18n work.
* include/languages/es.po, include/languages/es.mo: Updated Spanish
* translation.
* include/languages/index.pot: Updated po template.
2009-06-24 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/groups/group_list.php: fix group without image

View File

@ -130,7 +130,7 @@ if ((isset($_GET["operacion"])) AND ($update_group == -1) ) {
// Destination agent
echo '<tr><td class="datost">';
echo '<b>'.__('To Agent(s):').'</b><br><br>';
echo '<b>'.__('To agent(s):').'</b><br><br>';
echo "<select name=destino[] size=10 multiple=yes style='width: 250px;'>";
if ($id_group > 1)
$sql1 = "SELECT * FROM tagente WHERE id_grupo = $id_group ORDER BY nombre ";

View File

@ -78,7 +78,7 @@ if ($update) {
$result = process_manage_edit ($module_name);
print_result_message ($result,
__('Successfuly updated'),
__('Successfully updated'),
__('Could not be updated'));
}

View File

@ -42,7 +42,7 @@ $data[3] = print_input_password ('plugin_pass', $plugin_pass, '', 15, 60, true);
push_table_simple ($data, 'user_pass');
$data = array ();
$data[0] = __('WMI Query');
$data[0] = __('WMI query');
$data[0] .= print_help_icon ('wmiquery', true);
$data[1] = print_input_text ('snmp_oid', $snmp_oid, '', 35, 255, true);
$table_simple->colspan['wmi_query'][1] = 3;

View File

@ -72,7 +72,7 @@ return;
<td class="datos">
<input type="text" name="snmp_oid" size="25" value="<?php echo $snmp_oid ?>">
</td>
<td class="datos"><?php echo __('SNMP Community') ?></td>
<td class="datos"><?php echo __('SNMP community') ?></td>
<td class="datos">
<input type="text" name="snmp_community" size="25" value="<?php echo $snmp_community ?>">
</td></tr>

View File

@ -123,7 +123,7 @@ echo '<input type="text" name="max_timeout" size="5" value="' . $max_timeout . '
echo '</td></tr>';
// WMI Query
echo '<tr><td class="datos">' . __('WMI Query') ;
echo '<tr><td class="datos">' . __('WMI query') ;
print_help_icon("wmiquery");
echo '</td>';
echo '<td class="datos">';

View File

@ -42,7 +42,7 @@ if ($delete_profile) {
if ($ret === false) {
echo '<h3 class="error">'.__('There was a problem deleting the profile').'</h3>';
} else {
echo '<h3 class="suc">'.__('Profile successfully deleted').'</h3>';
echo '<h3 class="suc">'.__('Successfully deleted').'</h3>';
}
//Delete profile from user data
@ -77,7 +77,7 @@ if ($update_profile) {
$id_profile);
$ret = process_sql ($sql);
if ($ret !== false) {
echo '<h3 class="suc">'.__('Profile successfully updated').'</h3>';
echo '<h3 class="suc">'.__('Successfully updated').'</h3>';
} else {
echo '<h3 class="error"'.__('There was a problem updating this profile').'</h3>';
}
@ -109,7 +109,7 @@ if ($create_profile) {
$ret = process_sql ($sql, 'insert_id');
if ($ret !== false) {
echo '<h3 class="suc">'.__('Profile successfully created').'</h3>';
echo '<h3 class="suc">'.__('Successfully created').'</h3>';
} else {
echo '<h3 class="error">'.__('There was a problem creating this profile').'</h3>';
}

View File

@ -63,7 +63,7 @@ if ($delete) {
if (process_sql ($sql) === false) {
echo '<h3 class="error">'.__('Error deleting export target').'</h3>';
} else {
echo '<h3 class="suc">'.__('Succesfully deleted export target').'</h3>';
echo '<h3 class="suc">'.__('Successfully deleted export target').'</h3>';
}
}
@ -97,7 +97,7 @@ if (!$result) {
return;
}
$table->head = array (__('Name'), __('Preffix'), __('Interval'), __('Address'), __('Transfer Mode'), __('Action'));
$table->head = array (__('Name'), __('Preffix'), __('Interval'), __('Address'), __('Transfer mode'), __('Action'));
//$table->align = array ("","","","center","","","center","center");
$table->width = 700;
$table->cellpadding = 4;

View File

@ -34,7 +34,7 @@ if (isset ($_GET["delete"])) {
$sql = sprintf("DELETE FROM trecon_task WHERE id_rt = '%d'",$id);
$result = process_sql ($sql);
if ($result !== false) {
echo '<h3 class="suc">'.__('Succesfully deleted recon task').'</h3>';
echo '<h3 class="suc">'.__('Successfully deleted recon task').'</h3>';
} else {
echo '<h3 class="error">'.__('Error deleting recon task').'</h3>';
}

View File

@ -129,7 +129,7 @@ if (isset($_GET["server"])) {
echo '<td><span class="master">'.__('Master').'</span></td>';
echo '<td><span class="data">'.__('Data Server').'</span></td>';
echo '<td><span class="binary">'.__('MD5 Check').'</span></td>';
echo '<td><span class="snmp">'.__('SNMP Console').'</span></td>';
echo '<td><span class="snmp">'.__('SNMP console').'</span></td>';
echo "</tr></table>";
} else {
echo "<div class='nf'>".__('There are no servers configured into the database')."</div>";

View File

@ -140,7 +140,7 @@ if ($add_profile) {
$return = create_user_profile ($id, $profile, $group);
print_result_message ($return,
__('Succesfully created'),
__('Successfully created'),
__('Could not be created'));
}
@ -199,7 +199,7 @@ if ($config['admin_can_make_admin']) {
$table->data[6][1] .= '<br />';
$table->data[6][1] .= print_radio_button ('is_admin', 0, '', $user_info['is_admin'], true);
$table->data[6][1] .= __('Standard user');
$table->data[6][1] .= __('Standard User');
$table->data[6][1] .= print_help_tip (__("This user has separated permissions to view data in his group agents, create incidents belong to his groups, add notes in another incidents, create personal assignments or reviews and other tasks, on different profiles"), true);
}

View File

@ -29,13 +29,13 @@ if (isset ($_GET["user_del"])) { //delete user
$id_user = get_parameter_post ("delete_user");
$result = delete_user ($id_user);
print_result_message ($result,
__('User successfully deleted'),
__('Successfully deleted'),
__('There was a problem deleting the user'));
} elseif (isset ($_GET["profile_del"])) { //delete profile
$id_profile = (int) get_parameter_post ("delete_profile");
$result = delete_profile ($id_profile);
print_result_message ($result,
__('Profile successfully deleted'),
__('Successfully deleted'),
__('There was a problem deleting the profile'));
}

View File

@ -278,7 +278,7 @@ function get_fired_alerts_reporting_table ($alerts_fired) {
$table->head = array ();
$table->head[0] = __('Agent');
$table->head[1] = __('Alert description');
$table->head[2] = __('Times Fired');
$table->head[2] = __('Times fired');
$table->head[3] = __('Priority');
foreach ($agents as $id_agent => $alerts) {
@ -482,7 +482,7 @@ function get_agent_alerts_reporting_table ($id_agent, $period = 0, $date = 0) {
$table->head[2] = __('Value');
$table->head[3] = __('Threshold');
$table->head[4] = __('Last fired');
$table->head[5] = __('Times Fired');
$table->head[5] = __('Times fired');
require_once ($config["homedir"].'/include/functions_alerts.php');

View File

@ -969,7 +969,7 @@ function print_moduletype_icon ($id_moduletype, $return = false) {
$type = get_db_row ("ttipo_modulo", "id_tipo", (int) $id_moduletype, array ("descripcion", "icon"));
if ($type === false) {
$type = array ();
$type["descripcion"] = __('Unknown Type');
$type["descripcion"] = __('Unknown type');
$type["icon"] = 'b_down.png';
}
$imagepath = 'images/'.$type["icon"];

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -133,7 +133,7 @@ print_cells_temp ($cells);
echo '<tr><th colspan="2">'.__('Summary').'</th></tr>';
$cells = array ();
$cells[0][0] = __('Total Agents');
$cells[0][0] = __('Total agents');
$cells[0][1] = $data["total_agents"];
$cells[0]["color"] = "#000";
$cells[0]["href"] = "index.php?sec=estado&sec2=operation/agentes/estado_agente&refr=60";

View File

@ -184,7 +184,7 @@ if ($config["pure"] == 1) {
echo "</h2>";
//Link to toggle filter
echo '<a href="#" id="tgl_event_control"><b>'.__('Event control filter').'</b>&nbsp;'.print_image ("images/wand.png", true, array ("title" => __('Toggle filter'))).'</a>';
echo '<a href="#" id="tgl_event_control"><b>'.__('Event control filter').'</b>&nbsp;'.print_image ("images/wand.png", true, array ("title" => __('Toggle filter(s)'))).'</a>';
//Start div
echo '<div id="event_control" style="display:none">';

View File

@ -61,8 +61,8 @@ if ($action == "mass") {
if ($own_btn != -1) {
$result = process_incidents_chown ($id_inc, $config["id_user"]);
print_result_message ($result,
__('Ssuccessfully reclaimed ownership'),
__('Could not reclame owners'));
__('Successfully reclaimed ownership'),
__('Could not reclame ownership'));
}
} elseif ($action == "update") {

View File

@ -118,7 +118,7 @@ if (empty ($traps)) {
}
// Toggle filters
echo '<a href="#" onmousedown="toggleDiv(\'filters\');"><b>'.__('Toggle filters').'</b>&nbsp;<img src="images/wand.png" /></a>';
echo '<a href="#" onmousedown="toggleDiv(\'filters\');"><b>'.__('Toggle filter(s)').'</b>&nbsp;<img src="images/wand.png" /></a>';
echo '<form method="POST" action="index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&refr='.$config["refr"].'&pure='.$config["pure"].'">';
$table->width = '90%';