Closed
Bug 1083839
Opened 10 years ago
Closed 10 years ago
Fire a warning when asking for a non-existing entity
Categories
(Firefox OS Graveyard :: Gaia::L10n, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zbraniecki, Assigned: zbraniecki)
Details
Attachments
(1 file)
With l10n-merge we can guarantee that if a developer is asking for l10nId that we don't have in our resources, he should not have ask for it. Issue a warning to help him discover the bug and discourage a coding pattern where mozL10n.get is used to check if the entity exists.
Assignee | ||
Comment 1•10 years ago
|
||
Updated•10 years ago
|
Attachment #8506177 -
Flags: review?(stas) → review+
Assignee | ||
Comment 2•10 years ago
|
||
Commit: https://github.com/zbraniecki/gaia/commit/b67769b31bbab66e060f241da89c43db3883c7e2 Merge: https://github.com/mozilla-b2g/gaia/commit/ea62ab5feaacffeb3030223cdc28b8eba263ec52 L20n.js: https://github.com/l20n/l20n.js/commit/93b3d43ea3b5fc60d6f66c1eecc4c7531eebc813
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•