Closed Bug 825286 Opened 12 years ago Closed 12 years ago

Use ManifestHelper to get localized manifest data

Categories

(Firefox OS Graveyard :: Gaia::Everything.me, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: Margaret, Assigned: ranbena)

References

Details

Bug 824418 added a new ManifestHelper object, which can be used to get localized manifest data. In everything.me, there's a getAppName() function that could use this, but it looks like there are other places where we directly call manifest.name, and we should make sure we're using the correctly localized properties wherever they're used.
(In reply to Ran Ben Aharon (Everything.me) from comment #1) > Philip fixed this a while ago in > https://bugzilla.mozilla.org/show_bug.cgi?id=807529 > You can see the changed code here > https://github.com/mozilla-b2g/gaia/commit/ > 56b368723178521be7f6d417e7944fa7b909d1a8#L3R69 Yeah, I saw that. This bug is about the fact that the code could be made simpler if ManifestHelper is used. Feel free to resolve as WONTFIX if you don't want to do this.
Assignee: nobody → ran
Cristian, is this relevant to us?
Flags: needinfo?(crdlc)
I don't know if evme is reading names from manifest. If it happens you should the ManifestHelper object
Flags: needinfo?(crdlc)
Cristian, the only place where manifest.name is called is in etmmanager.js https://github.com/mozilla-b2g/gaia/blob/master/apps/homescreen/everything.me/js/etmmanager.js#L358
Flags: needinfo?(crdlc)
It makes sense because bookmarks have not locales so this bug is invalid right now
Flags: needinfo?(crdlc)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.