From 9f0ed052b11a618d785ce6e1895bc0d2c0a30a8e 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. Signed-off-by: David Nind --- C4/Output.pm | 10 +++++----- koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 6 ++++++ 2 files changed, 11 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 = '