diff options
| author | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-06-12 19:59:10 +0800 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2016-06-14 11:03:56 -0500 |
| commit | f25a3519c525cd8f3ff04c841b63c10f640c27f6 (patch) | |
| tree | 9618055b28918d7bca63e2fad78e4351c8a4cc48 /openstackclient/api/auth_plugin.py | |
| parent | 769baf329e6aa619e7d9a5e48a5230bcf4399228 (diff) | |
| download | python-openstackclient-f25a3519c525cd8f3ff04c841b63c10f640c27f6.tar.gz | |
Fix missing i18n supports in api/ and shell.py
Change-Id: I28d79d7f44b27d2b600dedad2a3601180650ad83
Partial-bug: #1574965
Diffstat (limited to 'openstackclient/api/auth_plugin.py')
| -rw-r--r-- | openstackclient/api/auth_plugin.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openstackclient/api/auth_plugin.py b/openstackclient/api/auth_plugin.py index 44d3b38e..36dc5160 100644 --- a/openstackclient/api/auth_plugin.py +++ b/openstackclient/api/auth_plugin.py @@ -21,6 +21,8 @@ from six.moves.urllib import parse as urlparse from keystoneauth1.loading._plugins import admin_token as token_endpoint from keystoneauth1.loading._plugins.identity import generic as ksa_password +from openstackclient.i18n import _ + LOG = logging.getLogger(__name__) @@ -51,10 +53,10 @@ class TokenEndpoint(token_endpoint.AdminToken): options.extend([ # Maintain name 'url' for compatibility cfg.StrOpt('url', - help='Specific service endpoint to use'), + help=_('Specific service endpoint to use')), cfg.StrOpt('token', secret=True, - help='Authentication token to use'), + help=_('Authentication token to use')), ]) return options |
