Pier Angelo Vendrame pushed to branch mullvad-browser-115.9.0esr-13.0-1 at The 
Tor Project / Applications / Mullvad Browser


Commits:
b12aff4c by Pier Angelo Vendrame at 2024-03-13T19:17:43+01:00
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.

- - - - -


1 changed file:

- toolkit/content/widgets/datetimebox.js


Changes:

=====================================
toolkit/content/widgets/datetimebox.js
=====================================
@@ -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()
     );
   }
 



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/b12aff4ca61d4bd3e55ec76a9bb72ec58aae4d21

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/b12aff4ca61d4bd3e55ec76a9bb72ec58aae4d21
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-commits

Reply via email to