Browse Source

Replace Delete Force Volume Backup with Force Delete Volume Backup

This patch replaces the Delete Force Volume Backup/Backups with
Force Delete Volume Backup/Backups as Delete Force Volume Backup
looks incorrect. It also drops the usage of unicode prefix from
``admin/backups/tables.py`` file.

Closes-bug: #1919120
Change-Id: I02f88b6444d268253a3888e2ba56a33bb2f51e73
changes/98/780498/2
manchandavishal 5 months ago
committed by Vishal Manchanda
parent
commit
893d0c026e
  1. 8
      openstack_dashboard/dashboards/admin/backups/tables.py

8
openstack_dashboard/dashboards/admin/backups/tables.py

@ -42,16 +42,16 @@ class ForceDeleteBackup(policy.PolicyTargetMixin, tables.DeleteAction):
@staticmethod
def action_present(count):
return ungettext_lazy(
u"Delete Force Volume Backup",
u"Delete Force Volume Backups",
"Force Delete Volume Backup",
"Force Delete Volume Backups",
count
)
@staticmethod
def action_past(count):
return ungettext_lazy(
u"Scheduled force deletion of Volume Backup",
u"Scheduled force deletion of Volume Backups",
"Scheduled forced deletion of Volume Backup",
"Scheduled forced deletion of Volume Backups",
count
)

Loading…
Cancel
Save