Commit 7660827d by Alexander Makarov

Fixes #2460: custom listview/gridview summary was broken

parent a5e575ab
...@@ -185,6 +185,14 @@ abstract class BaseListView extends Widget ...@@ -185,6 +185,14 @@ abstract class BaseListView extends Widget
]) . '</div>'; ]) . '</div>';
} }
} }
return Yii::$app->getI18n()->format($summaryContent, [
'begin' => $begin,
'end' => $end,
'count' => $count,
'totalCount' => $totalCount,
'page' => $page,
'pageCount' => $pageCount,
], Yii::$app->language);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment