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)

x86
All
defect
Not set
normal

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.
Attached file pull request
Assignee: nobody → gandalf
Status: NEW → ASSIGNED
Attachment #8506177 - Flags: review?(stas)
Attachment #8506177 - Flags: review?(stas) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: