Skip to content

Commit 01ad9ab

Browse files
committed
Modify the style of translated messages
Translated messages should not be combined with orther literal strings to create partially translated message. Although this change is very small, but this is the only one in the directory VOLUME. Change-Id: If798aacde9d5d5e8ac2edd49e75099ec255c858e
1 parent 41f5521 commit 01ad9ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openstackclient/volume/v2/volume_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ def take_action(self, parsed_args):
205205
try:
206206
volume_type.set_keys(parsed_args.property)
207207
except Exception as e:
208-
self.app.log.error(_("Failed to set volume type property: ") +
209-
str(e))
208+
self.app.log.error(_("Failed to set volume type"
209+
" property: %s") % str(e))
210210
result += 1
211211

212212
if parsed_args.project:

0 commit comments

Comments
 (0)