From 88deb465df82e97a0d9e40aa7f5fc37f7d806493 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 5 Jul 2013 08:39:18 -0400 Subject: [PATCH] Improve PMA_Message doc --- libraries/Message.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/Message.class.php b/libraries/Message.class.php index f1b16dfbca..ddec29a299 100644 --- a/libraries/Message.class.php +++ b/libraries/Message.class.php @@ -17,8 +17,8 @@ * // get simple success message 'Success' * $message = PMA_Message::success(); * - * // get special notice 'Some locale notice' - * $message = PMA_Message::notice('strSomeLocaleNotice'); + * // get special notice + * $message = PMA_Message::notice(__('This is a localized notice')); * * * more advanced usage example: @@ -29,7 +29,7 @@ * // create another message, a hint, with a localized string which expects * // two parameters: $strSomeTooltip = 'Read the %smanual%s' * $hint = PMA_Message::notice('strSomeTooltip'); - * // replace %d with the following params + * // replace placeholders with the following params * $hint->addParam('[doc@cfg_Example]'); * $hint->addParam('[/doc]'); * // add this hint as a tooltip