diff options
| author | Rajasi Kulkarni <rajasikulkarni18@gmail.com> | 2016-09-20 20:10:09 +0530 |
|---|---|---|
| committer | Steve Martinelli <s.martinelli@gmail.com> | 2016-09-26 22:52:14 -0400 |
| commit | 28b66459dba0357e91e8f0035db04f817b2272c2 (patch) | |
| tree | 984546fd026b90e0139123ec4bcecb12b5b8b9c7 /openstackclient/object/v1/account.py | |
| parent | 78312ca9afea22f6511f2421dccb0736f394e9c8 (diff) | |
| download | python-openstackclient-28b66459dba0357e91e8f0035db04f817b2272c2.tar.gz | |
Add translation markers for object commands
None of the help messages for the object commands
are marked for translation. This patch adds the
necessary support.
Co-Authored-By: Steve Martinelli <s.martinelli@gmail.com>
Change-Id: Ibf472d8f7d5ab6c876f60cddcab8833b28f042e0
Diffstat (limited to 'openstackclient/object/v1/account.py')
| -rw-r--r-- | openstackclient/object/v1/account.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/openstackclient/object/v1/account.py b/openstackclient/object/v1/account.py index 801fe450..2fe00ecb 100644 --- a/openstackclient/object/v1/account.py +++ b/openstackclient/object/v1/account.py @@ -18,6 +18,8 @@ from osc_lib.command import command from osc_lib import utils import six +from openstackclient.i18n import _ + class SetAccount(command.Command): """Set account properties""" @@ -29,8 +31,8 @@ class SetAccount(command.Command): metavar="<key=value>", required=True, action=parseractions.KeyValueAction, - help="Set a property on this account " - "(repeat option to set multiple properties)" + help=_("Set a property on this account " + "(repeat option to set multiple properties)") ) return parser @@ -61,8 +63,8 @@ class UnsetAccount(command.Command): required=True, action='append', default=[], - help='Property to remove from account ' - '(repeat option to remove multiple properties)', + help=_('Property to remove from account ' + '(repeat option to remove multiple properties)'), ) return parser |
