← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1362200] [NEW] Port details overview Fixed IP field "none" not translated

 

Public bug reported:

In /openstack_dashboard/dashboards/project/networks/templates/networks/ports/_detail_overview.html,
"None" is not translated.  Should be   {% trans "None" %}

    <dd>
      {% if port.fixed_ips.items|length > 1 %}
      {% for ip in port.fixed_ips %}
      <b>{% trans "IP address:" %}</b> {{ ip.ip_address }},
      <b>{% trans "Subnet ID" %}</b> {{ ip.subnet_id }}<br>
      {% endfor %}
      {% else %}
      "None"
      {% endif %}
    ...

** Affects: horizon
     Importance: Undecided
     Assignee: Aaron Sahlin (asahlin)
         Status: New


** Tags: low-hanging-fruit

-- 
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/1362200

Title:
  Port details overview Fixed IP field "none" not translated

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In /openstack_dashboard/dashboards/project/networks/templates/networks/ports/_detail_overview.html,
  "None" is not translated.  Should be   {% trans "None" %}

      <dd>
        {% if port.fixed_ips.items|length > 1 %}
        {% for ip in port.fixed_ips %}
        <b>{% trans "IP address:" %}</b> {{ ip.ip_address }},
        <b>{% trans "Subnet ID" %}</b> {{ ip.subnet_id }}<br>
        {% endfor %}
        {% else %}
        "None"
        {% endif %}
      ...

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


Follow ups

References