Wrapping error string in translator function.

This commit is contained in:
ADmad 2012-02-26 20:34:30 +05:30
parent 7665f369fa
commit a31be56f42

View file

@ -422,7 +422,7 @@ class View extends Object {
$file = 'Elements' . DS . $name . $this->ext;
if (Configure::read('debug') > 0) {
return "Element Not Found: " . $file;
return __d('cake_dev', 'Element Not Found: %s', $file);
}
}