summaryrefslogtreecommitdiff
path: root/openstackclient/volume
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/volume')
-rw-r--r--openstackclient/volume/v2/qos_specs.py4
-rw-r--r--openstackclient/volume/v2/snapshot.py2
-rw-r--r--openstackclient/volume/v2/volume_type.py8
3 files changed, 7 insertions, 7 deletions
diff --git a/openstackclient/volume/v2/qos_specs.py b/openstackclient/volume/v2/qos_specs.py
index aa2059d7..3cea3303 100644
--- a/openstackclient/volume/v2/qos_specs.py
+++ b/openstackclient/volume/v2/qos_specs.py
@@ -250,8 +250,8 @@ class UnsetQos(command.Command):
metavar='<key>',
action='append',
default=[],
- help=('Property to remove from the QoS specification. '
- '(repeat option to unset multiple properties)'),
+ help=_('Property to remove from the QoS specification. '
+ '(repeat option to unset multiple properties)'),
)
return parser
diff --git a/openstackclient/volume/v2/snapshot.py b/openstackclient/volume/v2/snapshot.py
index db4ce6c3..2886aaef 100644
--- a/openstackclient/volume/v2/snapshot.py
+++ b/openstackclient/volume/v2/snapshot.py
@@ -37,7 +37,7 @@ class CreateSnapshot(command.ShowOne):
parser.add_argument(
"--name",
metavar="<name>",
- help=("Name of the snapshot")
+ help=_("Name of the snapshot")
)
parser.add_argument(
"--description",
diff --git a/openstackclient/volume/v2/volume_type.py b/openstackclient/volume/v2/volume_type.py
index 2261f4c3..96f13c83 100644
--- a/openstackclient/volume/v2/volume_type.py
+++ b/openstackclient/volume/v2/volume_type.py
@@ -225,8 +225,8 @@ class SetVolumeType(command.Command):
result += 1
if result > 0:
- raise exceptions.CommandError("Command Failed: One or more of the"
- " operations failed")
+ raise exceptions.CommandError(_("Command Failed: One or more of"
+ " the operations failed"))
class ShowVolumeType(command.ShowOne):
@@ -315,5 +315,5 @@ class UnsetVolumeType(command.Command):
result += 1
if result > 0:
- raise exceptions.CommandError("Command Failed: One or more of the"
- " operations failed")
+ raise exceptions.CommandError(_("Command Failed: One or more of"
+ " the operations failed"))