Fix i18n string

Order has been changed due to a little bug in sort order function.
This commit is contained in:
Marien Fressinaud
2014-10-26 12:37:38 +01:00
parent 5d6407a0bf
commit 4dec7bf127
3 changed files with 114 additions and 110 deletions

View File

@@ -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'));
}
}