Let's begin the big refactoring!

Minz_Translate::t\s? replaces by _t

See https://github.com/marienfressinaud/FreshRSS/issues/655
This commit is contained in:
Marien Fressinaud
2014-10-05 15:55:20 +02:00
parent 5a9b08e084
commit 6c8b36f04e
27 changed files with 256 additions and 258 deletions

View File

@@ -120,11 +120,11 @@ class FreshRSS_stats_Controller extends Minz_ActionController {
public function firstAction() {
if (!$this->view->loginOk) {
Minz_Error::error(
403, array('error' => array(Minz_Translate::t('access_denied')))
403, array('error' => array(_t('access_denied')))
);
}
Minz_View::prependTitle(Minz_Translate::t('stats') . ' · ');
Minz_View::prependTitle(_t('stats') . ' · ');
}
}