From 111e99ccc1c85e89d87e18ccf4fd997479e46d79 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 5 Sep 2024 14:05:55 +0000 Subject: [PATCH] Bug 28453: (follow-up) Make pagination labels translatable This patch moves the English strings out of Output.pm and adds classes to the pagination markup which can be used as hooks for JavaScript. The global JS include is modified to look for these hooks and add text labels to the links. --- C4/Output.pm | 10 +++++----- koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 7 +++++++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/C4/Output.pm b/C4/Output.pm index 90fbad510b..9172b308c5 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -110,7 +110,7 @@ sub pagination_bar { # navigation bar useful only if more than one page to display ! if ( $nb_pages > 1 ) { - $pagination_bar = '