Closed Bug 1455283 Opened 7 years ago Closed 7 years ago

Create Entity Mixins to allow pontoon to re-use escaping code

Categories

(Localization Infrastructure and Tools :: compare-locales, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Assigned: Pike)

References

Details

Attachments

(1 file, 2 obsolete files)

There's code that processes Entity.raw_val into .val, in particular for DTD and properties parser. To run compare-locales checks in pontoon (or other tools), they need access to that logic, if they don't want to build the complete jazz of Parser.Context etc. Let's move the logic to Mixins.
Assignee: nobody → l10n
Attachment #8969258 - Attachment is obsolete: true
Attachment #8969259 - Attachment is obsolete: true
Comment on attachment 8969260 [details] bug 1455283, create Mixins for Entity logic for dtd and properties, https://reviewboard.mozilla.org/r/237990/#review243936 Hey, from my perspective this looks great - this patch simplifies integration with Pontoon (and makes it less "hacky").
Attachment #8969260 - Flags: review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: