Update i18n for limit of feeds

See https://github.com/marienfressinaud/FreshRSS/issues/680
This commit is contained in:
Marien Fressinaud
2014-10-29 10:21:34 +01:00
parent 1ea996c4ea
commit cf7350af47
3 changed files with 4 additions and 2 deletions

View File

@@ -71,8 +71,8 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
$limits = Minz_Configuration::limits();
$this->view->feeds = $feedDAO->listFeeds();
if (count($this->view->feeds) >= $limits['max_feeds']) {
Minz_Request::bad(_t('over_max_feeds', $limits['max_feeds']), $url_redirect);
return;
Minz_Request::bad(_t('sub.feeds.over_max', $limits['max_feeds']),
$url_redirect);
}
if (Minz_Request::isPost()) {

View File

@@ -474,6 +474,7 @@
'steps' => 'Steps',
'sticky_post' => 'Stick the article to the top when opened',
'sub.categories.over_max' => 'You have reached your limit of categories (%d)',
'sub.feeds.over_max' => 'You have reached your limit of feeds (%d)',
'submit' => 'Submit',
'subscription_management' => 'Subscriptions management',
'sun' => 'Sun',

View File

@@ -474,6 +474,7 @@
'steps' => 'Étapes',
'sticky_post' => 'Aligner larticle en haut quand il est ouvert',
'sub.categories.over_max' => 'Vous avez atteint votre limite de catégories (%d)',
'sub.feeds.over_max' => 'Vous avez atteint votre limite de flux (%d)',
'submit' => 'Valider',
'subscription_management' => 'Gestion des abonnements',
'sun' => 'dim.',