diff --git a/libraries/common.lib.php b/libraries/common.lib.php index f0451b697c..aeaee02987 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1843,7 +1843,6 @@ function PMA_flipstring($string, $Separator = "
\n") * Not sure we could use a strMissingParameter message here, * would have to check if the error message file is always available * - * @todo localize error message * @todo use PMA_fatalError() if $die === true? * @param array $params The names of the parameters needed by the calling script. * @param bool $die Stop the execution? @@ -1874,7 +1873,8 @@ function PMA_checkParameters($params, $die = true, $request = true) if (! isset($GLOBALS[$param])) { $error_message .= $reported_script_name - . ': Missing parameter: ' . $param + . ': ' . __('Missing parameter:') . ' ' + . $param . PMA_showDocu('faqmissingparameters') . '
'; $found_error = true;