Do not translate log messages.

Bug #1793426 reported by fupingxie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Invalid
Undecided
fupingxie

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

fupingxie (fpxie)
Changed in python-novaclient:
assignee: nobody → fupingxie (fpxie)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-novaclient (master)

Change abandoned by fupingxie (<email address hidden>) on branch: master
Review: https://review.openstack.org/603962

fupingxie (fpxie)
Changed in python-novaclient:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.