Translation fix

Fixes #2340

Signed-off-by: mark_story <mark@mark-story.com>
This commit is contained in:
euromark 2011-12-06 03:27:27 +01:00 committed by mark_story
parent ba81754a1a
commit f9d12563a3

View file

@ -222,7 +222,7 @@ class ExceptionRenderer {
public function error500($error) { public function error500($error) {
$message = $error->getMessage(); $message = $error->getMessage();
if (Configure::read('debug') == 0) { if (Configure::read('debug') == 0) {
$message = __d('cake', 'An Internal Error Has Occurred'); $message = __d('cake', 'An Internal Error Has Occurred.');
} }
$url = $this->controller->request->here(); $url = $this->controller->request->here();
$code = ($error->getCode() > 500 && $error->getCode() < 506) ? $error->getCode() : 500; $code = ($error->getCode() > 500 && $error->getCode() < 506) ? $error->getCode() : 500;