diff --git a/pandora_console/general/first_task/planned_downtime.php b/pandora_console/general/first_task/planned_downtime.php
index 7a3e323dc4..6bfbe5627b 100644
--- a/pandora_console/general/first_task/planned_downtime.php
+++ b/pandora_console/general/first_task/planned_downtime.php
@@ -15,14 +15,14 @@ global $config;
check_login();
ui_require_css_file('first_task');
?>
- true, 'message' => __('There are no planned downtime defined yet.') ]); ?>
+ true, 'message' => __('There are no scheduled downtime defined yet.') ]); ?>
';
@@ -572,13 +572,13 @@ $(document).ready (function () {
$.datepicker.setDefaults($.datepicker.regional[ ""]);
$("a#delete_downtime").click(function (e) {
- if (!confirm("")) {
+ if (!confirm("")) {
e.preventDefault();
}
});
if ( && ) {
- if (confirm("")) {
+ if (confirm("")) {
window.location.href = "index.php?sec=extensions&sec2=godmode/agentes/planned_downtime.list&migrate_malformed=1";
}
}
diff --git a/pandora_console/godmode/setup/setup_general.php b/pandora_console/godmode/setup/setup_general.php
index fbd33b8a90..50733b2727 100644
--- a/pandora_console/godmode/setup/setup_general.php
+++ b/pandora_console/godmode/setup/setup_general.php
@@ -420,7 +420,7 @@ $table->data[$i++][1] = html_print_select(
$config['past_planned_downtimes'] = isset(
$config['past_planned_downtimes']
) ? $config['past_planned_downtimes'] : 1;
-$table->data[$i][0] = __('Allow create planned downtimes in the past');
+$table->data[$i][0] = __('Allow create scheduled downtimes in the past');
$table->data[$i++][1] = html_print_checkbox_switch(
'past_planned_downtimes',
1,
diff --git a/pandora_console/godmode/update_manager/update_manager.offline.php b/pandora_console/godmode/update_manager/update_manager.offline.php
index 959dacf927..eba0fa01c2 100644
--- a/pandora_console/godmode/update_manager/update_manager.offline.php
+++ b/pandora_console/godmode/update_manager/update_manager.offline.php
@@ -94,7 +94,7 @@ is not working on the metaconsole and there is no time to fix it -->
var mr_available_header = "\n";
var text1_mr_file = "\n";
var text2_mr_file = "\n";
- var text3_mr_file = "\n";
+ var text3_mr_file = "\n";
var language = "";
var docsUrl = (language === "es")
diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php
index 026af0da76..cb9c94ae53 100644
--- a/pandora_console/include/functions_api.php
+++ b/pandora_console/include/functions_api.php
@@ -6717,7 +6717,7 @@ function api_set_stop_downtime($id, $thrash1, $other, $thrash3)
$data = db_get_row_sql($sql);
if ($data['type_execution'] == 'periodically' && $data['executed'] == 1) {
- returnError('error_stop_downtime', __('Error stopping downtime. Periodical and running planned downtime cannot be stopped.'));
+ returnError('error_stop_downtime', __('Error stopping downtime. Periodical and running scheduled downtime cannot be stopped.'));
return;
}
@@ -7203,7 +7203,7 @@ function api_set_planned_downtimes_additem($id, $thrash1, $other, $thrash3)
}
if (empty($agents)) {
- returnError('No agents to create planned downtime items');
+ returnError('No agents to create scheduled downtime items');
} else {
if (!empty($returned['bad_modules'])) {
$bad_modules = __("and this modules are doesn't exists or not applicable a this agents: ").implode(', ', $returned['bad_modules']);
diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php
index e794643148..e118cf4d52 100644
--- a/pandora_console/include/functions_config.php
+++ b/pandora_console/include/functions_config.php
@@ -319,7 +319,7 @@ function config_update_config()
}
if (!config_update_value('past_planned_downtimes', get_parameter('past_planned_downtimes'))) {
- $error_update[] = __('Allow create planned downtimes in the past');
+ $error_update[] = __('Allow create scheduled downtimes in the past');
}
if (!config_update_value('limit_parameters_massive', get_parameter('limit_parameters_massive'))) {
diff --git a/pandora_console/include/functions_planned_downtimes.php b/pandora_console/include/functions_planned_downtimes.php
index 116899c834..f49b0df060 100644
--- a/pandora_console/include/functions_planned_downtimes.php
+++ b/pandora_console/include/functions_planned_downtimes.php
@@ -95,12 +95,12 @@ function planned_downtimes_update($values, $downtime_id=0, $check_dates=true)
$name_exists = (bool) db_get_value('id', 'tplanned_downtime', 'name', $values['name']);
if ($name_exists) {
- $result['message'] = ui_print_error_message(__('Each planned downtime must have a different name'), '', true);
+ $result['message'] = ui_print_error_message(__('Each scheduled downtime must have a different name'), '', true);
return $result;
}
} else {
- $result['message'] = ui_print_error_message(__('Planned downtime must have a name'), '', true);
+ $result['message'] = ui_print_error_message(__('Scheduled downtime must have a name'), '', true);
return $result;
}
@@ -811,13 +811,13 @@ function planned_downtimes_created($values)
} else {
return [
'return' => false,
- 'message' => __('Each planned downtime must have a different name'),
+ 'message' => __('Each scheduled downtime must have a different name'),
];
}
} else {
return [
'return' => false,
- 'message' => __('Planned downtime must have a name'),
+ 'message' => __('Scheduled downtime must have a name'),
];
}
@@ -904,16 +904,16 @@ function delete_planned_downtimes($filter)
$downtime_execute = db_get_row_filter('tplanned_downtime', ['id' => $filter['id_downtime']], 'execute');
if ($downtime_execute) {
- $return = __("This planned downtime are executed now. Can't delete in this moment.");
+ $return = __("This scheduled downtime are executed now. Can't delete in this moment.");
} else {
$delete = db_process_sql_delete(
'tplanned_downtime',
['id' => $filter['id_downtime']]
);
if ($delete) {
- $return = __('Deleted this planned downtime successfully.');
+ $return = __('Deleted this scheduled downtime successfully.');
} else {
- $return = __('Problems for deleted this planned downtime.');
+ $return = __('Problems for deleted this scheduled downtime.');
}
}
diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php
index 1445f2e84e..de800f09d3 100644
--- a/pandora_console/include/functions_reporting_html.php
+++ b/pandora_console/include/functions_reporting_html.php
@@ -856,7 +856,7 @@ function reporting_html_SLA($table, $item, $mini, $pdf=0)
$table1->size[10] = '2%';
$table1->data[0][10] = '

';
$table1->size[11] = '15%';
- $table1->data[0][11] = '
'.__('Planned Downtime').'';
+ $table1->data[0][11] = '
'.__('Scheduled Downtime').'';
if ($pdf === 0) {
$table->colspan['legend']['cell'] = 2;
@@ -4081,7 +4081,7 @@ function reporting_html_availability_graph($table, $item, $pdf=0)
$table2->size[10] = '2%';
$table2->data[0][10] = '

';
$table2->size[11] = '15%';
- $table2->data[0][11] = '
'.__('Planned Downtime').'';
+ $table2->data[0][11] = '
'.__('Scheduled Downtime').'';
}
if ($pdf !== 0) {
@@ -5609,8 +5609,8 @@ function reporting_html_planned_downtimes_table($planned_downtimes)
$table = new StdClass();
$table->width = '99%';
- $table->title = __('This SLA has been affected by the following planned downtimes').ui_print_help_tip(
- __('If the duration of the planned downtime is less than 5 minutes it will not be represented in the graph'),
+ $table->title = __('This SLA has been affected by the following scheduled downtimes').ui_print_help_tip(
+ __('If the duration of the scheduled downtime is less than 5 minutes it will not be represented in the graph'),
true
);
$table->head = [];
@@ -5648,7 +5648,7 @@ function reporting_html_planned_downtimes_table($planned_downtimes)
if ($downtime_malformed) {
$info_malformed = ui_print_error_message(
- __('This item is affected by a malformed planned downtime').'. '.__('Go to the planned downtimes section to solve this').'.',
+ __('This item is affected by a malformed scheduled downtime').'. '.__('Go to the scheduled downtimes section to solve this').'.',
'',
true
);
diff --git a/pandora_console/include/functions_update_manager.php b/pandora_console/include/functions_update_manager.php
index 0b7b9d1235..3c9d23f86c 100755
--- a/pandora_console/include/functions_update_manager.php
+++ b/pandora_console/include/functions_update_manager.php
@@ -1428,7 +1428,7 @@ function update_manager_check_online_free_packages($is_ajax=true)
var mr_available_header = "\n";
var text1_mr_file = "\n";
var text2_mr_file = "\n";
- var text3_mr_file = "\n";
+ var text3_mr_file = "\n";
var language = "";
var docsUrl = (language === "es")
diff --git a/pandora_console/operation/agentes/estado_agente.php b/pandora_console/operation/agentes/estado_agente.php
index 6db5feaf7d..73aaa601ff 100644
--- a/pandora_console/operation/agentes/estado_agente.php
+++ b/pandora_console/operation/agentes/estado_agente.php
@@ -808,9 +808,9 @@ foreach ($agents as $agent) {
if ($in_planned_downtime) {
$data[0] .= ui_print_help_tip(
- __('Agent in planned downtime'),
+ __('Agent in scheduled downtime'),
true,
- $config['image']['minireloj_16']
+ 'images/minireloj-16.png'
);
$data[0] .= '';
}
diff --git a/pandora_console/operation/agentes/estado_generalagente.php b/pandora_console/operation/agentes/estado_generalagente.php
index 6a326cf91c..f2b69d5b56 100755
--- a/pandora_console/operation/agentes/estado_generalagente.php
+++ b/pandora_console/operation/agentes/estado_generalagente.php
@@ -137,7 +137,7 @@ if ($agent['disabled']) {
if ($in_planned_downtime && !$agent['disabled'] && !$agent['quiet']) {
$agent_name .= '
'.ui_print_help_tip(
- __('Agent in planned downtime'),
+ __('Agent in scheduled downtime'),
true,
'images/minireloj-16.png'
).'';
@@ -145,7 +145,7 @@ if ($in_planned_downtime && !$agent['disabled'] && !$agent['quiet']) {
|| ($in_planned_downtime && !$agent['quiet'])
) {
$agent_name .= ' '.ui_print_help_tip(
- __('Agent in planned downtime'),
+ __('Agent in scheduled downtime'),
true,
'images/minireloj-16.png'
).'';
diff --git a/pandora_console/operation/search_agents.php b/pandora_console/operation/search_agents.php
index e46a3887f4..9fe7d7f9ce 100755
--- a/pandora_console/operation/search_agents.php
+++ b/pandora_console/operation/search_agents.php
@@ -95,7 +95,7 @@ if (!$agents || !$searchAgents) {
);
if ($in_planned_downtime) {
- $cellName .= '
'.ui_print_help_tip(__('Agent in planned downtime'), true, 'images/minireloj-16.png');
+ $cellName .= ''.ui_print_help_tip(__('Agent in scheduled downtime'), true, 'images/minireloj-16.png');
$cellName .= '';
}