← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1120551] Re: some sub-title seems not consistent in i18n and format

 

** 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/1120551

Title:
  some sub-title seems not consistent in i18n and format

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

Bug description:
  Let's have look at those in template. There're some examples below:

  1. Details vs Detail
  huangkun@sbLenovo:~/celtics/horizon/openstack_dashboard/dashboards$ cat project/routers/templates/routers/detail.html 
  {% extends 'base.html' %}
  {% load i18n %}
  {% block title %}{% trans "Router Details" %}{% endblock %}

  {% block page_header %}
    {% include "horizon/common/_page_header.html" with title=_("Router Detail") %}
  {% endblock page_header %}

  {% block main %}
  {% include "project/routers/_detail_overview.html" %}
  <hr>
  <div id="interfaces">
     {{ interfaces_table.render }}
  </div>
  {% endblock %}

  2. "Create Router" vs "Create a Router"
  3. missing i18n translation in title (block title)
  huangkun@sbLenovo:~/celtics/horizon/openstack_dashboard/dashboards$ cat project/routers/templates/routers/create.html 
  {% extends 'base.html' %}
  {% load i18n %}
  {% block title %}Create Router{% endblock %}

  {% block page_header %}
    {% include "horizon/common/_page_header.html" with title=_("Create a Router") %}
  {% endblock page_header %}

  {% block main %}
      {% include 'project/routers/_create.html' %}
  {% endblock %}

  Does that consistency be serious?  in i18n or format.

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