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
This commit is contained in:
parent
73f4469faa
commit
893d0c026e
|
@ -42,16 +42,16 @@ class ForceDeleteBackup(policy.PolicyTargetMixin, tables.DeleteAction):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def action_present(count):
|
def action_present(count):
|
||||||
return ungettext_lazy(
|
return ungettext_lazy(
|
||||||
u"Delete Force Volume Backup",
|
"Force Delete Volume Backup",
|
||||||
u"Delete Force Volume Backups",
|
"Force Delete Volume Backups",
|
||||||
count
|
count
|
||||||
)
|
)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def action_past(count):
|
def action_past(count):
|
||||||
return ungettext_lazy(
|
return ungettext_lazy(
|
||||||
u"Scheduled force deletion of Volume Backup",
|
"Scheduled forced deletion of Volume Backup",
|
||||||
u"Scheduled force deletion of Volume Backups",
|
"Scheduled forced deletion of Volume Backups",
|
||||||
count
|
count
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue