refactored exceptions.

I18N WIP.
This commit is contained in:
Qiang Xue
2013-02-04 16:39:19 -05:00
parent 398ac25456
commit 54ee8c44a0
42 changed files with 561 additions and 212 deletions

View File

@ -40,6 +40,6 @@ class Exception extends \yii\base\Exception
*/
public function getName()
{
return \Yii::t('yii', 'Database Exception');
return \Yii::t('yii:Database Exception');
}
}