diff options
| author | 2014-10-05 15:55:20 +0200 | |
|---|---|---|
| committer | 2014-10-05 15:55:20 +0200 | |
| commit | 6c8b36f04ea1bc2c022c331bb0980b6c9dccb83c (patch) | |
| tree | 61a6b28b6041642faa32d04b4869afa774bda72d /app/Controllers/errorController.php | |
| parent | 5a9b08e084b376af9b65699f9868d66a46f8c170 (diff) | |
Let's begin the big refactoring!
Minz_Translate::t\s? replaces by _t
See https://github.com/marienfressinaud/FreshRSS/issues/655
Diffstat (limited to 'app/Controllers/errorController.php')
| -rw-r--r-- | app/Controllers/errorController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/errorController.php b/app/Controllers/errorController.php index 922650b3d..64a5c06fd 100644 --- a/app/Controllers/errorController.php +++ b/app/Controllers/errorController.php @@ -24,11 +24,11 @@ class FreshRSS_error_Controller extends Minz_ActionController { if ($this->view->errorMessage == '') { switch(Minz_Request::param('code')) { case 403: - $this->view->errorMessage = Minz_Translate::t('forbidden_access'); + $this->view->errorMessage = _t('forbidden_access'); break; case 404: default: - $this->view->errorMessage = Minz_Translate::t('page_not_found'); + $this->view->errorMessage = _t('page_not_found'); break; } } |
