[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-115.7.0esr-13.5-1] Bug 42376: Pass the locale list when constructing l10n in datetimebox



Title: GitLab

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

Commits:

  • 69328375
    by Pier Angelo Vendrame at 2024-02-13T15:16: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:

Changes:

  • toolkit/content/widgets/datetimebox.js
    ... ... @@ -22,7 +22,9 @@ this.DateTimeBoxWidget = class {
    22 22
         // createEditFieldAndAppend() call.
    
    23 23
         this.l10n = new this.window.DOMLocalization(
    
    24 24
           ["toolkit/global/datetimebox.ftl"],
    
    25
    -      /* aSync = */ true
    
    25
    +      /* aSync = */ true,
    
    26
    +      undefined,
    
    27
    +      this.window.getWebExposedLocales()
    
    26 28
         );
    
    27 29
       }
    
    28 30
     
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits