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
1 changed file:
Changes:
... | ... | @@ -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());
|