]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add missing translation support
authorGary Kotton <gkotton@vmware.com>
Thu, 1 May 2014 13:10:57 +0000 (06:10 -0700)
committerChristian Berendt <berendt@b1-systems.de>
Mon, 19 May 2014 10:16:56 +0000 (12:16 +0200)
commit61a7b584238327d346bd4da642f3f8cb4d1dbf9c
tree9b61afe20ed1c2c5407a5c16f05c7324435d462b
parentc6a567a3e56a78f892254546d11cbdb50aa4dfb5
Add missing translation support

Update a number of files to add missing translation support.

The patch adds a new hacking check - N320. This ensures that
all log messages, except debug ones, have translations.

A '# noqa' indicates that the validation will not be done on
the specific log message. This should be used in cases where
the translations do not need to be done, for example, the log
message is logging raw data.

Change-Id: I3e1fdd04d87b09dff50950b5e85f5cacfb29afdc
Closes-bug: #1314994
HACKING.rst
neutron/agent/securitygroups_rpc.py
neutron/hacking/__init__.py [new file with mode: 0644]
neutron/hacking/checks.py [new file with mode: 0644]
neutron/plugins/hyperv/agent/security_groups_driver.py
neutron/plugins/hyperv/agent/utilsfactory.py
neutron/plugins/plumgrid/plumgrid_plugin/plumgrid_plugin.py
neutron/tests/unit/test_hacking.py [new file with mode: 0644]
tox.ini