Closed Bug 487785 Opened 16 years ago Closed 16 years ago

Use localized add-on name for file name if no em:name exists

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kohei, Unassigned)

References

()

Details

A developer who used the new dashboard reported that the filename of a newly uploaded XPI was broken. old dashboard: hatena_bookmark-0.1.3-fx.xpi new dashboard: -0.1.4-fx.xpi (expected to be hatena_bookmark-0.1.4-fx.xpi)
The install.rdf files are browsable here: https://addons.mozilla.org/en-US/firefox/files/browse/50564 https://addons.mozilla.org/en-US/firefox/files/browse/50700 I guess the new dashboard doesn't consider <em:name> which is placed under <em:localized>.
The install.rdf documentation isn't clear on whether <em:name> is still required, or if it can be nested in a localized tag. It installs in Firefox, so it seems to be valid.
Summary: New Developer Dashboard: XPI filename is broken → Use localized add-on name for file name if no em:name exists
(In reply to comment #1) > I guess the new dashboard doesn't consider <em:name> which is placed under > <em:localized>. Having <em:name> only inside <em:localized> does not sound like a good practice. How should such an add-on be displayed when installed in Firefox in a language which does not have a corresponding <em:localized> element? I would suggest Wontfix.
Oh, I have misread the bug description. Instead of Wontfix, I would suggest to treat such an add-on as error. I do not have a strong opinion about it, though.
The non-localized em:name is the one that makes more sense to choose as the default. If they're all localized, how do you choose? The solution seems easy enough: always have a non-localized em:name, as specified in comment #3. -> wontfix
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.