Closed
Bug 874519
Opened 13 years ago
Closed 13 years ago
Strings in defer blocks are not getting localised
Categories
(Marketplace Graveyard :: Consumer Pages, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
2013-05-30
People
(Reporter: cvan, Assigned: basta)
References
()
Details
(Whiteboard: [fireplace])
Notice that "Popular," "New," and "View All" are not localized in any language:
http://f.cl.ly/items/3m2e1C2k1Z313M2m3541/Screen%20Shot%202013-05-21%20at%2010.35.45%20AM.png
https://marketplace-dev.allizom.org/?lang=cs
https://marketplace-dev.allizom.org/?lang=fr
https://marketplace-dev.allizom.org/?lang=es
https://marketplace-dev.allizom.org/?lang=it
https://marketplace-dev.allizom.org/?lang=pl
I could be wrong, but anything immediately in the defer blocks doesn't look like it's getting picked up by L10n.js.
| Assignee | ||
Comment 1•13 years ago
|
||
The strings haven't been translated yet:
https://github.com/mozilla/fireplace/blob/master/locale/it/LC_MESSAGES/messages.po
Those untranslated strings are post-redesign and the PO files haven't been updated (or translated) since before we landed the new designs.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
| Assignee | ||
Comment 2•13 years ago
|
||
Oooh, there actually is a bug in nunjucks that's preventing certain kinds of blocks from getting iterated over, though. Looking into it now.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
| Assignee | ||
Comment 3•13 years ago
|
||
https://github.com/mozilla/fireplace/commit/0d8f9965a947586434c71ebf902c1399e8405c32
CallExtensions were not fully iterating over their contents. This was causing, in some cases, certain blocks to get ignored during traversal.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Assignee: nobody → mattbasta
Target Milestone: --- → 2013-05-30
Comment 4•13 years ago
|
||
I checked with ?lang=fr and most things were localized.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•