From 251379247bce768c4d5d5bf0086f8d33ec99bb90 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 (cherry picked from commit 0e34f555f95580dfe65f76787badbaf148b3377e) Signed-off-by: Lucas Gass --- 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 21327218cf..4b789689e7 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -369,7 +369,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