Update mozL10n API use cases in shared

RESOLVED FIXED

Status

defect
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: zbraniecki, Assigned: zbraniecki)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

No description provided.
Posted file pull request
Assignee: nobody → gandalf
Status: NEW → ASSIGNED
One big cluster of badly used mozL10n API are Dialogs. I filed a separate bug for that: bug 1041404.
Comment on attachment 8459412 [details] [review]
pull request

Tim, can you review this patch?

It does the following changes to ./shared/ code:
 - moves from mozL10n.localize to mozL10n.setAttributes
 - removes obsolete mozL10n.translate (MO should cover all the cases)
 - moves from mozL10n.get to setAttribute('data-l10n-id');
Attachment #8459412 - Flags: review?(timdream)
Comment on attachment 8459412 [details] [review]
pull request

I assume you know what you are doing!
Attachment #8459412 - Flags: review?(timdream) → review+
You need to log in before you can comment on or make changes to this bug.