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 <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2026-01-15 08:28:35 -05:00 committed by Lucas Gass
parent 7c5c8e74bc
commit d5de3ee6cd
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 1 additions and 1 deletions

View File

@ -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 () {