Closed Bug 1069030 Opened 10 years ago Closed 6 years ago

Clean up MozL10n API use in Cost Control, part2

Categories

(Firefox OS Graveyard :: Gaia::Cost Control, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gauravmittal1995, Unassigned, Mentored)

Details

(Whiteboard: [NaBfT])

Cleaning the MozL10n API in :

widget.js
limitdialog.js
balanceview.js
Mentor: gandalf
Whiteboard: [NaBfT]
How is this different from bug 1111841?
Flags: needinfo?(gandalf)
There's a lot of mozL10n.get uses in costcontrol.

Most of:
grep -r "mozL10n.get" ./apps/costcontrol/
grep -r "_(" ./apps/costcontrol/

should be replaced with 

{HTMLElement}.setAttribute('data-l10n-id', l10nId);

or

navigator.mozL10n.setAttributes({HTMLElement}, l10nId, l10nArgs);

btw. Gaurav, do you plan working on this?
Flags: needinfo?(gandalf) → needinfo?(gauravmittal1995)
Hi, I did not see this. I am sorry. Is this still active, or is it completed???
Flags: needinfo?(gauravmittal1995) → needinfo?(gandalf)
There are still 45 uses of mozL10n.get (and '_()' defined in ./apps/costcontrol//js/utils/toolkit.js) in cost control.
Flags: needinfo?(gandalf)
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.