From b431be44cd3f64638c5fb370d2454d761dce97cd Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 6 Oct 2017 09:40:48 +0200 Subject: [PATCH] fixed minor error in db status --- pandora_console/extensions/db_status.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pandora_console/extensions/db_status.php b/pandora_console/extensions/db_status.php index 50eec14bc8..2b0e281993 100755 --- a/pandora_console/extensions/db_status.php +++ b/pandora_console/extensions/db_status.php @@ -182,7 +182,7 @@ function extension_db_check_tables_differences($connection_test, ui_print_result_message( empty($diff_tables), __('Successful the DB Pandora has all tables'), - __('Unsuccessful the DB Pandora has not all tables. The missing tables are (%s)', + __('Pandora DB could not retrieve all tables. The missing tables are (%s)', implode(", ", $diff_tables))); if (!empty($diff_tables)) { @@ -264,7 +264,7 @@ function extension_db_check_tables_differences($connection_test, switch ($config_field) { case 'type': ui_print_error_message( - __('Unsuccessful the field %s in the table %s must be setted the type with %s.', + __('Unsuccessful the field %s in the table %s must be set the type with %s.', $name_field, $table, $value)); ui_print_info_message( __('You can execute this SQL query for to fix.') . "
" . @@ -298,7 +298,7 @@ function extension_db_check_tables_differences($connection_test, break; case 'key': ui_print_error_message( - __('Unsuccessful the field %s in the table %s must be setted the key as defined in the SQL file.', + __('Unsuccessful the field %s in the table %s must be set the key as defined in the SQL file.', $name_field, $table)); ui_print_info_message( __('Please check the SQL file for to know the kind of key needed.')); @@ -311,7 +311,7 @@ function extension_db_check_tables_differences($connection_test, $null_defect = " NOT NULL"; } ui_print_error_message( - __('Unsuccessful the field %s in the table %s must be setted %s as default value.', + __('Unsuccessful the field %s in the table %s must be set %s as default value.', $name_field, $table, $value)); ui_print_info_message( __('You can execute this SQL query for to fix.') . "
" . @@ -322,7 +322,7 @@ function extension_db_check_tables_differences($connection_test, break; case 'extra': ui_print_error_message( - __('Unsuccessful the field %s in the table %s must be setted as defined in the SQL file.', + __('Unsuccessful the field %s in the table %s must be set as defined in the SQL file.', $name_field, $table)); ui_print_info_message( __('Please check the SQL file for to know the kind of extra config needed.'));