mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-04 22:53:27 -04:00
Update i18n for limit of category.
This commit is contained in:
@@ -35,9 +35,10 @@ class FreshRSS_category_Controller extends Minz_ActionController {
|
||||
|
||||
$limits = Minz_Configuration::limits();
|
||||
$this->view->categories = $catDAO->listCategories(false);
|
||||
|
||||
if (count($this->view->categories) >= $limits['max_categories']) {
|
||||
Minz_Request::bad(_t('over_max_categories', $limits['max_categories']), $url_redirect);
|
||||
return;
|
||||
Minz_Request::bad(_t('sub.categories.over_max', $limits['max_categories']),
|
||||
$url_redirect);
|
||||
}
|
||||
|
||||
if (Minz_Request::isPost()) {
|
||||
|
||||
Reference in New Issue
Block a user