From 5d0cd43954513295c813d3557e8cc6d83ba4a134 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 7 Jun 2016 15:06:56 +0200 Subject: * i18nized texts --- app/php/controls/UrlBasedCalendarControl.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/php/controls/UrlBasedCalendarControl.php') diff --git a/app/php/controls/UrlBasedCalendarControl.php b/app/php/controls/UrlBasedCalendarControl.php index c61bc37..a5be82e 100644 --- a/app/php/controls/UrlBasedCalendarControl.php +++ b/app/php/controls/UrlBasedCalendarControl.php @@ -14,7 +14,10 @@ class UrlBasedCalendarControl extends FacadeTemplateControl { } } if ($this->getRaiseException()) { - throw new THttpException(404, 'Page not found'); + throw new THttpException( + 404, + Prado::localize('Page not found') + ); } else { $this->Visible = FALSE; } -- cgit v1.2.3