Skip to content
Snippets Groups Projects
Verified Commit ca52b7a9 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
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 67a0193a
No related branches found
No related tags found
1 merge request!1037Bug 42614: Rebased onto 115.12
......@@ -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