diff options
author | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-02-07 17:49:27 +0200 |
---|---|---|
committer | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-02-07 17:49:27 +0200 |
commit | c515ffec9c4e43c6e826645168a36cedaf0b6870 (patch) | |
tree | 787ee9c39e1cdc180b118cd198178a85e8d16c95 /inc/poche/Poche.class.php | |
parent | 4e09039d2c2c691e9520384f6f464d6d751ab4ad (diff) | |
download | wallabag-c515ffec9c4e43c6e826645168a36cedaf0b6870.tar.gz wallabag-c515ffec9c4e43c6e826645168a36cedaf0b6870.tar.zst wallabag-c515ffec9c4e43c6e826645168a36cedaf0b6870.zip |
Polish and Ukrainian translations added. Russian - updated. Plust 2 small translation related fixes in code.
Diffstat (limited to 'inc/poche/Poche.class.php')
-rw-r--r-- | inc/poche/Poche.class.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 4df90067..74827253 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -565,7 +565,8 @@ class Poche | |||
565 | 565 | ||
566 | if (count($entries) > 0) { | 566 | if (count($entries) > 0) { |
567 | $this->pagination->set_total(count($entries)); | 567 | $this->pagination->set_total(count($entries)); |
568 | $page_links = $this->pagination->page_links('?view=' . $view . '&sort=' . $_SESSION['sort'] . '&'); | 568 | $page_links = str_replace(array('previous', 'next'), array(_('previous'), _('next')), |
569 | $this->pagination->page_links('?view=' . $view . '&sort=' . $_SESSION['sort'] . '&')); | ||
569 | $datas = $this->store->getEntriesByView($view, $this->user->getId(), $this->pagination->get_limit()); | 570 | $datas = $this->store->getEntriesByView($view, $this->user->getId(), $this->pagination->get_limit()); |
570 | $tpl_vars['entries'] = $datas; | 571 | $tpl_vars['entries'] = $datas; |
571 | $tpl_vars['page_links'] = $page_links; | 572 | $tpl_vars['page_links'] = $page_links; |