2009-01-12 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish translation. * include/languages/index.pot: Updated po template. * include/functions_alerts.php, godmode/menu.php, godmode/agentes/module_manager_editor_network.php, godmode/alerts/alert_templates.php, godmode/alerts/configure_alert_template.php, godmode/setup/setup.php, operation/agentes/estado_alertas.php: Modified strings to improve i18n infrastructure. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1334 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b55f4af721
commit
829bd47629
|
@ -1,3 +1,17 @@
|
|||
2009-01-12 Jorge Gonzalez <jorgegonz@artica.es>
|
||||
|
||||
* include/languages/es.po, include/languages/es.mo: Updated Spanish
|
||||
translation.
|
||||
|
||||
* include/languages/index.pot: Updated po template.
|
||||
|
||||
* include/functions_alerts.php, godmode/menu.php,
|
||||
godmode/agentes/module_manager_editor_network.php,
|
||||
godmode/alerts/alert_templates.php,
|
||||
godmode/alerts/configure_alert_template.php,
|
||||
godmode/setup/setup.php, operation/agentes/estado_alertas.php:
|
||||
Modified strings to improve i18n infrastructure.
|
||||
|
||||
2009-01-12 Esteban Sanchez <estebans@artica.es>
|
||||
|
||||
* include/javascript/pandora_alerts.js: Added to repository.
|
||||
|
|
|
@ -249,13 +249,13 @@ echo '</tr>';
|
|||
// Warning value threshold
|
||||
echo '<tr>';
|
||||
echo '<td class="datos2">'.__('Warning status')."</td>";
|
||||
echo '<td class="datos2">'.__("Min").' <input type="text" name="form_min_warning" size="5" value="'.$form_min_warning.'">';
|
||||
echo ' '.__("Max").' <input type="text" name="form_max_warning" size="5" value="'.$form_max_warning.'"></td>';
|
||||
echo '<td class="datos2">'.__("Min.").' <input type="text" name="form_min_warning" size="5" value="'.$form_min_warning.'">';
|
||||
echo ' '.__("Max.").' <input type="text" name="form_max_warning" size="5" value="'.$form_max_warning.'"></td>';
|
||||
|
||||
// Critical value threshold
|
||||
echo '<td class="datos2">'.__('Critical status')."</td>";
|
||||
echo '<td class="datos2">'.__("Min").' <input type="text" name="form_min_critical" size="5" value="'.$form_min_critical.'">';
|
||||
echo ' '.__("Max").' <input type="text" name="form_max_critical" size="5" value="'.$form_max_critical.'"></td>';
|
||||
echo '<td class="datos2">'.__("Min.").' <input type="text" name="form_min_critical" size="5" value="'.$form_min_critical.'">';
|
||||
echo ' '.__("Max.").' <input type="text" name="form_max_critical" size="5" value="'.$form_max_critical.'"></td>';
|
||||
echo '</tr>';
|
||||
|
||||
echo "<tr>";
|
||||
|
@ -263,7 +263,8 @@ echo '<td class="datos2">'.__('Historical data')."</td>";
|
|||
echo '<td class="datos2">';
|
||||
print_checkbox ("form_history_data", 1, $form_history_data, false);
|
||||
|
||||
echo '<td class="datos">'.__('FF Threshold');
|
||||
//FF stands for Flip-Flop
|
||||
echo '<td class="datos">'.__('FF threshold');
|
||||
pandora_help ("ff_threshold");
|
||||
echo '</td>';
|
||||
echo '<td class="datos"><input type="text" name="form_ff_event" size="5" value="'.$form_ff_event.'"></td>';
|
||||
|
|
|
@ -56,7 +56,7 @@ if (defined ('AJAX')) {
|
|||
break;
|
||||
case 'max':
|
||||
case 'max_min':
|
||||
echo '<strong>'.__('Max. value').':</strong> ';
|
||||
echo '<strong>'.__('Max. Value').':</strong> ';
|
||||
echo format_numeric ($template['max_value']);
|
||||
echo '<br />';
|
||||
|
||||
|
@ -64,7 +64,7 @@ if (defined ('AJAX')) {
|
|||
if ($template['type'] == 'max')
|
||||
break;
|
||||
case 'min':
|
||||
echo '<strong>'.__('Min. value').':</strong> ';
|
||||
echo '<strong>'.__('Min. Value').':</strong> ';
|
||||
echo format_numeric ($template['min_value']);
|
||||
echo '<br />';
|
||||
}
|
||||
|
|
|
@ -430,10 +430,10 @@ if ($step == 2) {
|
|||
'title' => __('The regular expression is not valid')));
|
||||
$table->data['value'][1] .= '</span>';
|
||||
|
||||
$table->data['max'][0] = __('Max');
|
||||
$table->data['max'][0] = __('Max.');
|
||||
$table->data['max'][1] = print_input_text ('max', $max, '', 5, 255, true);
|
||||
|
||||
$table->data['min'][0] = __('Min');
|
||||
$table->data['min'][0] = __('Min.');
|
||||
$table->data['min'][1] = print_input_text ('min', $min, '', 5, 255, true);
|
||||
}
|
||||
|
||||
|
|
|
@ -140,7 +140,7 @@ if (give_acl ($config['id_user'], 0, "PM")) {
|
|||
$menu["glog"]["id"] = "god-audit";
|
||||
|
||||
// Setup
|
||||
$menu["gsetup"]["text"] = __('Pandora setup');
|
||||
$menu["gsetup"]["text"] = __('Setup');
|
||||
$menu["gsetup"]["sec2"] = "godmode/setup/setup";
|
||||
$menu["gsetup"]["id"] = "god-setup";
|
||||
|
||||
|
|
|
@ -75,14 +75,14 @@ if ($update_settings) {
|
|||
process_sql ("UPDATE tconfig SET VALUE='".$config["event_view_hr"]."' WHERE token = 'event_view_hr'");
|
||||
}
|
||||
|
||||
echo "<h2>".__('Pandora Setup')." > ";
|
||||
echo "<h2>".__('Setup')." > ";
|
||||
echo __('General configuration')."</h2>";
|
||||
|
||||
$file_styles = list_files('include/styles/', "pandora", 1, 0);
|
||||
|
||||
$table->width = '90%';
|
||||
$table->data = array ();
|
||||
$table->data[0][0] = __('Language Code for Pandora');
|
||||
$table->data[0][0] = __('Language code for Pandora');
|
||||
$table->data[0][1] = print_select_from_sql ('SELECT id_language, name FROM tlanguage', 'language_code', $config["language"], '', '', '', true);
|
||||
|
||||
$table->data[1][0] = __('Date format string') . pandora_help("date_format", true);
|
||||
|
|
|
@ -239,8 +239,8 @@ function get_alert_templates_types () {
|
|||
|
||||
$types['regex'] = __('Regular expression');
|
||||
$types['max_min'] = __('Max and min');
|
||||
$types['max'] = __('Max');
|
||||
$types['min'] = __('Min');
|
||||
$types['max'] = __('Max.');
|
||||
$types['min'] = __('Min.');
|
||||
$types['equal'] = __('Equal to');
|
||||
$types['not_equal'] = __('Not equal to');
|
||||
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -120,7 +120,7 @@ $table->head[1] = __('Type');
|
|||
$table->head[2] = ''; //Placeholder for name
|
||||
$table->head[3] = __('Description');
|
||||
$table->head[4] = __('Info');
|
||||
$table->head[5] = __('Min').'/'.__('Max');
|
||||
$table->head[5] = __('Min.').'/'.__('Max.');
|
||||
$table->head[6] = __('Last fired');
|
||||
$table->head[7] = __('Status');
|
||||
$table->head[8] = __('Validate') . pandora_help('alert_validation', true);
|
||||
|
|
Loading…
Reference in New Issue