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

[tor-commits] [Git][tpo/applications/tor-browser][base-browser-115.8.0esr-13.5-1] Bug 42378: Apply spoof English to the default detail summary.



Title: GitLab

Pier Angelo Vendrame pushed to branch base-browser-115.8.0esr-13.5-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 5100fb4f
    by Pier Angelo Vendrame at 2024-03-04T09:49:58+01:00
    Bug 42378: Apply spoof English to the default detail summary.
    

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