diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-06-14 04:21:25 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-06-14 04:21:25 +0000 |
| commit | 908a36f716e791538dd4c14e217be5256a835fa0 (patch) | |
| tree | 6b9cd734744f9dcb4c2c43675ff24286ddcc23c5 /openstackclient/identity/client.py | |
| parent | e5dd054be88d2bb887d901cc748a6d0162378fa2 (diff) | |
| parent | 304f565439c5950587f7ad31a2f799076e702036 (diff) | |
| download | python-openstackclient-908a36f716e791538dd4c14e217be5256a835fa0.tar.gz | |
Merge "Fix i18n problems for common files in identity"
Diffstat (limited to 'openstackclient/identity/client.py')
| -rw-r--r-- | openstackclient/identity/client.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/openstackclient/identity/client.py b/openstackclient/identity/client.py index 1868b224..be7b643f 100644 --- a/openstackclient/identity/client.py +++ b/openstackclient/identity/client.py @@ -19,6 +19,7 @@ from keystoneclient.v2_0 import client as identity_client_v2 from osc_lib import utils from openstackclient.api import auth +from openstackclient.i18n import _ LOG = logging.getLogger(__name__) @@ -65,9 +66,9 @@ def build_option_parser(parser): '--os-identity-api-version', metavar='<identity-api-version>', default=utils.env('OS_IDENTITY_API_VERSION'), - help='Identity API version, default=' + - DEFAULT_API_VERSION + - ' (Env: OS_IDENTITY_API_VERSION)') + help=_('Identity API version, default=%s ' + '(Env: OS_IDENTITY_API_VERSION)') % DEFAULT_API_VERSION, + ) return auth.build_auth_plugins_option_parser(parser) |
