mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
refactored exceptions.
I18N WIP.
This commit is contained in:
@ -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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user