Update i18n

- Fix i18n strings
- Fix typo profil -> profile

See https://github.com/marienfressinaud/FreshRSS/issues/678
This commit is contained in:
Marien Fressinaud
2014-10-26 12:22:13 +01:00
parent 20b40aa85e
commit 5d6407a0bf
7 changed files with 39 additions and 27 deletions

View File

@@ -23,10 +23,10 @@ class FreshRSS_user_Controller extends Minz_ActionController {
}
/**
* This action displays the user profil page.
* This action displays the user profile page.
*/
public function profilAction() {
Minz_View::prependTitle(_t('users.profil') . ' · ');
public function profileAction() {
Minz_View::prependTitle(_t('gen.title.user_profile') . ' · ');
if (Minz_Request::isPost()) {
$ok = true;
@@ -74,11 +74,11 @@ class FreshRSS_user_Controller extends Minz_ActionController {
}
if ($ok) {
Minz_Request::good('users.profil.updated',
array('c' => 'user', 'a' => 'profil'));
Minz_Request::good(_t('feedback.user_profile.updated'),
array('c' => 'user', 'a' => 'profile'));
} else {
Minz_Request::bad('error_occurred',
array('c' => 'user', 'a' => 'profil'));
Minz_Request::bad(_t('error_occurred'),
array('c' => 'user', 'a' => 'profile'));
}
}
}
@@ -92,7 +92,7 @@ class FreshRSS_user_Controller extends Minz_ActionController {
array('error' => array(_t('access_denied'))));
}
Minz_View::prependTitle(_t('users.manage') . ' · ');
Minz_View::prependTitle(_t('gen.title.user_management') . ' · ');
// Get the correct current user.
$userDAO = new FreshRSS_UserDAO();