From bb71df9ced18f343911fb90e745b4d875672cf27 Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Fri, 3 Oct 2014 22:54:42 -0400 Subject: Mark identity v2 resources for translation mark v2 catalog, ec2, endpoint, project, role, service and token Change-Id: I14a5852bfee4ca9e25130d001fdadd7778ad0996 --- openstackclient/identity/v2_0/endpoint.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'openstackclient/identity/v2_0/endpoint.py') diff --git a/openstackclient/identity/v2_0/endpoint.py b/openstackclient/identity/v2_0/endpoint.py index 36f52cad..f7d78831 100644 --- a/openstackclient/identity/v2_0/endpoint.py +++ b/openstackclient/identity/v2_0/endpoint.py @@ -23,6 +23,7 @@ from cliff import lister from cliff import show from openstackclient.common import utils +from openstackclient.i18n import _ # noqa from openstackclient.identity import common @@ -36,24 +37,24 @@ class CreateEndpoint(show.ShowOne): parser.add_argument( 'service', metavar='', - help='New endpoint service') + help=_('New endpoint service')) parser.add_argument( '--region', metavar='', - help='New endpoint region') + help=_('New endpoint region')) parser.add_argument( '--publicurl', metavar='', required=True, - help='New endpoint public URL') + help=_('New endpoint public URL')) parser.add_argument( '--adminurl', metavar='', - help='New endpoint admin URL') + help=_('New endpoint admin URL')) parser.add_argument( '--internalurl', metavar='', - help='New endpoint internal URL') + help=_('New endpoint internal URL')) return parser def take_action(self, parsed_args): @@ -84,7 +85,7 @@ class DeleteEndpoint(command.Command): parser.add_argument( 'endpoint', metavar='', - help='ID of endpoint to delete') + help=_('ID of endpoint to delete')) return parser def take_action(self, parsed_args): @@ -105,7 +106,7 @@ class ListEndpoint(lister.Lister): '--long', action='store_true', default=False, - help='List additional fields in output') + help=_('List additional fields in output')) return parser def take_action(self, parsed_args): @@ -139,7 +140,7 @@ class ShowEndpoint(show.ShowOne): parser.add_argument( 'endpoint_or_service', metavar='', - help='Endpoint ID or name, type or ID of service to display') + help=_('Endpoint ID or name, type or ID of service to display')) return parser def take_action(self, parsed_args): -- cgit v1.2.1