From 0e34f555f95580dfe65f76787badbaf148b3377e Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 16 Oct 2022 00:04:11 +0200 Subject: [PATCH] Bug 31738: Fix untranslatable string for recalls To test translation: 1. Apply patch and update your po files using: https://wiki.koha-community.org/wiki/Translating_Koha#Updating_the_po_files_in_your_installation 2. Verify the string appears in po files now and translate it 3. Install the language To test functionality: 1. Turn on recalls 1.1. In Administration > Global system preferences, enable UseRecalls 1.2. Add recalls permissions in your circulation rules 2. In the OPAC, log in as a patron 3. Find a record with checked out items and place a recall 4. In the intranet, go to the patron file of the patron who currently has that item checked out --> In the Checkouts table at the bottom of the page, there is a red message next to the recalled title Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index 5cda87e84a..60afab6d2b 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -367,7 +367,7 @@ $(document).ready(function() { } if ( oObj.recalled == 1 ) { - title += " - This item has been recalled and the due date updated."; + title += " - " + __("This item has been recalled and the due date updated") + "."; } title += " " -- 2.39.5