From 5826ccb25412f638b3a7c6a1094d74b880ca1c5c Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 27 Jun 2009 11:48:32 +0000 Subject: [PATCH] typos in comments --- libraries/Message.class.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libraries/Message.class.php b/libraries/Message.class.php index a2d507d46..37114cb79 100644 --- a/libraries/Message.class.php +++ b/libraries/Message.class.php @@ -31,7 +31,7 @@ * // create a localized success message * $message = PMA_Message::success('strSomeLocaleMessage'); * - * // create another message, a hint, whith a localized string which expects + * // create another message, a hint, with a localized string which expects * // two parameters: $strSomeFootnote = 'Read the %smanual%s' * $hint = PMA_Message::notice('strSomeFootnote'); * // replace %d with the following params @@ -49,7 +49,7 @@ * $more->addParam('parameter for strSomeMoreLocale'); * $more->addParam('more parameter for strSomeMoreLocale'); * - * // and add it also to the orignal message + * // and add it also to the original message * $message->addMessage($more); * // finally add another raw message * $message->addMessage('some final words', ' - '); @@ -102,7 +102,7 @@ class PMA_Message protected $_string = ''; /** - * The formated message + * The formatted message * * @access protected * @var string @@ -351,7 +351,7 @@ class PMA_Message /** * returns whether this message is a notice message or not - * and optionaly makes this message a notice message + * and optionally makes this message a notice message * * @uses PMA_Message::NOTICE * @uses PMA_Message::setNumber() @@ -370,7 +370,7 @@ class PMA_Message /** * returns whether this message is a warning message or not - * and optionaly makes this message a warning message + * and optionally makes this message a warning message * * @uses PMA_Message::WARNING * @uses PMA_Message::setNumber() @@ -389,7 +389,7 @@ class PMA_Message /** * returns whether this message is an error message or not - * and optionaly makes this message an error message + * and optionally makes this message an error message * * @uses PMA_Message::ERROR * @uses PMA_Message::setNumber() @@ -455,7 +455,7 @@ class PMA_Message * usage * * $message->addParam('strLocale', false); - * $message->addParam('[em]somes tring[/em]'); + * $message->addParam('[em]some string[/em]'); * $message->addParam('', false); * * @@ -661,7 +661,7 @@ class PMA_Message * @uses is_array() * @uses array_unshift() * @uses call_user_func_array() - * @return string formated + * @return string formatted */ static public function format() {