Skip to content

Commit

Permalink
Update i18n for limit of feeds
Browse files Browse the repository at this point in the history
See #680
  • Loading branch information
marienfressinaud committed Oct 29, 2014
1 parent 1ea996c commit cf7350a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Controllers/feedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ public function addAction() {
$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()) {
Expand Down
1 change: 1 addition & 0 deletions app/i18n/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions app/i18n/fr.php
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@
'steps' => 'Étapes',
'sticky_post' => 'Aligner l’article 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.',
Expand Down

0 comments on commit cf7350a

Please sign in to comment.