Closed Bug 375255 Opened 19 years ago Closed 19 years ago

Localization fall-back broken (empty strings displayed instead)

Categories

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

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zeniko, Unassigned)

References

()

Details

This might be bug 370595 not being fixed or a new issue: I've just updated the description to Crash Recovery (which suddenly contained HTML entities which I've never entered in the first place), and although I haven't entered anything for any language except English, the empty translated strings seem to be used: https://addons.mozilla.org/de/firefox/addon/1955 This also leads to the extension not being listed at all in the list of an author's extensions: https://addons.mozilla.org/de/firefox/user/9225 And I guess that this same issue is also responsible for a lot of title-less extensions in the categories list: https://addons.mozilla.org/de/firefox/browse/type:1/cat:4
This is either a new regression or this problem only occurs if no strings are entered for languages other than the default. I edited description for Adblock Plus on Wednesday and everything is fine.
It looks like some strings are getting put in the database as blanks when they should be null. Fligtar?
I found the culprit: When some translations existed in the DB but others didn't, the new but empty ones were created as ''; I committed the fix as SVN r2916, we'll have this updated in production soon.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.