Skip to content

Commit

Permalink
mention the CChoiceFormat param name in Yii::t doc
Browse files Browse the repository at this point in the history
added doc line to $params parameter of Yii::t that mentions the name of
the CChoiceFormat parameter in translation message strings. {n}
  • Loading branch information
cebe committed Mar 7, 2012
1 parent 18eac82 commit 7562ac9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/YiiBase.php
Expand Up @@ -557,6 +557,7 @@ public static function powered()
* an appropriate message translation.
* Starting from version 1.1.6 you can pass parameter for {@link CChoiceFormat::format}
* or plural forms format without wrapping it with array.
* This parameter is then available as <code>{n}</code> in the message translation string.
* @param string $source which message source application component to use.
* Defaults to null, meaning using 'coreMessages' for messages belonging to
* the 'yii' category and using 'messages' for the rest messages.
Expand Down

0 comments on commit 7562ac9

Please sign in to comment.