Closed Bug 2026331 Opened 3 months ago Closed 2 months ago

explanatory header of SmartBlock original embed content is not translated

Categories

(Core :: Privacy: Anti-Tracking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox149 --- wontfix
firefox150 --- wontfix
firefox151 --- wontfix
firefox152 --- fixed

People

(Reporter: soeren.hentzschel, Assigned: jhan)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached image screenshot

In bug 1976290, the original embed content was added below the SmartBlock placeholder for blocked embeddings (like Instagram or X posts). The explanatory header is a fixed English string ("Content from blocked embed:") and not translated for users in other languages:

https://hg-edge.mozilla.org/mozilla-central/rev/966d2e73f56a#l3.233

Thanks for filing! Looks like we missed moving that to an FTL file. James, as the patch author, could you take a look please?

Severity: -- → S3
Flags: needinfo?(jhan)
Priority: -- → P2

Let's call it a regression.

No longer depends on: 1976290
Keywords: regression
Regressed by: 1976290

Set release status flags based on info from the regressing bug 1976290

Assignee: nobody → jhan
Flags: needinfo?(jhan)

The "Content from blocked embed:" header that appears above the
preserved original content in SmartBlock placeholders was hardcoded
in English. Route it through the existing fluent-string mechanism
used by the other placeholder strings.

(In reply to Emma Zühlcke [:emz] from comment #1)

Thanks for filing! Looks like we missed moving that to an FTL file. James, as the patch author, could you take a look please?

https://phabricator.services.mozilla.com/D295198

Yes, for sure, patch is up, thank you!

Pushed by twisniewski@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b6efb0366387 https://hg.mozilla.org/integration/autoland/rev/22546ddd24ed Localize SmartBlock embed content header string. r=manuel,fluent-reviewers,webcompat-reviewers,twisniewski,flod
Pushed by pstanciu@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/72a53f8feb25 https://hg.mozilla.org/integration/autoland/rev/9944147be891 Revert "Bug 2026331 - Localize SmartBlock embed content header string. r=manuel,fluent-reviewers,webcompat-reviewers,twisniewski,flod" for causing mochitest failures @ browser_smartblockembeds_link_preservation.js

Backed out for causing mochitest failures @ browser_smartblockembeds_link_preservation.js

Flags: needinfo?(jhan)
Pushed by twisniewski@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/300a1e0b7835 https://hg.mozilla.org/integration/autoland/rev/dd7f079e0725 Localize SmartBlock embed content header string. r=manuel,fluent-reviewers,webcompat-reviewers,twisniewski,flod
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
Flags: needinfo?(jhan)

The patch landed in nightly and beta is affected.
:jhan, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(jhan)
QA Whiteboard: [qa-triage-done-c153/b152]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: