Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouslan Placella <rouslan@placella.com>2011-06-17 16:56:10 +0400
committerRouslan Placella <rouslan@placella.com>2011-06-17 16:56:10 +0400
commit8410e8e520fd660a0106e0e5f40cd1af8ca74664 (patch)
treefda65e1bb377de8dc4d7fa0022b068662c5ad509 /db_routines.php
parentc2fb87aff5929f2229c60a0ecdd957ac02bdee5e (diff)
Fixed casing of messages in routines functionality
Diffstat (limited to 'db_routines.php')
-rw-r--r--db_routines.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/db_routines.php b/db_routines.php
index 3ae3cd27b3..6803534ae8 100644
--- a/db_routines.php
+++ b/db_routines.php
@@ -159,7 +159,7 @@ if (! empty($_REQUEST['execute_routine']) && ! empty($_REQUEST['routine_name']))
// Display results
if ($result) {
$output .= "<fieldset><legend>";
- $output .= sprintf(__('Execution Results of Routine %s'),
+ $output .= sprintf(__('Execution results of routine %s'),
PMA_backquote(htmlspecialchars($routine['name'])));
$output .= "</legend>";
$output .= "<table><tr>";
@@ -203,11 +203,11 @@ if (! empty($_REQUEST['execute_routine']) && ! empty($_REQUEST['routine_name']))
if ($GLOBALS['is_ajax_request'] == true) {
$extra_data = array();
$extra_data['dialog'] = true;
- $extra_data['title'] = __("Execute Routine") . " ";
+ $extra_data['title'] = __("Execute routine") . " ";
$extra_data['title'] .= PMA_backquote(htmlentities($_GET['routine_name'], ENT_QUOTES));
PMA_ajaxResponse($form, true, $extra_data);
} else {
- echo "\n\n<h2>" . __("Execute Routine") . "</h2>\n\n";
+ echo "\n\n<h2>" . __("Execute routine") . "</h2>\n\n";
echo $form;
require './libraries/footer.inc.php';
// exit;
@@ -236,7 +236,7 @@ if (! empty($_REQUEST['execute_routine']) && ! empty($_REQUEST['routine_name']))
. '</fieldset>';
}
} else {
- $response = __('Error in Processing Request') . ' : '
+ $response = __('Error in processing request') . ' : '
. sprintf(__('No routine with name %s found in database %s'),
$routine_name, htmlspecialchars(PMA_backquote($db)));
$response = PMA_message::error($response);
@@ -256,7 +256,7 @@ if (! empty($_REQUEST['execute_routine']) && ! empty($_REQUEST['routine_name']))
// Execute the created query
if (! empty($_REQUEST['routine_process_editroutine'])) {
if (! in_array($_REQUEST['routine_original_type'], array('PROCEDURE', 'FUNCTION'))) {
- $routine_errors[] = sprintf(__('Invalid Routine Type: "%s"'), htmlspecialchars($_REQUEST['routine_original_type']));
+ $routine_errors[] = sprintf(__('Invalid routine type: "%s"'), htmlspecialchars($_REQUEST['routine_original_type']));
} else {
// Backup the old routine, in case something goes wrong
$create_routine = PMA_DBI_get_definition($db, $_REQUEST['routine_original_type'], $_REQUEST['routine_original_name']);
@@ -349,17 +349,17 @@ if (count($routine_errors) || ( empty($_REQUEST['routine_process_addroutine']) &
// Get the data for the form (if any)
if (! empty($_REQUEST['addroutine'])) {
if ($GLOBALS['is_ajax_request'] != true) {
- echo "\n\n<h2>" . __("Create Routine") . "</h2>\n\n";
+ echo "\n\n<h2>" . __("Create routine") . "</h2>\n\n";
} else {
- $title = __("Create Routine");
+ $title = __("Create routine");
}
$routine = PMA_RTN_getRoutineDataFromRequest();
$mode = 'add';
} else if (! empty($_REQUEST['editroutine'])) {
if ($GLOBALS['is_ajax_request'] != true) {
- echo "\n\n<h2>" . __("Edit Routine") . "</h2>\n\n";
+ echo "\n\n<h2>" . __("Edit routine") . "</h2>\n\n";
} else {
- $title = __("Edit Routine");
+ $title = __("Edit routine");
}
if (! $operation && ! empty($_REQUEST['routine_name']) && empty($_REQUEST['routine_process_editroutine'])) {
$routine = PMA_RTN_getRoutineDataFromName($db, $_REQUEST['routine_name']);
@@ -402,7 +402,7 @@ echo PMA_RTN_getAddRoutineLink();
if ($GLOBALS['cfg']['Server']['extension'] !== 'mysqli') {
trigger_error(__('You are using PHP\'s deprecated \'mysql\' extension, '
. 'which is not capable of handling multi queries. '
- . '<b>The execution of some stored Routines may fail!</b> '
+ . '<b>The execution of some stored routines may fail!</b> '
. 'Please use the improved \'mysqli\' extension to '
. 'avoid any problems.'), E_USER_WARNING);
}