summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Brik <yuval@brik.org.il>2017-03-21 16:41:53 +0200
committerYuval Brik <yuval@brik.org.il>2017-03-21 16:41:53 +0200
commit8549df5c379eeeaeab4186c2e5a889376d02a9b2 (patch)
tree891527ef58ec899755d33bd3a591ff31391aad63
parentde064cb87c61c7a7ac57e55c5f21bc2d59d651a5 (diff)
Scheduled operations minor label fix
Notes
Notes (review): Code-Review+2: chenying <ying.chen@huawei.com> Code-Review+1: zhangshuai <446077695@qq.com> Code-Review+2: Yuval Brik <yuval@brik.org.il> Workflow+1: Yuval Brik <yuval@brik.org.il> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Sun, 26 Mar 2017 08:31:02 +0000 Reviewed-on: https://review.openstack.org/448130 Project: openstack/karbor-dashboard Branch: refs/heads/master
-rw-r--r--karbor_dashboard/scheduledoperations/tables.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/karbor_dashboard/scheduledoperations/tables.py b/karbor_dashboard/scheduledoperations/tables.py
index 0842df1..a5c116e 100644
--- a/karbor_dashboard/scheduledoperations/tables.py
+++ b/karbor_dashboard/scheduledoperations/tables.py
@@ -32,14 +32,14 @@ class ScheduledOperationFilterAction(tables.FilterAction):
32class DeleteScheduledOperationsAction(tables.DeleteAction): 32class DeleteScheduledOperationsAction(tables.DeleteAction):
33 @staticmethod 33 @staticmethod
34 def action_present(count): 34 def action_present(count):
35 return ungettext_lazy(u"Delete ScheduledOperation", 35 return ungettext_lazy(u"Delete Scheduled Operation",
36 u"Delete ScheduledOperations", 36 u"Delete Scheduled Operations",
37 count) 37 count)
38 38
39 @staticmethod 39 @staticmethod
40 def action_past(count): 40 def action_past(count):
41 return ungettext_lazy(u"Deleted ScheduledOperation", 41 return ungettext_lazy(u"Deleted Scheduled Operation",
42 u"Deleted ScheduledOperations", 42 u"Deleted Scheduled Operations",
43 count) 43 count)
44 44
45 def allowed(self, request, scheduledoperation): 45 def allowed(self, request, scheduledoperation):