Closed Bug 1041403 Opened 9 years ago Closed 9 years ago

Update mozL10n API use cases in shared

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zbraniecki, Assigned: zbraniecki)

References

Details

Attachments

(1 file)

      No description provided.
Attached 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.