2009-12-07 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* include/functions_api.php, include/functions.php, extensions/plugin_registration.php, operation/events/events.php, operation/agentes/exportdata.php, operation/agentes/stat_win.php, godmode/setup/setup.php, godmode/agentes/configurar_agente.php, godmode/agentes/agent_manager.php, godmode/reporting/reporting_builder.php, godmode/reporting/map_builder.php, godmode/reporting/graphs.php, godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: English text strings updated to be more clear. * include/languages/index.pot: Regenerated with updated strings git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
dd26a2649f
commit
f32a754c9c
|
@ -142,7 +142,7 @@ function pluginreg_extension_main () {
|
|||
|
||||
}
|
||||
|
||||
add_godmode_menu_option (__('Plugin register'), 'PM','gservers','');
|
||||
add_godmode_menu_option (__('Register plugin'), 'PM','gservers','');
|
||||
add_extension_godmode_function('pluginreg_extension_main');
|
||||
|
||||
?>
|
||||
|
|
|
@ -137,7 +137,7 @@ $agents = get_group_agents (array_keys ($groups));
|
|||
$table->data[2][0] = __('Parent');
|
||||
$table->data[2][1] = print_input_text_extended ('id_parent', get_agent_name ($id_parent), 'text-id_parent', '', 30, 100, false, '',
|
||||
array('style' => 'background: url(images/lightning.png) no-repeat right;'), true)
|
||||
. '<a href="#" class="tip"> <span>' . __("Type two chars at least for search") . '</span></a>';
|
||||
. '<a href="#" class="tip"> <span>' . __("Type at least two characters to search") . '</span></a>';
|
||||
|
||||
$table->data[2][1] .= print_checkbox ("cascade_protection", 1, $cascade_protection, true).__('Cascade protection'). " " . print_help_icon("cascade_protection", true);
|
||||
|
||||
|
|
|
@ -248,8 +248,8 @@ if ($delete_conf_file) {
|
|||
}
|
||||
|
||||
print_result_message ($correct,
|
||||
__('Successfully delete conf file'),
|
||||
__('Could not be delete conf file'));
|
||||
__('Conf file deleted successfully'),
|
||||
__('Could not delete conf file'));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ if ($create_alert) {
|
|||
FROM talert_template_modules
|
||||
WHERE id_agent_module = " . $id_agent_module . "
|
||||
AND id_alert_template = " . $id_alert_template) > 0) {
|
||||
print_result_message (false, '', __('Yet added'));
|
||||
print_result_message (false, '', __('Already added'));
|
||||
}
|
||||
else {
|
||||
$id = create_alert_agent_module ($id_agent_module, $id_alert_template);
|
||||
|
@ -247,7 +247,7 @@ echo "<div id='alert_control' style='display:none'>\n";
|
|||
echo "<td>".__('Agents')."</td><td>";
|
||||
echo print_input_text_extended ('agent_name', $agentName, 'text-agent_name', '', 25, 100, false, '',
|
||||
array('style' => 'background: url(images/lightning.png) no-repeat right;'), true)
|
||||
. '<a href="#" class="tip"> <span>' . __("Type two chars at least for search") . '</span></a>';
|
||||
. '<a href="#" class="tip"> <span>' . __("Type at least two characters to search") . '</span></a>';
|
||||
echo "</td>\n";
|
||||
|
||||
|
||||
|
@ -525,7 +525,7 @@ if (! $id_agente) {
|
|||
|
||||
$table->data['agent'][1] = print_input_text_extended ('id_agent', __('Select'), 'text_id_agent', '', 30, 100, false, '',
|
||||
array('style' => 'background: url(images/lightning.png) no-repeat right;'), true)
|
||||
. '<a href="#" class="tip"> <span>' . __("Type two chars at least for search") . '</span></a>';
|
||||
. '<a href="#" class="tip"> <span>' . __("Type at least two characters to search") . '</span></a>';
|
||||
}
|
||||
|
||||
$table->data[0][0] = __('Module');
|
||||
|
|
|
@ -411,7 +411,7 @@ $user_groups = implode (',', array_keys (get_user_groups ($config["id_user"])));
|
|||
|
||||
print_input_text_extended ('id_agent', get_agent_name ($id_parent), 'text-id_agent', '', 30, 100, false, '',
|
||||
array('style' => 'background: url(images/lightning.png) no-repeat right;'));
|
||||
echo '<a href="#" class="tip"> <span>' . __("Type two chars at least for search") . '</span></a>';
|
||||
echo '<a href="#" class="tip"> <span>' . __("Type at least two characters to search") . '</span></a>';
|
||||
//print_select_from_sql ("SELECT id_agente, nombre FROM tagente WHERE disabled = 0 AND id_grupo IN ($user_groups) ORDER BY nombre", 'id_agent', $id_agent, '', '--', 0);
|
||||
|
||||
// SOURCE MODULE FORM
|
||||
|
|
|
@ -68,7 +68,7 @@ if (! empty ($graphs)) {
|
|||
$table->head[0] = '';
|
||||
$table->head[1] = __('Graph name');
|
||||
$table->head[2] = __('Description');
|
||||
$table->head[3] = __('Num Graphs');
|
||||
$table->head[3] = __('Number of Graphs');
|
||||
$table->head[4] = __('Group');
|
||||
$table->size[0] = '20px';
|
||||
$table->size[3] = '80px';
|
||||
|
|
|
@ -418,7 +418,7 @@ if (! $edit_layout && ! $id_layout) {
|
|||
// print_submit_button (__('Delete'), 'delete_buttons', true, 'class="sub delete"');
|
||||
// echo '</div>';
|
||||
|
||||
echo __('Select a element to delete:');
|
||||
echo __('Select an element to delete:');
|
||||
|
||||
echo "<p>";
|
||||
$elements = get_db_all_rows_sql("SELECT t1.id, t1.label,
|
||||
|
@ -480,7 +480,7 @@ if (! $edit_layout && ! $id_layout) {
|
|||
$table->data[3][1] = print_input_text ('height', '', '', 5, 5, true);
|
||||
$table->data[4][0] = __('Width');
|
||||
$table->data[4][1] = print_input_text ('width', '', '', 5, 5, true);
|
||||
$table->data[5][0] = __('Agent') . '<a href="#" class="tip"> <span>' . __("Type two chars at least for search") . '</span></a>';
|
||||
$table->data[5][0] = __('Agent') . '<a href="#" class="tip"> <span>' . __("Type at least two characters to search") . '</span></a>';
|
||||
// $table->data[5][1] = print_select ($agents, 'agent', '', '', '--', 0, true);
|
||||
$table->data[5][1] = print_input_text_extended ('agent', '', 'text-agent', '', 30, 100, false, '',
|
||||
array('style' => 'background: url(images/lightning.png) no-repeat right;'), true);
|
||||
|
@ -539,7 +539,7 @@ function testAgentCorrect() {
|
|||
if (($("#text-label").val().length == 0) &&
|
||||
($("#image").val().length == 0)) {
|
||||
|
||||
alert("<?php echo __("Please, choose a image or type name for element.");?>");
|
||||
alert("<?php echo __("Please, choose an image or type a name for the element.");?>");
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -265,7 +265,7 @@ if ($edit_sla_report_content) {
|
|||
$table->data[0][0] = __('Agent');
|
||||
$table->data[0][1] = print_input_text_extended ('id_agent', __('Select'), 'text_id_agent', '', 30, 100, false, '',
|
||||
array('style' => 'background: url(images/lightning.png) no-repeat right;'), true)
|
||||
. '<a href="#" class="tip"> <span>' . __("Type two chars at least for search") . '</span></a>';
|
||||
. '<a href="#" class="tip"> <span>' . __("Type at least two characters to search") . '</span></a>';
|
||||
$table->data[1][0] = __('Module');
|
||||
$table->data[1][1] = print_select (array (), 'id_module', 0, '', '--', 0, true);
|
||||
$table->data[2][0] = __('SLA Min. (value)');
|
||||
|
@ -376,7 +376,7 @@ if ($edit_sla_report_content) {
|
|||
|
||||
$table->data[2][1] = print_input_text_extended ('id_agent', __('Select'), 'text_id_agent', '', 30, 100, false, '',
|
||||
array('style' => 'background: url(images/lightning.png) no-repeat right;'), true)
|
||||
. '<a href="#" class="tip"> <span>' . __("Type two chars at least for search") . '</span></a>';
|
||||
. '<a href="#" class="tip"> <span>' . __("Type at least two characters to search") . '</span></a>';
|
||||
|
||||
$table->data[3][0] = __('Module');
|
||||
$modules = array ();
|
||||
|
|
|
@ -105,7 +105,7 @@ $table->data[12][1] .= __('No').' '.print_radio_button ('compact_header', 0
|
|||
$table->data[14][0] = __('Attachment store');
|
||||
$table->data[14][1] = print_input_text ('attachment_store', $config["attachment_store"], '', 50, 255, true);
|
||||
|
||||
$table->data[14][0] = __('ACL IP list for access API') .
|
||||
$table->data[14][0] = __('IP list with API access') .
|
||||
print_help_tip (__("The list of IPs separate with carriage return."), true);
|
||||
$list_ACL_IPs_for_API = get_parameter('list_ACL_IPs_for_API', implode("\n", $config['list_ACL_IPs_for_API']));
|
||||
$table->data[14][1] = print_textarea('list_ACL_IPs_for_API', 10, 15, $list_ACL_IPs_for_API, null, true);
|
||||
|
|
|
@ -360,7 +360,7 @@ function human_time_description_raw ($seconds, $exactly = false) {
|
|||
else if (($months == 0))
|
||||
return $days.' '.__('days').' '.sprintf("%02d",$hours).':'.sprintf("%02d",$mins).':'.sprintf("%02d",$secs);
|
||||
else
|
||||
return $months.' '.__('moths').' '.$days.' '.__('days').' '.sprintf("%02d",$hours).':'.sprintf("%02d",$mins).':'.sprintf("%02d",$secs);
|
||||
return $months.' '.__('months').' '.$days.' '.__('days').' '.sprintf("%02d",$hours).':'.sprintf("%02d",$mins).':'.sprintf("%02d",$secs);
|
||||
}
|
||||
|
||||
if ($seconds < 60)
|
||||
|
|
|
@ -62,11 +62,11 @@ function returnError($typeError, $returnType) {
|
|||
break;
|
||||
case 'no_exist_operation':
|
||||
returnData($returnType,
|
||||
array('type' => 'string', 'data' => __('No exist this operation.')));
|
||||
array('type' => 'string', 'data' => __('This operation does not exist.')));
|
||||
break;
|
||||
case 'id_not_found':
|
||||
returnData($returnType,
|
||||
array('type' => 'string', 'data' => __('No exist id in BD.')));
|
||||
array('type' => 'string', 'data' => __('Id does not exist in BD.')));
|
||||
break;
|
||||
default:
|
||||
returnData('string',
|
||||
|
|
|
@ -238,7 +238,7 @@ if (!in_array ($agent, array_keys ($agents))) {
|
|||
//$table->data[1][1] = print_select ($agents, "agent", $agent, 'this.form.submit();', '', 0, true, false, true, 'w130', false);
|
||||
$table->data[1][1] = print_input_text_extended ('agent', get_agent_name ($agent), 'text-agent', '', 30, 100, false, '',
|
||||
array('style' => 'background: url(images/lightning.png) no-repeat right;'), true)
|
||||
. '<a href="#" class="tip"> <span>' . __("Type two chars at least for search") . '</span></a>';
|
||||
. '<a href="#" class="tip"> <span>' . __("Type at least two characters to search") . '</span></a>';
|
||||
|
||||
//Module selector
|
||||
$table->data[2][0] = '<b>'.__('Modules').'</b>';
|
||||
|
|
|
@ -218,7 +218,7 @@ $options[15552000] = human_time_description_raw (15552000);
|
|||
print_extended_select_for_time($options, 'period', $period, '', '', 0, 7);
|
||||
//print_select ($options, "period_select", $period,"javascript: $('#text-period').val($('#period_select').val());");
|
||||
//print_input_text ("period", $period, '', 10);
|
||||
echo __(' secs.');
|
||||
echo ' '.__('secs.');
|
||||
echo '</td></tr><tr><td>'.__('Show events').'</td><td>';
|
||||
|
||||
print_checkbox ("draw_events", 1, (bool) $draw_events);
|
||||
|
|
|
@ -300,7 +300,7 @@ foreach ($result as $id_row) {
|
|||
|
||||
print_input_text_extended ('id_agent', $text_agent, 'text_id_agent', '', 30, 100, false, '',
|
||||
array('style' => 'background: url(images/lightning.png) no-repeat right;'))
|
||||
. '<a href="#" class="tip"> <span>' . __("Type two chars at least for search") . '</span></a>';
|
||||
. '<a href="#" class="tip"> <span>' . __("Type at least two characters to search") . '</span></a>';
|
||||
|
||||
|
||||
echo "</td></tr>";
|
||||
|
@ -449,11 +449,11 @@ foreach ($result as $event) {
|
|||
// Colored box
|
||||
if ($event["estado"] == 0) {
|
||||
$img = "images/tick_off.png";
|
||||
$title = __('Event validate');
|
||||
$title = __('Event validated');
|
||||
}
|
||||
else {
|
||||
$img = "images/tick.png";
|
||||
$title = __('Event not validate');
|
||||
$title = __('Event not validated');
|
||||
}
|
||||
$data[0] = print_image ($img, true,
|
||||
array ("class" => "image_status",
|
||||
|
|
Loading…
Reference in New Issue