Make Power State column on admin instances translatable

Add missing reference to make the admin instances power state column
translatable.  Note that this improves the i18n behavior without requiring any
new translations.

Change-Id: I1a1a7640cb2a9efdf084227d325ad03a28fca6f9
Closes-Bug: #1392834
This commit is contained in:
Doug Fish 2014-11-14 12:48:35 -06:00
parent 0c0721d437
commit 5c75a59c8b

View File

@ -150,7 +150,8 @@ class AdminInstancesTable(tables.DataTable):
display_choices=project_tables.TASK_DISPLAY_CHOICES)
state = tables.Column(project_tables.get_power_state,
filters=(title, filters.replace_underscores),
verbose_name=_("Power State"))
verbose_name=_("Power State"),
display_choices=project_tables.POWER_DISPLAY_CHOICES)
created = tables.Column("created",
verbose_name=_("Time since created"),
filters=(filters.parse_isotime,