From f20ac5f2bb6023168470289eb8a2af568f0855ab Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 13 Nov 2024 11:01:53 +0000 Subject: [PATCH] Bug 36221: (QA follow-up): Fix translation entry concat --- Koha/ILL/Backend/shared-includes/shared.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/ILL/Backend/shared-includes/shared.js b/Koha/ILL/Backend/shared-includes/shared.js index 12db43984d..80302eefee 100644 --- a/Koha/ILL/Backend/shared-includes/shared.js +++ b/Koha/ILL/Backend/shared-includes/shared.js @@ -32,7 +32,7 @@ document.addEventListener('DOMContentLoaded', function() { $('#standard-fields').on('keyup', '.custom-name', function() { var val = $(this).val(); if (core.indexOf(val.toLowerCase()) > -1) { - $('#custom-warning').text(__('The name "' + val + '" is not permitted')).show(); + $('#custom-warning').text(__('The name "%s" is not permitted').format(val)).show(); $('#ill-submit').attr('disabled', true); $('#add-new-fields').attr('disabled', true); } else { -- 2.39.5