diff options
| author | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-06-07 19:16:24 +0800 |
|---|---|---|
| committer | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-06-07 19:56:00 +0800 |
| commit | b36d521ff6d4f7a994d4472c25f8267b6e268d41 (patch) | |
| tree | 7b9abcef7d9e5308f5ec481fd66814588cbcf00f /openstackclient/common/configuration.py | |
| parent | 5293bb103e75542d9defb9d0d5ed3c144f0657fe (diff) | |
| download | python-openstackclient-b36d521ff6d4f7a994d4472c25f8267b6e268d41.tar.gz | |
Fix i18n supports in commom
I checked all the files in openstackclient/common
and fixed the missing i18n supprots.
Change-Id: Id7f76a24aae663f5832ef9bcf1bd5a6b7081af24
Partial-bug: #1574965
Diffstat (limited to 'openstackclient/common/configuration.py')
| -rw-r--r-- | openstackclient/common/configuration.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openstackclient/common/configuration.py b/openstackclient/common/configuration.py index a70e4d14..ba4de12d 100644 --- a/openstackclient/common/configuration.py +++ b/openstackclient/common/configuration.py @@ -16,6 +16,7 @@ import six from openstackclient.common import command +from openstackclient.i18n import _ REDACTED = "<redacted>" @@ -31,13 +32,13 @@ class ShowConfiguration(command.ShowOne): dest="mask", action="store_true", default=True, - help="Attempt to mask passwords (default)", + help=_("Attempt to mask passwords (default)"), ) mask_group.add_argument( "--unmask", dest="mask", action="store_false", - help="Show password in clear text", + help=_("Show password in clear text"), ) return parser |
