← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1793421] Re: Do not translate log messages

 

** Changed in: keystone
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1793421

Title:
  Do not translate log messages

Status in OpenStack Identity (keystone):
  Invalid

Bug description:
  We should use "msg = _('My message.')" instead "msg =
  _(variable_containing_msg)" when logging message.

  For example: do not do this:
  # WRONG
  msg = _(variable_containing_msg)
  w_msg = _LW(variable_warning_msg)

  Instead, use this style:

  # RIGHT
  msg = _('My message.')
  w_msg = _LW('My warning message')

  refer to:
  https://docs.openstack.org/oslo.i18n/latest/user/guidelines.html#using-a-marker-function

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


References