From 15da7cdc863970eb7f56051d106dde7d45ffaf0a Mon Sep 17 00:00:00 2001 From: Owen Date: Tue, 2 Nov 2021 11:12:50 +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 | 18 +++++++++--------- .../intranet-tmpl/prog/js/staff-global.js | 6 ++++++ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/C4/Output.pm b/C4/Output.pm index 643f54cc49..949da4e2c8 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -107,17 +107,17 @@ sub pagination_bar { # navigation bar useful only if more than one page to display ! if ( $nb_pages > 1 ) { - $pagination_bar = '