We should use ugettext_lazy to let users in different languages
get correct translation.Though in views or similar places
we can use ugettext with no problems, we should make code
style consistent.
This also fix the issues that the django proxy objects appear on the
launching instance page instead of translated strings. Now the
translated quota strings are handled correctly.
Reviewed: https:/ /review. openstack. org/28963 github. com/openstack/ horizon/ commit/ 08e6ed7392aa9d5 10833dee5b46814 0de10c22a6
Committed: http://
Submitter: Jenkins
Branch: master
commit 08e6ed7392aa9d5 10833dee5b46814 0de10c22a6
Author: Brooklyn Chen <email address hidden>
Date: Tue May 14 14:05:42 2013 +0800
Use ugettext_lazy instead of ugettext.
We should use ugettext_lazy to let users in different languages
get correct translation.Though in views or similar places
we can use ugettext with no problems, we should make code
style consistent.
This also fix the issues that the django proxy objects appear on the
launching instance page instead of translated strings. Now the
translated quota strings are handled correctly.
Fixes: bug #1178722
Change-Id: I76f0d31e6546d7 0e5ece7e86a06f7 eefd04861d2