kop / yii2-scroll-pager

Infinite AJAX scrolling for Yii2 ListView widget
https://kop.github.io/yii2-scroll-pager/
MIT License
180 stars 63 forks source link

Syntax error in translation file #107

Closed buttflattery closed 4 years ago

buttflattery commented 4 years ago

Hello a recent update caused this bug

ParseError: syntax error, unexpected ''Load previous items'' (T_CONSTANT_ENCAPSED_STRING), expecting ']' in /vendor/kop/yii2-scroll-pager/messages/en/general.php:6

which is because of a missing comma , after the second key=>value pair declared in the mentioned file

return [
    'Load more items' => 'Load more items',
    'You reached the end' => 'You reached the end'
    'Load previous items' => 'Load previous items'
];
onmotion commented 4 years ago

Hi. Fixed in #106 Please try to update