CC-1960: Internationalize Airtime / Support translations
- added gettext wrapper function to all strings in controllers
This commit is contained in:
parent
e5f67c8b05
commit
5adadc2e91
12 changed files with 91 additions and 89 deletions
|
@ -14,12 +14,12 @@ class ErrorController extends Zend_Controller_Action
|
|||
|
||||
// 404 error -- controller or action not found
|
||||
$this->getResponse()->setHttpResponseCode(404);
|
||||
$this->view->message = 'Page not found';
|
||||
$this->view->message = _('Page not found');
|
||||
break;
|
||||
default:
|
||||
// application error
|
||||
$this->getResponse()->setHttpResponseCode(500);
|
||||
$this->view->message = 'Application error';
|
||||
$this->view->message = _('Application error');
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue