Closed Bug 1529071 Opened 5 years ago Closed 5 years ago

Convert printPreview.dtd to Fluent using conversion script

Categories

(Core :: Print Preview, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox67 --- wontfix
firefox68 --- fixed

People

(Reporter: jaws, Assigned: nickcowles9575, Mentored)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

printPreview.dtd[1] is loaded by printPreviewToolbar.js[2]. The goal of this bug is to convert the DTD to Fluent and update the relevant HTML snippet in printPreviewToolbar.js.

The conversion script in /python/l10n probably can't handle markup-inside-of-a-string but maybe the markup can be copied to a temporary file and the script can run on that temporary file. Then the contents can be copied back to the JS.

[1] https://searchfox.org/mozilla-central/source/toolkit/locales/en-US/chrome/global/printPreview.dtd
[2] https://searchfox.org/mozilla-central/source/toolkit/components/printing/content/printPreviewToolbar.js#68

Assignee: nobody → nickcowles9575
Status: NEW → ASSIGNED
Attachment #9051457 - Attachment description: Bug 1529071 - Convert printPreview.dtd to Fluent using conversion script, r?Gijs,jaws → Bug 1529071 - Convert printPreview.dtd to Fluent using conversion script, r?Gijs,flod
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/6b9a80647f05
Convert printPreview.dtd to Fluent using conversion script, r=Gijs,flod
Depends on: 1542176
No longer depends on: 1542176
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.