diff options
author | emkael <emkael@tlen.pl> | 2016-06-07 15:06:56 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-06-10 11:46:37 +0200 |
commit | 5d0cd43954513295c813d3557e8cc6d83ba4a134 (patch) | |
tree | 36e11d67f6f0d2bf368b2997cb93f76d849a8071 /app/php/controls/UrlBasedCalendarControl.php | |
parent | 83efd023c884adfa54a308825beaff264e67fac1 (diff) |
* i18nized texts
Diffstat (limited to 'app/php/controls/UrlBasedCalendarControl.php')
-rw-r--r-- | app/php/controls/UrlBasedCalendarControl.php | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |