diff options
| author | liuyamin <liuyamin@fiberhome.com> | 2018-11-13 17:04:59 +0800 |
|---|---|---|
| committer | liuyamin <liuyamin@fiberhome.com> | 2018-11-13 17:05:05 +0800 |
| commit | 4f66f66b6c80206e3d432f74c3763ffe2e5c2949 (patch) | |
| tree | bba21e06f3991b191fb2b8badb352f29df15c2ed /openstackclient | |
| parent | b90c780d2b99a91dd479bcc5f20caddcfb652f76 (diff) | |
| download | python-openstackclient-4f66f66b6c80206e3d432f74c3763ffe2e5c2949.tar.gz | |
Fix i18n issue
This patch fix some i18n issues in the files vapi/compute_v2.py.
Change-Id: Ic4da472ca585a35ce64512cf0e72e2fe9d4c9d6e
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/api/compute_v2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/api/compute_v2.py b/openstackclient/api/compute_v2.py index 0c89e912..7dc4e446 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 |
