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:
parent
7c5c8e74bc
commit
d5de3ee6cd
|
|
@ -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 () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue