← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1180316] Re: Passed variables in template not translated

 

** Changed in: horizon/grizzly
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1180316

Title:
  Passed variables in template not translated

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Dashboard (Horizon) grizzly series:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1180316/+subscriptions