Skip to content
Snippets Groups Projects
Commit 620b210b 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 121a4faa
No related branches found
No related tags found
No related merge requests found
......@@ -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