diff --git a/openstackclient/api/compute_v2.py b/openstackclient/api/compute_v2.py index 0c89e9126..7dc4e4468 100644 --- a/openstackclient/api/compute_v2.py +++ b/openstackclient/api/compute_v2.py @@ -52,7 +52,7 @@ class APIv2(api.BaseAPI): value = int(value) except (TypeError, ValueError): if not msg: - msg = "%s is not an integer" % value + msg = _("%s is not an integer") % value raise InvalidValue(msg) return value