commit 66e10a6c88b2e3807122b01df77b89b27e5caeb3
Author: Luis A. Garcia <email address hidden>
Date: Thu Mar 6 14:23:32 2014 -0700
Install global lazy _()
The patch installs the lazy _() function, which returns translatable
Message objects, globally via the enable_lazy() method such that
translation works in all modules.
Since Messages objects can't be str()'d and native exceptions str()
their messages the patch also removes passing Messages to native
exceptions.
Reviewed: https:/ /review. openstack. org/70824 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=66e10a6c88b 2e3807122b01df7 7b89b27e5caeb3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 66e10a6c88b2e38 07122b01df77b89 b27e5caeb3
Author: Luis A. Garcia <email address hidden>
Date: Thu Mar 6 14:23:32 2014 -0700
Install global lazy _()
The patch installs the lazy _() function, which returns translatable
Message objects, globally via the enable_lazy() method such that
translation works in all modules.
Since Messages objects can't be str()'d and native exceptions str()
their messages the patch also removes passing Messages to native
exceptions.
Change-Id: I8a4ecd904e393c 4bd0308cdeafa3c f1d8f0e70fe
Closes-Bug: #1275901