aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/authController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-26 12:37:38 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-26 12:37:38 +0100
commit4dec7bf127fdb71c78d09bb4f64995028a60c439 (patch)
tree1d02d031355b96aec080fa8454aa3b57ab59144a /app/Controllers/authController.php
parent5d6407a0bf0ecee7017f9d6c6c110b7afa98fff0 (diff)
Fix i18n string
Order has been changed due to a little bug in sort order function.
Diffstat (limited to 'app/Controllers/authController.php')
-rw-r--r--app/Controllers/authController.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/Controllers/authController.php b/app/Controllers/authController.php
index a08f906e3..491be8d8a 100644
--- a/app/Controllers/authController.php
+++ b/app/Controllers/authController.php
@@ -23,6 +23,8 @@ class FreshRSS_auth_Controller extends Minz_ActionController {
array('error' => array(_t('access_denied'))));
}
+ Minz_View::prependTitle(_t('gen.title.authentication') . ' ยท ');
+
if (Minz_Request::isPost()) {
$ok = true;
@@ -55,10 +57,10 @@ class FreshRSS_auth_Controller extends Minz_ActionController {
invalidateHttpCache();
if ($ok) {
- Minz_Request::good('configuration_updated',
+ Minz_Request::good(_t('configuration_updated'),
array('c' => 'auth', 'a' => 'index'));
} else {
- Minz_Request::bad('error_occurred',
+ Minz_Request::bad(_t('error_occurred'),
array('c' => 'auth', 'a' => 'index'));
}
}