← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1226510] Re: Role name should not be translated in Project Member Edit Tab

 

** Changed in: horizon
       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/1226510

Title:
  Role name should not be translated in Project Member Edit Tab

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  In "Project Member" tab of "Edit Project" form, we can choose role of each project member in small drop-down menu.
  There is a case role names in drop-down menu are displayed with translated string.

  In the following screenshot, "Member" role is displayed with the translated string: http://imgur.com/a/HzPlN#0
  The first one is localized one and the second one is in English. "Member" is translated.

  "Member" should not translated since it is just a value from keystone.

  A word "Member" is used in Load Balancer table, so
  openstack_dashboard/locale/*/LC_MESSAGES/django.po contains a
  corresponding entry. I confirmed it affects the above drop-down menu
  by changing the entry in django.po to a string with special character
  like ######  and compile it to django.mo. (I can see ###### in drop-
  down menu.)

  
  An easy way to reproduce is:
  - change django.po of your language under openstack_dashboard/locale,
  - search "Member" (including double quotes),
  - edit msgstr to a string you can distinguish easily,
  - msgfmt -o django.mo django.po  (in the directory where django.po exists), and
  - restart the web sever

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