Use ugettext_lazy for verbose_texts instead of unicode.

* Fix bug 962417
 * Change the ugettext to ugettext_lazy
 * Unicode the verbose_name while the 
   DataTableOption is initialize will 
   make the translation fixed.
 * Similar scenario in Column class and Action class.

Change-Id: I69ce9f89b0f0c2afb32b26e15ea8db84828d840f
This commit is contained in:
Jim Yeh
2012-03-22 21:15:56 +08:00
parent ab71aff23f
commit 8e83bc8bc4
45 changed files with 52 additions and 52 deletions

View File

@@ -25,7 +25,7 @@ Views for managing Nova floating IPs.
import logging
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
from django.utils.translation import ugettext_lazy as _
from horizon import api
from horizon import exceptions