summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/project/backups/tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/dashboards/project/backups/tables.py')
-rw-r--r--openstack_dashboard/dashboards/project/backups/tables.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/openstack_dashboard/dashboards/project/backups/tables.py b/openstack_dashboard/dashboards/project/backups/tables.py
index 4b7e32e69..e631a5ccb 100644
--- a/openstack_dashboard/dashboards/project/backups/tables.py
+++ b/openstack_dashboard/dashboards/project/backups/tables.py
@@ -69,16 +69,16 @@ class DeleteBackup(tables.DeleteAction):
@staticmethod
def action_present(count):
return ungettext_lazy(
- u"Delete Volume Backup",
- u"Delete Volume Backups",
+ "Delete Volume Backup",
+ "Delete Volume Backups",
count
)
@staticmethod
def action_past(count):
return ungettext_lazy(
- u"Scheduled deletion of Volume Backup",
- u"Scheduled deletion of Volume Backups",
+ "Scheduled deletion of Volume Backup",
+ "Scheduled deletion of Volume Backups",
count
)
@@ -145,17 +145,17 @@ class BackupsTable(tables.DataTable):
)
STATUS_DISPLAY_CHOICES = (
("available", pgettext_lazy("Current status of a Volume Backup",
- u"Available")),
+ "Available")),
("error", pgettext_lazy("Current status of a Volume Backup",
- u"Error")),
+ "Error")),
("creating", pgettext_lazy("Current status of a Volume Backup",
- u"Creating")),
+ "Creating")),
("restoring", pgettext_lazy("Current status of a Volume Backup",
- u"Restoring")),
+ "Restoring")),
("deleting", pgettext_lazy("Current status of a Volume Backup",
- u"Deleting")),
+ "Deleting")),
("error_restoring", pgettext_lazy("Current status of a Volume Backup",
- u"Error Restoring")),
+ "Error Restoring")),
)
name = tables.Column("name",
verbose_name=_("Name"),