Passed variables in template not translated
Bug #1180316 reported by
Tihomir Trifonov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Julie Pichon | ||
Grizzly |
Fix Released
|
Low
|
Akihiro Motoki |
Bug Description
Some variables are passed in templates as:
<h2>{{ title }}</h2>
To be translated on render, this needs to be:
<h2>{% trans title %}</h2>
so that ugettext() to be called using the chosen language.
Changed in horizon: | |
assignee: | nobody → Julie Pichon (jpichon) |
Changed in horizon: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
importance: | Undecided → Low |
tags: | removed: grizzly-backport-potential in-stable-grizzly |
Changed in horizon: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
Although there are places e.g. for workflows where only {{ title }} is displayed on the template, the lazy translation mechanism appears to work just fine so I don't think they need to be modified.
I'm using this bug as an opportunity to fix up a few more variables that weren't marked as translatable.