]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Externalize error messages in the API
authorLuis A. Garcia <luis@linux.vnet.ibm.com>
Wed, 31 Jul 2013 16:04:31 +0000 (16:04 +0000)
committerLuis A. Garcia <luis@linux.vnet.ibm.com>
Wed, 7 Aug 2013 21:19:25 +0000 (21:19 +0000)
commitf3708c1d095fe5b08c54fcbf2913ff76b3c4ff34
tree2f2debbee198c1660f13a07ebfd0214855c1bfcd
parentd12fcadaa0d08b56d82d45cf2f80729fdc685f1a
Externalize error messages in the API

This patch does more internationalization for the REST API error
messages that don't currently have it to take advantage of the new
support added by bp user-locale-api to show error messages in the locale
requested by the user through the Accept-Language HTTP header.

Partially implements bp user-locale-api

Change-Id: I92780b42c125a91ab4916b7a31e4b71d306a89a1
neutron/api/extensions.py
neutron/api/v2/base.py
neutron/api/versions.py
neutron/extensions/quotasv2.py
neutron/quota.py
neutron/wsgi.py