]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Sync gettextutils from oslo
authorLuis A. Garcia <luis@linux.vnet.ibm.com>
Fri, 6 Sep 2013 21:24:33 +0000 (21:24 +0000)
committerLuis A. Garcia <luis@linux.vnet.ibm.com>
Wed, 18 Sep 2013 22:15:59 +0000 (22:15 +0000)
commitafe2a213f7845cc66ca1036784bf7100d9159541
tree99e7b7382d3f3839e4ccef94ac5092408e64652b
parent0a339d42d41c6a5c7454910469a3fa904b776c1b
Sync gettextutils from oslo

Some Messages, such as those created from Invalid exceptions, use a
Message within a Message, and we were only translating the base Message
but not the Message substitution within.

Also adds test case for cinder case.

Fixes bug: #1221808

Change-Id: Ic3119df23a090cfaa160c1461e955f0af55fe1cf
cinder/openstack/common/gettextutils.py
cinder/tests/api/middleware/test_faults.py