|
31 | 31 |
|
32 | 32 |
|
33 | 33 | class AddAggregateHost(command.ShowOne): |
34 | | - """Add host to aggregate""" |
| 34 | + _description = _("Add host to aggregate") |
35 | 35 |
|
36 | 36 | def get_parser(self, prog_name): |
37 | 37 | parser = super(AddAggregateHost, self).get_parser(prog_name) |
@@ -62,7 +62,7 @@ def take_action(self, parsed_args): |
62 | 62 |
|
63 | 63 |
|
64 | 64 | class CreateAggregate(command.ShowOne): |
65 | | - """Create a new aggregate""" |
| 65 | + _description = _("Create a new aggregate") |
66 | 66 |
|
67 | 67 | def get_parser(self, prog_name): |
68 | 68 | parser = super(CreateAggregate, self).get_parser(prog_name) |
@@ -105,7 +105,7 @@ def take_action(self, parsed_args): |
105 | 105 |
|
106 | 106 |
|
107 | 107 | class DeleteAggregate(command.Command): |
108 | | - """Delete existing aggregate(s)""" |
| 108 | + _description = _("Delete existing aggregate(s)") |
109 | 109 |
|
110 | 110 | def get_parser(self, prog_name): |
111 | 111 | parser = super(DeleteAggregate, self).get_parser(prog_name) |
@@ -139,7 +139,7 @@ def take_action(self, parsed_args): |
139 | 139 |
|
140 | 140 |
|
141 | 141 | class ListAggregate(command.Lister): |
142 | | - """List all aggregates""" |
| 142 | + _description = _("List all aggregates") |
143 | 143 |
|
144 | 144 | def get_parser(self, prog_name): |
145 | 145 | parser = super(ListAggregate, self).get_parser(prog_name) |
@@ -188,7 +188,7 @@ def take_action(self, parsed_args): |
188 | 188 |
|
189 | 189 |
|
190 | 190 | class RemoveAggregateHost(command.ShowOne): |
191 | | - """Remove host from aggregate""" |
| 191 | + _description = _("Remove host from aggregate") |
192 | 192 |
|
193 | 193 | def get_parser(self, prog_name): |
194 | 194 | parser = super(RemoveAggregateHost, self).get_parser(prog_name) |
@@ -222,7 +222,7 @@ def take_action(self, parsed_args): |
222 | 222 |
|
223 | 223 |
|
224 | 224 | class SetAggregate(command.Command): |
225 | | - """Set aggregate properties""" |
| 225 | + _description = _("Set aggregate properties") |
226 | 226 |
|
227 | 227 | def get_parser(self, prog_name): |
228 | 228 | parser = super(SetAggregate, self).get_parser(prog_name) |
@@ -298,7 +298,7 @@ def take_action(self, parsed_args): |
298 | 298 |
|
299 | 299 |
|
300 | 300 | class ShowAggregate(command.ShowOne): |
301 | | - """Display aggregate details""" |
| 301 | + _description = _("Display aggregate details") |
302 | 302 |
|
303 | 303 | def get_parser(self, prog_name): |
304 | 304 | parser = super(ShowAggregate, self).get_parser(prog_name) |
@@ -334,7 +334,7 @@ def take_action(self, parsed_args): |
334 | 334 |
|
335 | 335 |
|
336 | 336 | class UnsetAggregate(command.Command): |
337 | | - """Unset aggregate properties""" |
| 337 | + _description = _("Unset aggregate properties") |
338 | 338 |
|
339 | 339 | def get_parser(self, prog_name): |
340 | 340 | parser = super(UnsetAggregate, self).get_parser(prog_name) |
|
0 commit comments