Closed Bug 633003 Opened 15 years ago Closed 15 years ago

Fallback for gettext/interpolate not loading in JavaScript

Categories

(support.mozilla.org :: General, defect, P2)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: paulc, Assigned: paulc)

Details

(Whiteboard: [qa-])

Sometimes our jsi18n builds can be broken by mis-translated strings. When that happens, our entire JS can fail. We should avoid this by defining some no-op version of gettext and probably just copying interpolate over. Test on e.g. wiki TOC, media gallery uploads.
https://github.com/jsocol/kitsune/commit/7bbdcc770c0f6733bc0be6a6c3820eebfbc977a9 To QA this, you'd need to make Django's jsi18n fail to load. Not straightforward => qa- for all purposes.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Closed as [qa-]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.