Passing Varables To My Message Files

I have a bunch of files in my protected/message folder (for language parsing) and I need to see a variable from the calling view inside one of those message files.

lets say I have a view with a given variable (i.e. $myvar) and then I call Yii::t(‘general’,‘some text’)

how can I see $myvar inside the general.php file called by the translate (t) function? how can that be passed?


Does the third parameter to Yii::t() help?