← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1462484] [NEW] Port Details VNIC type value is not translatable

 

Public bug reported:

On port deatails, the Binding/VNIC type value is not translatable. To recreate the problem:
- create a pseudo translation:

./run_tests.sh --makemessages
./run_tests.sh --pseudo de
./run_tests.sh --compilemessages

start the dev server, login and change to German/Deutsch (de)

Navigate to
Project->Network->Networks->[Detail]->[Port Detail]

notice at the bottom of the panel the VNIC type is not translated.

The 3 VNIC types should be translated when displayed in Horizon
https://github.com/openstack/neutron/blob/master/neutron/extensions/portbindings.py#L73
but neutron will expect these to be provided in English on API calls.

Note that the mapping is already correct on Edit Port - the translations
just need to be applied on the details panel.

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  Port Details VNIC type value is not translatable

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  On port deatails, the Binding/VNIC type value is not translatable. To recreate the problem:
  - create a pseudo translation:

  ./run_tests.sh --makemessages
  ./run_tests.sh --pseudo de
  ./run_tests.sh --compilemessages

  start the dev server, login and change to German/Deutsch (de)

  Navigate to
  Project->Network->Networks->[Detail]->[Port Detail]

  notice at the bottom of the panel the VNIC type is not translated.

  The 3 VNIC types should be translated when displayed in Horizon
  https://github.com/openstack/neutron/blob/master/neutron/extensions/portbindings.py#L73
  but neutron will expect these to be provided in English on API calls.

  Note that the mapping is already correct on Edit Port - the
  translations just need to be applied on the details panel.

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


Follow ups

References