Closed Bug 1396000 Opened 8 years ago Closed 8 years ago

Clean up aboutTelemetry.dtd format

Categories

(Toolkit :: Telemetry, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: flod, Assigned: flod)

References

Details

Attachments

(1 file)

aboutTelemetry.dtd is the only file in the the tree that uses this weird format <!ENTITY aboutTelemetry.pingDataSource " Ping data source: "> Instead of just <!ENTITY aboutTelemetry.pingDataSource "Ping data source:"> Line feeds are meaningful in a DTD file, so the string includes them and they're exposed in localization tools, but have no practical effect when the string is displayed in a HTML document. Any objection in cleaning up the file and dropping all the unnecessary line feeds?
You're the one who's been touching this file more frequently (in terms of reviewer) in the past week. Not sure if someone else should own the decision.
Flags: needinfo?(chutten)
I have no objection. I also like consistency :)
Flags: needinfo?(chutten)
Assignee: nobody → francesco.lodolo
Taking this, I'll also reorder strings a bit in a more logical order and add some comments.
While reordering strings, I found 4 unused and two hard-coded ones (I'll file a follow-up for that).
Blocks: 1396020
Comment on attachment 8903674 [details] Bug 1396000 - Remove unnecessary line feeds in aboutTelemetry.dtd, remove unused strings https://reviewboard.mozilla.org/r/175450/#review180564 Seems legit. Thanks for the patch!
Attachment #8903674 - Flags: review?(chutten) → review+
Pushed by francesco.lodolo@mozillaitalia.org: https://hg.mozilla.org/integration/autoland/rev/b0f8ad9a4c3c Remove unnecessary line feeds in aboutTelemetry.dtd, remove unused strings r=chutten
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: