Correct odd exception message
"Invalid service catalog service" looks odd. This commit also fixes typo and unnecessary capitalizations. TrivialFix Change-Id: I356a2da683aa859b791890837dc6bfe060b5b670
This commit is contained in:
parent
6e09bfa700
commit
4b70f1d1b4
@ -107,7 +107,7 @@ class ServiceCatalogException(HorizonException):
|
||||
``ServiceCatalog`` is fetched from Keystone.
|
||||
"""
|
||||
def __init__(self, service_name):
|
||||
message = _('Invalid service catalog service: %s') % service_name
|
||||
message = _('Invalid service catalog: %s') % service_name
|
||||
super(ServiceCatalogException, self).__init__(message)
|
||||
|
||||
|
||||
|
@ -75,13 +75,13 @@ class K2KAuthPlugin(base.BasePlugin):
|
||||
idp_exception = idp_excp
|
||||
|
||||
if not scoped_idp_auth or idp_exception:
|
||||
msg = _('Identity provider authentication Failed.')
|
||||
msg = _('Identity provider authentication failed.')
|
||||
raise exceptions.KeystoneAuthException(msg)
|
||||
|
||||
session = utils.get_session()
|
||||
|
||||
if scoped_idp_auth.get_sp_auth_url(session, service_provider) is None:
|
||||
msg = _('Could not find service provider ID on Keystone.')
|
||||
msg = _('Could not find service provider ID on keystone.')
|
||||
raise exceptions.KeystoneAuthException(msg)
|
||||
|
||||
unscoped_auth = v3_auth.Keystone2Keystone(
|
||||
|
@ -8,7 +8,7 @@
|
||||
forward any packets on the port.{% endblocktrans %}</dd>
|
||||
{% block admin_fields %}{% endblock %}
|
||||
<dt>{% trans "Binding: VNIC Type" %}</dt>
|
||||
<dd>{% blocktrans trimmed %}It specified the VNIC type bound to the
|
||||
<dd>{% blocktrans trimmed %}It specifies the VNIC type bound to the
|
||||
networking port.{% endblocktrans %}</dd>
|
||||
<dt>{% trans "Port Security" %}</dt>
|
||||
<dd>{% blocktrans trimmed %}
|
||||
|
Loading…
Reference in New Issue
Block a user