Closed
Bug 970347
Opened 11 years ago
Closed 11 years ago
included sub-templates don't load lang file
Categories
(www.mozilla.org :: Bedrock, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: pascalc, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [kb=1271378] )
In the partner page, I noticed that we use a template include to insert a chunk of html for the mwc schedule:
https://github.com/mozilla/bedrock/blob/f59c817c24e4482c0d1cc31611ece133a8003e19/bedrock/firefox/templates/firefox/os/mwc-2014-preview.html#L195
The strings are extracted to:
ab-CD/firefox/includes/mwc_2014_schedule.lang
But they are not loaded, we had to explicitely load them in the template with:
{% add_lang_files "firefox/includes/mwc_2014_schedule" %}
I think it's an unnecessary step so ideally, we shouldn't have to add this line. If there is a technical limitation preventing it, we should maybe mention it in the bedrock documentation so as that we don't forget to add the tag.
Thanks
Updated•11 years ago
|
Whiteboard: [kb=1271378]
Comment 1•11 years ago
|
||
closing this. Should keep this in mind when building out MWC 2015 page though.
adding pmac in case bedrock docs need to be updated to mention this tag.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•