mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Wrapping error string in translator function.
This commit is contained in:
parent
7665f369fa
commit
a31be56f42
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ class View extends Object {
|
||||||
$file = 'Elements' . DS . $name . $this->ext;
|
$file = 'Elements' . DS . $name . $this->ext;
|
||||||
|
|
||||||
if (Configure::read('debug') > 0) {
|
if (Configure::read('debug') > 0) {
|
||||||
return "Element Not Found: " . $file;
|
return __d('cake_dev', 'Element Not Found: %s', $file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue