Fixes Inconsistent usage of Detail / Details
This patch changes all the instances of "Detail" to "Details" Change-Id: If593f248fc4efc4df7296e27c991241c4bdd5260 Closes-bug: #1396080
This commit is contained in:
parent
79d80ee716
commit
129614b0b7
|
@ -1,9 +1,9 @@
|
|||
{% extends 'base.html' %}
|
||||
{% load i18n %}
|
||||
{% block title %}{% trans "Network Detail" %}{% endblock %}
|
||||
{% block title %}{% trans "Network Details" %}{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
{% include "horizon/common/_page_header.html" with title=_("Network Detail") %}
|
||||
{% include "horizon/common/_page_header.html" with title=_("Network Details") %}
|
||||
{% endblock page_header %}
|
||||
|
||||
{% block main %}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{% block title %}{% trans "Router Details" %}{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
{% include "horizon/common/_page_header.html" with title=_("Router Detail") %}
|
||||
{% include "horizon/common/_page_header.html" with title=_("Router Details") %}
|
||||
{% endblock page_header %}
|
||||
|
||||
{% block main %}
|
||||
|
|
|
@ -38,7 +38,7 @@ class CreateSubnetInfoAction(network_workflows.CreateSubnetInfoAction):
|
|||
name = _("Subnet")
|
||||
help_text = _('Create a subnet associated with the network. '
|
||||
'Advanced configuration is available by clicking on the '
|
||||
'"Subnet Detail" tab.')
|
||||
'"Subnet Details" tab.')
|
||||
|
||||
def clean(self):
|
||||
cleaned_data = workflows.Action.clean(self)
|
||||
|
@ -116,7 +116,7 @@ class UpdateSubnetInfoAction(CreateSubnetInfoAction):
|
|||
name = _("Subnet")
|
||||
help_text = _('Update a subnet associated with the network. '
|
||||
'Advanced configuration are available at '
|
||||
'"Subnet Detail" tab.')
|
||||
'"Subnet Details" tab.')
|
||||
|
||||
def clean(self):
|
||||
cleaned_data = workflows.Action.clean(self)
|
||||
|
@ -147,7 +147,7 @@ class UpdateSubnetDetailAction(network_workflows.CreateSubnetDetailAction):
|
|||
self.fields['ipv6_modes'].required = False
|
||||
|
||||
class Meta:
|
||||
name = _("Subnet Detail")
|
||||
name = _("Subnet Details")
|
||||
help_text = _('Specify additional attributes for the subnet.')
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends 'base.html' %}
|
||||
{% load i18n %}
|
||||
{% block title %}{% trans "Network Detail"%}{% endblock %}
|
||||
{% block title %}{% trans "Network Details"%}{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
{% include "horizon/common/_page_header.html" with title=page_title %}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{% extends 'base.html' %}
|
||||
{% load i18n %}
|
||||
{% block title %}{% trans "Port Detail"%}{% endblock %}
|
||||
{% block title %}{% trans "Port Details"%}{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
{% include "horizon/common/_page_header.html" with title=_("Port Detail") %}
|
||||
{% include "horizon/common/_page_header.html" with title=_("Port Details") %}
|
||||
{% endblock page_header %}
|
||||
|
||||
{% block main %}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{% extends 'base.html' %}
|
||||
{% load i18n %}
|
||||
{% block title %}{% trans "Subnet Detail"%}{% endblock %}
|
||||
{% block title %}{% trans "Subnet Details"%}{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
{% include "horizon/common/_page_header.html" with title=_("Subnet Detail") %}
|
||||
{% include "horizon/common/_page_header.html" with title=_("Subnet Details") %}
|
||||
{% endblock page_header %}
|
||||
|
||||
{% block main %}
|
||||
|
|
|
@ -142,7 +142,7 @@ class DetailView(tables.MultiTableView):
|
|||
table = project_tables.NetworksTable(self.request)
|
||||
context["url"] = self.get_redirect_url()
|
||||
context["actions"] = table.render_row_actions(network)
|
||||
context["page_title"] = _("Network Detail: "
|
||||
context["page_title"] = _("Network Details: "
|
||||
"%(network_name)s") % {'network_name':
|
||||
network.name}
|
||||
return context
|
||||
|
|
|
@ -252,7 +252,7 @@ class CreateSubnetDetailAction(workflows.Action):
|
|||
required=False)
|
||||
|
||||
class Meta:
|
||||
name = _("Subnet Detail")
|
||||
name = _("Subnet Details")
|
||||
help_text = _('Specify additional attributes for the subnet.')
|
||||
|
||||
def populate_ipv6_modes_choices(self, request, context):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends 'base.html' %}
|
||||
{% load i18n sizeformat %}
|
||||
{% block title %}{% trans "Stack Detail" %}{% endblock %}
|
||||
{% block title %}{% trans "Stack Details" %}{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
{% include "horizon/common/_page_header.html" with title=page_title %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends 'base.html' %}
|
||||
{% load i18n sizeformat %}
|
||||
{% block title %}{% trans "Resource Detail" %}{% endblock %}
|
||||
{% block title %}{% trans "Resource Details" %}{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
{% include "horizon/common/_page_header.html" with title=page_title %}
|
||||
|
|
|
@ -204,7 +204,7 @@ class DetailView(tabs.TabView):
|
|||
context["stack"] = stack
|
||||
context["url"] = self.get_redirect_url()
|
||||
context["actions"] = table.render_row_actions(stack)
|
||||
context["page_title"] = _("Stack Detail: "
|
||||
context["page_title"] = _("Stack Details: "
|
||||
"%(stack_name)s") % {'stack_name':
|
||||
stack.stack_name}
|
||||
return context
|
||||
|
@ -252,7 +252,7 @@ class ResourceView(tabs.TabView):
|
|||
resource = self.get_data(self.request, **kwargs)
|
||||
context["resource"] = resource
|
||||
context["metadata"] = self.get_metadata(self.request, **kwargs)
|
||||
context["page_title"] = _("Resource Detail: %s") % resource
|
||||
context["page_title"] = _("Resource Details: %s") % resource
|
||||
return context
|
||||
|
||||
@memoized.memoized_method
|
||||
|
|
Loading…
Reference in New Issue