Closed
Bug 1293226
Opened 7 years ago
Closed 2 years ago
Broken HTML in translation string
Categories
(Firefox for Android Graveyard :: General, defect, P5)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: stoyan, Unassigned)
References
Details
(Whiteboard: [TPE-1])
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
Details |
The entity is "malformedURI.longDesc2" and the HTML content of it is not valid HTML. The error from the validator is "Element div not allowed as child of element ul in this context."
Reporter | ||
Comment 1•7 years ago
|
||
Entity "dnsNotFound.longDesc4" is broken the same way.
Updated•7 years ago
|
Priority: -- → P1
Whiteboard: [TPE-1]
Comment 2•7 years ago
|
||
This seems to have been added in 2014 in Bug 1042199: https://hg.mozilla.org/mozilla-central/rev/a4b979000940 I'm slightly worried that changing this would cause translation churn.
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
The patch I've uploaded would seem to fix this (based on playing around with the w3 validator), however I haven't tested in a local build yet. As mentioned I'm worried about the translation churn, especially seeing as the current code works despite being non-compliant - do we want to continue with this?
Comment 5•7 years ago
|
||
Let's bring in flod to understand if updating this string is a problem. (In reply to Andrzej Hunt :ahunt from comment #4) > The patch I've uploaded would seem to fix this (based on playing around with > the w3 validator), however I haven't tested in a local build yet. Okay, we should make sure that everything's working correctly by just triggering this error page. And we should try to keep the indentation correct/clean. :)
Flags: needinfo?(francesco.lodolo)
Comment 6•7 years ago
|
||
Delphine owns mobile l10n, it's her decision ;-) Updating the string would require localizers to "re-translate" it, since the source changes. The point to evaluate is: how bad is to have broken HTML in an internal page (not exposed to other browsers, and working as expected in Firefox)?
Flags: needinfo?(francesco.lodolo) → needinfo?(lebedel.delphine)
Comment 7•7 years ago
|
||
Thanks for forwarding flod. I think it makes sense to correct this
Flags: needinfo?(lebedel.delphine)
Comment 9•7 years ago
|
||
The patch as it is it's not OK: if you want other locales to fix the HTML you will need a new string ID. https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices#Changing_existing_strings That's unless we don't care about locales keeping the broken HTML.
Updated•7 years ago
|
Flags: needinfo?(ahunt)
Comment hidden (obsolete) |
Comment 11•5 years ago
|
||
[triage] Given engineering resources, only critical bugs will remain P1.
Keywords: stale-bug
Priority: P1 → P3
Comment 12•5 years ago
|
||
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Needinfo :susheel if you think this bug should be re-triaged.
Priority: P3 → P5
Comment 13•2 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•2 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•