The current `Dialog' object in the SMS app uses string parameters that are either raw text or l10n entity references, depending on the value of a boolean `l10n' attribute. Worse, this `l10n' attribute is now either a `false' boolean or an object that is used to pass l10n arguments. I suggest to use explicit `l10nId' and `l10nArgs' arguments instead, for better readability and to ensure consistency with the rest of the code.
Created attachment 802891 [details] link to pull request https://github.com/mozilla-b2g/gaia/pull/12108
Assignee: nobody → kaze
Comment on attachment 802891 [details] link to pull request review done please ask review again once it's finished :) thanks
Comment on attachment 802891 [details] link to pull request Comments addressed. :-)
Comment on attachment 802891 [details] link to pull request r=me, cheers !
Attachment #802891 - Flags: review?(felash) → review+
Merged on master: https://github.com/mozilla-b2g/gaia/commit/590eb0359e843528223785c80e83dd5919880579
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.