Closed Bug 1095096 Opened 10 years ago Closed 7 years ago

Refactor shared/js/template API to use l10nId/l10nArgs

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zbraniecki, Unassigned)

References

Details

interpolate API uses strings for UI localization. We should update the interpolation API to handle l10nID/l10nArgs couples and stop using mozL10n.get for this. See: https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/localization_code_best_practices
Rick, you're the author of that code. Are you ok with moving the API to be compatible with this approach https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/localization_code_best_practices#Writing_APIs_that_operate_on_L10nIDs ?
Flags: needinfo?(waldron.rick)
Blocks: 1020138
I'm not really sure what the necessary API changes are, but this should move forward regardless. I will be available for reviews. Please r? when ready.
Flags: needinfo?(waldron.rick)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.