From 8600df53618323043fce133ef8131535e74d0b90 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 15 Jan 2026 08:28:35 -0500 Subject: [PATCH] Bug 38643: (QA follow-up) Replace _() with __() in global.js The double-underscore function is required for translations to be picked up in JS files. Signed-off-by: Owen Leonard Signed-off-by: Nick Clemens --- koha-tmpl/opac-tmpl/bootstrap/js/global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/global.js b/koha-tmpl/opac-tmpl/bootstrap/js/global.js index 1c980d7d405..73044012988 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/js/global.js +++ b/koha-tmpl/opac-tmpl/bootstrap/js/global.js @@ -270,7 +270,7 @@ function setAdvancedPlaceholder(selectEl) { var $row = $select.closest(".search-term-row"); var $input = $row.find("input[name='q']"); var ph = $select.find("option:selected").data("placeholder"); - $input.attr("placeholder", ph || _("Enter search terms")); + $input.attr("placeholder", ph || __("Enter search terms")); } $(".advanced-search-terms select[name='idx']").each(function () { -- 2.39.5