Permalink
Browse files

Updating examples in `Message` docblocks.

  • Loading branch information...
1 parent b6b56bb commit 76e90099e5e1ece3d5c0d2914359e1cd0e75b604 @davidpersson davidpersson committed with gwoo Feb 9, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 libraries/lithium/g11n/Message.php
@@ -62,9 +62,9 @@ class Message extends \lithium\core\StaticObject {
*
* Example:
* {{{
- * Message::translate('Your {:color} paintings are looking just great.', array(
- * 'color' => 'silver',
- * 'locale' => 'fr'
+ * Message::translate('I can see {:count} bike.');
+ * Message::translate('This {:color} painting is {:color}.', array(
+ * 'color' => Message::translate('silver'),
* ));
* }}}
*
@@ -107,8 +107,8 @@ public static function translate($id, $options = array()) {
*
* Usage:
* {{{
- * $t('look');
- * $tn('book', 'books', array('count' => 3));
+ * $t('bike');
+ * $tn('bike', 'bikes', array('count' => 3));
* }}}
*
* Using in a method:

0 comments on commit 76e9009

Please sign in to comment.