mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Merge branch '1260-Mensajes_DB_status' into 'develop'
fixed minor error in db status See merge request !891
This commit is contained in:
commit
1008912e94
@ -182,7 +182,7 @@ function extension_db_check_tables_differences($connection_test,
|
|||||||
ui_print_result_message(
|
ui_print_result_message(
|
||||||
empty($diff_tables),
|
empty($diff_tables),
|
||||||
__('Successful the DB Pandora has all 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)));
|
implode(", ", $diff_tables)));
|
||||||
|
|
||||||
if (!empty($diff_tables)) {
|
if (!empty($diff_tables)) {
|
||||||
@ -264,7 +264,7 @@ function extension_db_check_tables_differences($connection_test,
|
|||||||
switch ($config_field) {
|
switch ($config_field) {
|
||||||
case 'type':
|
case 'type':
|
||||||
ui_print_error_message(
|
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));
|
$name_field, $table, $value));
|
||||||
ui_print_info_message(
|
ui_print_info_message(
|
||||||
__('You can execute this SQL query for to fix.') . "<br />" .
|
__('You can execute this SQL query for to fix.') . "<br />" .
|
||||||
@ -298,7 +298,7 @@ function extension_db_check_tables_differences($connection_test,
|
|||||||
break;
|
break;
|
||||||
case 'key':
|
case 'key':
|
||||||
ui_print_error_message(
|
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));
|
$name_field, $table));
|
||||||
ui_print_info_message(
|
ui_print_info_message(
|
||||||
__('Please check the SQL file for to know the kind of key needed.'));
|
__('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";
|
$null_defect = " NOT NULL";
|
||||||
}
|
}
|
||||||
ui_print_error_message(
|
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));
|
$name_field, $table, $value));
|
||||||
ui_print_info_message(
|
ui_print_info_message(
|
||||||
__('You can execute this SQL query for to fix.') . "<br />" .
|
__('You can execute this SQL query for to fix.') . "<br />" .
|
||||||
@ -322,7 +322,7 @@ function extension_db_check_tables_differences($connection_test,
|
|||||||
break;
|
break;
|
||||||
case 'extra':
|
case 'extra':
|
||||||
ui_print_error_message(
|
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));
|
$name_field, $table));
|
||||||
ui_print_info_message(
|
ui_print_info_message(
|
||||||
__('Please check the SQL file for to know the kind of extra config needed.'));
|
__('Please check the SQL file for to know the kind of extra config needed.'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user