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

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-115.8.0esr-13.0-1] Bug 1880988 - Apply spoof English to the default detail summary. r=emilio



Title: GitLab

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

Commits:

  • e53013fd
    by Pier Angelo Vendrame at 2024-03-12T11:21:05+01:00
    Bug 1880988 - Apply spoof English to the default detail summary. r=emilio
    
    Differential Revision: https://phabricator.services.mozilla.com/D202203

1 changed file:

Changes:

  • dom/html/HTMLDetailsElement.cpp
    ... ... @@ -105,8 +105,9 @@ void HTMLDetailsElement::SetupShadowTree() {
    105 105
         }
    
    106 106
     
    
    107 107
         nsAutoString defaultSummaryText;
    
    108
    -    nsContentUtils::GetLocalizedString(nsContentUtils::eFORMS_PROPERTIES,
    
    109
    -                                       "DefaultSummary", defaultSummaryText);
    
    108
    +    nsContentUtils::GetMaybeLocalizedString(nsContentUtils::eFORMS_PROPERTIES,
    
    109
    +                                            "DefaultSummary", OwnerDoc(),
    
    110
    +                                            defaultSummaryText);
    
    110 111
         RefPtr<nsTextNode> description = new (nim) nsTextNode(nim);
    
    111 112
         description->SetText(defaultSummaryText, kNotify);
    
    112 113
         summary->AppendChildTo(description, kNotify, IgnoreErrors());
    

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