Skip to content

Commit 4f66f66

Browse files
author
liuyamin
committed
Fix i18n issue
This patch fix some i18n issues in the files vapi/compute_v2.py. Change-Id: Ic4da472ca585a35ce64512cf0e72e2fe9d4c9d6e
1 parent b90c780 commit 4f66f66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/api/compute_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _check_integer(self, value, msg=None):
5252
value = int(value)
5353
except (TypeError, ValueError):
5454
if not msg:
55-
msg = "%s is not an integer" % value
55+
msg = _("%s is not an integer") % value
5656
raise InvalidValue(msg)
5757
return value
5858

0 commit comments

Comments
 (0)