From c515ffec9c4e43c6e826645168a36cedaf0b6870 Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Fri, 7 Feb 2014 17:49:27 +0200 Subject: Polish and Ukrainian translations added. Russian - updated. Plust 2 small translation related fixes in code. --- inc/poche/Poche.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc') 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 if (count($entries) > 0) { $this->pagination->set_total(count($entries)); - $page_links = $this->pagination->page_links('?view=' . $view . '&sort=' . $_SESSION['sort'] . '&'); + $page_links = str_replace(array('previous', 'next'), array(_('previous'), _('next')), + $this->pagination->page_links('?view=' . $view . '&sort=' . $_SESSION['sort'] . '&')); $datas = $this->store->getEntriesByView($view, $this->user->getId(), $this->pagination->get_limit()); $tpl_vars['entries'] = $datas; $tpl_vars['page_links'] = $page_links; -- cgit v1.2.3