diff options
author | Gabriel Hurley <gabriel@strikeawe.com> | 2012-03-22 15:12:37 -0700 |
---|---|---|
committer | Gabriel Hurley <gabriel@strikeawe.com> | 2012-03-22 17:00:53 -0700 |
commit | ab71aff23f30360e8463d3a5ca2cec5719994b8c (patch) | |
tree | fa19e48f478ba69c58183d4d408876c1c3f66e9a /horizon/tables | |
parent | 67f366381fbfe3ce53cbe4473d913cb46bb1e841 (diff) | |
download | horizon-ab71aff23f30360e8463d3a5ca2cec5719994b8c.tar.gz |
Rework translation for panel and dashboard names. Marked more strings.
Uses ugettext_lazy to delay translation; reworks the __repr__
method to avoid using the translated form; and changes the
unicode method of the HorizonComponent class to actually return a
string coerced to unicode rather than a proxy object.
In the process, many more strings which had been missed have been
marked for translation.
Fixes bug 910297.
Change-Id: Ie8d10a928b0419313e6c54b0eff7a3a37299ca83
Diffstat (limited to 'horizon/tables')
-rw-r--r-- | horizon/tables/actions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/horizon/tables/actions.py b/horizon/tables/actions.py index 17f1f07b5..6689fe4a1 100644 --- a/horizon/tables/actions.py +++ b/horizon/tables/actions.py @@ -291,6 +291,7 @@ class FilterAction(BaseAction): # separated from the table's POST form. method = "POST" name = "filter" + verbose_name = _("Filter") def __init__(self, verbose_name=None, param_name=None): super(FilterAction, self).__init__() |