Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Wrapping error string in translator function.

  • Loading branch information...
commit a31be56f425f0ce5fe6d1bb217f9ad27ac0938c9 1 parent 7665f36
ADmad ADmad authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/View/View.php
2  lib/Cake/View/View.php
View
@@ -422,7 +422,7 @@ public function element($name, $data = array(), $options = array()) {
$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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.