no message translation

This commit is contained in:
Alexander Pletnev
2014-06-01 02:07:14 +04:00
parent cc30e3be51
commit 445c89cfb4

View File

@@ -594,10 +594,9 @@ class CClientScript extends CApplicationComponent
$params=func_get_args();
$this->recordCachingAction('clientScript','registerCoreScript',$params);
} else {
if(YII_DEBUG===true)
if(YII_DEBUG)
{
$message=Yii::t('yii','There is no package:' . $name);
Yii::log($message, CLogger::LEVEL_WARNING, 'system.web.CClientScript');
Yii::log('There is no package: '.$name, CLogger::LEVEL_WARNING, 'system.web.CClientScript');
}
}
return $this;