Skip to content
Snippets Groups Projects
Verified Commit f25db113 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern: Committed by ma1
Browse files

Bug 42376: Pass the locale list when constructing l10n in datetimebox

The datetime input is inconsistent with other inputs when using spoof
English: its placeholder is not translated, unlike the default values
and texts of all the other inputs.
parent a102e065
Branches
Tags
1 merge request!957Bug 42474: Rebase stable browser on 115.9.1
......@@ -22,7 +22,9 @@ this.DateTimeBoxWidget = class {
// createEditFieldAndAppend() call.
this.l10n = new this.window.DOMLocalization(
["toolkit/global/datetimebox.ftl"],
/* aSync = */ true
/* aSync = */ true,
undefined,
this.window.getWebExposedLocales()
);
}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment