diff options
author | Yuval Brik <yuval@brik.org.il> | 2017-03-21 16:41:53 +0200 |
---|---|---|
committer | Yuval Brik <yuval@brik.org.il> | 2017-03-21 16:41:53 +0200 |
commit | 8549df5c379eeeaeab4186c2e5a889376d02a9b2 (patch) | |
tree | 891527ef58ec899755d33bd3a591ff31391aad63 | |
parent | de064cb87c61c7a7ac57e55c5f21bc2d59d651a5 (diff) |
Scheduled operations minor label fix
Change-Id: If827a87cea6b7452be861739705c8a20a8d0d561
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.py | 8 |
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): | |||
32 | class DeleteScheduledOperationsAction(tables.DeleteAction): | 32 | class 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): |