← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1382874] [NEW] Translatable string "on" is too short to translate

 

Public bug reported:

The following string is too short to translate and string concatenation
is used.

#: dashboards/project/instances/templates/instances/_detail_overview.html:135
#: dashboards/project/volumes/templates/volumes/volumes/_detail_overview.html:43
msgid "on"
msgstr ""

openstack_dashboard/dashboards/project/instances/templates/instances/_detail_overview.html

            <a href="{% url 'horizon:project:volumes:volumes:detail' volume.id %}">
            {% if volume.name %}
                {{ volume.name }}
            {%  else %}
                {{ volume.id }}
            {% endif %}
            </a>
            <span> {% trans "on" %} {{ volume.device }}</span>

openstack_dashboard/dashboards/project/volumes/templates/volumes/volumes/_detail_overview.html

        {% url 'horizon:project:instances:detail' attachment.server_id as instance_url%}
        <a href="{{ instance_url }}">{{ attachment.instance.name }}</a>
        <span> {% trans "on" %} {{ attachment.device }}</span>

** Affects: horizon
     Importance: Low
         Status: New


** Tags: i18n

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

Title:
  Translatable string "on" is too short to translate

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  The following string is too short to translate and string
  concatenation is used.

  #: dashboards/project/instances/templates/instances/_detail_overview.html:135
  #: dashboards/project/volumes/templates/volumes/volumes/_detail_overview.html:43
  msgid "on"
  msgstr ""

  openstack_dashboard/dashboards/project/instances/templates/instances/_detail_overview.html

              <a href="{% url 'horizon:project:volumes:volumes:detail' volume.id %}">
              {% if volume.name %}
                  {{ volume.name }}
              {%  else %}
                  {{ volume.id }}
              {% endif %}
              </a>
              <span> {% trans "on" %} {{ volume.device }}</span>

  openstack_dashboard/dashboards/project/volumes/templates/volumes/volumes/_detail_overview.html

          {% url 'horizon:project:instances:detail' attachment.server_id as instance_url%}
          <a href="{{ instance_url }}">{{ attachment.instance.name }}</a>
          <span> {% trans "on" %} {{ attachment.device }}</span>

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


Follow ups

References