' . __("View a structure's contents by clicking on its name.") . ' ';
+ $message .= '' . __('Change any of its settings by clicking the corresponding "Options" link.') . ' ';
+ $message .= '' . __('Edit structure by following the "Structure" link.') . ' ';
$message .= sprintf(
'%s ('
. __('Options') . ' ) ',
diff --git a/libraries/insert_edit.lib.php b/libraries/insert_edit.lib.php
index 0c41dbb798..22a84549cd 100644
--- a/libraries/insert_edit.lib.php
+++ b/libraries/insert_edit.lib.php
@@ -655,7 +655,7 @@ function PMA_getValueColumn($column, $backup_field, $column_name_appendix,
if (strlen($special_chars) > 32000) {
$html_output .= "\n";
$html_output .= '' . __(
- 'Because of its length, this column might not be editable'
+ 'Because of its length, this column might not be editable.'
);
}
diff --git a/libraries/plugins/import/ImportShp.class.php b/libraries/plugins/import/ImportShp.class.php
index 44c653f1f5..b01b2e61d4 100644
--- a/libraries/plugins/import/ImportShp.class.php
+++ b/libraries/plugins/import/ImportShp.class.php
@@ -202,7 +202,7 @@ class ImportShp extends ImportPlugin
$message = PMA_Message::error(
__(
'You tried to import an invalid file or the imported file'
- . ' contains invalid data'
+ . ' contains invalid data!'
)
);
} else {
@@ -255,7 +255,7 @@ class ImportShp extends ImportPlugin
if (count($rows) == 0) {
$error = true;
$message = PMA_Message::error(
- __('The imported file does not contain any data')
+ __('The imported file does not contain any data!')
);
return;
}
diff --git a/libraries/replication_gui.lib.php b/libraries/replication_gui.lib.php
index 6fcd8b48e3..40525f85e5 100644
--- a/libraries/replication_gui.lib.php
+++ b/libraries/replication_gui.lib.php
@@ -994,11 +994,11 @@ function PMA_handleRequestForSlaveChangeMaster()
) {
$_SESSION['replication']['sr_action_status'] = 'error';
$_SESSION['replication']['sr_action_info']
- = __('Unable to change master');
+ = __('Unable to change master!');
} else {
$_SESSION['replication']['sr_action_status'] = 'success';
$_SESSION['replication']['sr_action_info'] = sprintf(
- __('Master server changed successfully to %s'),
+ __('Master server changed successfully to %s.'),
htmlspecialchars($sr['hostname'])
);
}
diff --git a/libraries/rte/rte_events.lib.php b/libraries/rte/rte_events.lib.php
index 75117b5ab1..0a17686639 100644
--- a/libraries/rte/rte_events.lib.php
+++ b/libraries/rte/rte_events.lib.php
@@ -570,14 +570,14 @@ function PMA_EVN_getQueryFromRequest()
$query .= 'DEFINER=' . PMA_Util::backquote($arr[0]);
$query .= '@' . PMA_Util::backquote($arr[1]) . ' ';
} else {
- $errors[] = __('The definer must be in the "username@hostname" format');
+ $errors[] = __('The definer must be in the "username@hostname" format!');
}
}
$query .= 'EVENT ';
if (! empty($_REQUEST['item_name'])) {
$query .= PMA_Util::backquote($_REQUEST['item_name']) . ' ';
} else {
- $errors[] = __('You must provide an event name');
+ $errors[] = __('You must provide an event name!');
}
$query .= 'ON SCHEDULE ';
if (! empty($_REQUEST['item_type'])
diff --git a/libraries/rte/rte_routines.lib.php b/libraries/rte/rte_routines.lib.php
index 5bceb1a8f6..07eda150b4 100644
--- a/libraries/rte/rte_routines.lib.php
+++ b/libraries/rte/rte_routines.lib.php
@@ -1120,7 +1120,7 @@ function PMA_RTN_getQueryFromRequest()
$query .= 'DEFINER=' . PMA_Util::backquote($arr[0]);
$query .= '@' . PMA_Util::backquote($arr[1]) . ' ';
} else {
- $errors[] = __('The definer must be in the "username@hostname" format');
+ $errors[] = __('The definer must be in the "username@hostname" format!');
}
}
if ($_REQUEST['item_type'] == 'FUNCTION'
@@ -1136,7 +1136,7 @@ function PMA_RTN_getQueryFromRequest()
if (! empty($_REQUEST['item_name'])) {
$query .= PMA_Util::backquote($_REQUEST['item_name']);
} else {
- $errors[] = __('You must provide a routine name');
+ $errors[] = __('You must provide a routine name!');
}
$params = '';
$warned_about_dir = false;
@@ -1464,7 +1464,7 @@ function PMA_RTN_handleExecute()
$output .= "";
- $message = __('Your SQL query has been executed successfully');
+ $message = __('Your SQL query has been executed successfully.');
if ($routine['item_type'] == 'PROCEDURE') {
$message .= ' ';
diff --git a/libraries/rte/rte_triggers.lib.php b/libraries/rte/rte_triggers.lib.php
index 92fb095a49..1650ae7a51 100644
--- a/libraries/rte/rte_triggers.lib.php
+++ b/libraries/rte/rte_triggers.lib.php
@@ -448,28 +448,28 @@ function PMA_TRI_getQueryFromRequest()
$query .= 'DEFINER=' . PMA_Util::backquote($arr[0]);
$query .= '@' . PMA_Util::backquote($arr[1]) . ' ';
} else {
- $errors[] = __('The definer must be in the "username@hostname" format');
+ $errors[] = __('The definer must be in the "username@hostname" format!');
}
}
$query .= 'TRIGGER ';
if (! empty($_REQUEST['item_name'])) {
$query .= PMA_Util::backquote($_REQUEST['item_name']) . ' ';
} else {
- $errors[] = __('You must provide a trigger name');
+ $errors[] = __('You must provide a trigger name!');
}
if (! empty($_REQUEST['item_timing'])
&& in_array($_REQUEST['item_timing'], $action_timings)
) {
$query .= $_REQUEST['item_timing'] . ' ';
} else {
- $errors[] = __('You must provide a valid timing for the trigger');
+ $errors[] = __('You must provide a valid timing for the trigger!');
}
if (! empty($_REQUEST['item_event'])
&& in_array($_REQUEST['item_event'], $event_manipulations)
) {
$query .= $_REQUEST['item_event'] . ' ';
} else {
- $errors[] = __('You must provide a valid event for the trigger');
+ $errors[] = __('You must provide a valid event for the trigger!');
}
$query .= 'ON ';
if (! empty($_REQUEST['item_table'])
@@ -477,7 +477,7 @@ function PMA_TRI_getQueryFromRequest()
) {
$query .= PMA_Util::backquote($_REQUEST['item_table']);
} else {
- $errors[] = __('You must provide a valid table name');
+ $errors[] = __('You must provide a valid table name!');
}
$query .= ' FOR EACH ROW ';
if (! empty($_REQUEST['item_definition'])) {
diff --git a/libraries/server_privileges.lib.php b/libraries/server_privileges.lib.php
index 024b842fd5..e3cac9f2e8 100644
--- a/libraries/server_privileges.lib.php
+++ b/libraries/server_privileges.lib.php
@@ -826,7 +826,7 @@ function PMA_getHtmlForTableSpecificPrivileges(
. '' . "\n"
. '' . __('Table-specific privileges')
. PMA_Util::showHint(
- __('Note: MySQL privilege names are expressed in English')
+ __('Note: MySQL privilege names are expressed in English.')
)
. ' ' . "\n";
@@ -1011,7 +1011,7 @@ function PMA_getHtmlForGlobalOrDbSpecificPrivs($db, $table, $row)
. '' . __('Check All') . ' '
. ''
. ''
- . __('Note: MySQL privilege names are expressed in English')
+ . __('Note: MySQL privilege names are expressed in English.')
. '
';
// Output the Global privilege tables with checkboxes
@@ -2935,7 +2935,7 @@ function PMA_getUsersOverview($result, $db_rights, $pmaThemeImage, $text_dir)
. '' . __('Password') . ' ' . "\n"
. '' . __('Global privileges') . ' '
. PMA_Util::showHint(
- __('Note: MySQL privilege names are expressed in English')
+ __('Note: MySQL privilege names are expressed in English.')
)
. ' ' . "\n";
if ($GLOBALS['cfgRelation']['menuswork']) {
diff --git a/libraries/sql_query_form.lib.php b/libraries/sql_query_form.lib.php
index 60462754cf..ff5d285b44 100644
--- a/libraries/sql_query_form.lib.php
+++ b/libraries/sql_query_form.lib.php
@@ -108,7 +108,7 @@ function PMA_getHtmlForSqlQueryForm(
. ' ' . "\n"
. ' '
+ . __('Your SQL query has been executed successfully.') . '" />'
. "\n" . ' ' . "\n";
diff --git a/libraries/tbl_columns_definition_form.lib.php b/libraries/tbl_columns_definition_form.lib.php
index d045f1e2f5..bcfa6122d8 100644
--- a/libraries/tbl_columns_definition_form.lib.php
+++ b/libraries/tbl_columns_definition_form.lib.php
@@ -1039,9 +1039,8 @@ function PMA_getHtmlForColumnLength($columnNumber, $ci, $ci_offset,
. '';
- $html .= __('ENUM or SET data too long?')
- . ' '
- . __('Get more editing space') . ' '
+ $html .= ' '
+ . __('Edit ENUM/SET values') . ' '
. '
';
return $html;
diff --git a/libraries/tbl_relation.lib.php b/libraries/tbl_relation.lib.php
index 6082c57414..88f36c1c66 100644
--- a/libraries/tbl_relation.lib.php
+++ b/libraries/tbl_relation.lib.php
@@ -892,7 +892,7 @@ function PMA_handleUpdatesForForeignKeys($destination_foreign_db,
if (! empty($display_query) && ! $seen_error) {
$GLOBALS['display_query'] = $display_query;
$html_output = PMA_Util::getMessage(
- __('Your SQL query has been executed successfully'),
+ __('Your SQL query has been executed successfully.'),
null, 'success'
);
}
diff --git a/pmd_pdf.php b/pmd_pdf.php
index d8fb1c194a..6e0a6093a4 100644
--- a/pmd_pdf.php
+++ b/pmd_pdf.php
@@ -125,10 +125,10 @@ if ($GLOBALS['dbi']->numRows($table_info_result) > 0) {
}
echo '';
echo '';
- $choices['import'] = __('Import from selected page');
- $choices['export'] = __('Export to selected page');
+ $choices['import'] = __('Import from selected page.');
+ $choices['export'] = __('Export to selected page.');
}
-$choices['create_export'] = __('Create a page and export to it');
+$choices['create_export'] = __('Create a page and export to it.');
if (1 == count($choices)) {
echo $choices['create_export'];
diff --git a/prefs_forms.php b/prefs_forms.php
index c44e77519f..2cc37bfa8e 100644
--- a/prefs_forms.php
+++ b/prefs_forms.php
@@ -83,7 +83,7 @@ if ($form_display->hasErrors()) {
// form has errors
?>
-
+
displayErrors(); ?>