From 6c8674dc5d14c6a3d5bfcdadfce49a55232ca2ed Mon Sep 17 00:00:00 2001 From: manchandavishal Date: Wed, 12 Jun 2019 06:09:21 +0000 Subject: [PATCH] Replace "group spec" with "group type spec" In the group type spec page, title "group type spec" and "group spec" are used inconsistently. So this patch replace "group spec" with "group type spec" Closes-bug: #1821284 Change-Id: I8450ad55585791c8472ec233b9535809716ed12a --- openstack_dashboard/dashboards/admin/group_types/specs/forms.py | 2 +- .../admin/group_types/templates/group_types/specs/_create.html | 2 +- .../admin/group_types/templates/group_types/specs/_edit.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openstack_dashboard/dashboards/admin/group_types/specs/forms.py b/openstack_dashboard/dashboards/admin/group_types/specs/forms.py index da958feb5d..66e7c6d213 100644 --- a/openstack_dashboard/dashboards/admin/group_types/specs/forms.py +++ b/openstack_dashboard/dashboards/admin/group_types/specs/forms.py @@ -71,7 +71,7 @@ class EditSpec(forms.SelfHandlingForm): api.cinder.group_type_spec_set(request, group_type_id, {key: data['value']}) - msg = _('Saved group spec "%s".') % key + msg = _('Saved group type spec "%s".') % key messages.success(request, msg) return True except Exception: diff --git a/openstack_dashboard/dashboards/admin/group_types/templates/group_types/specs/_create.html b/openstack_dashboard/dashboards/admin/group_types/templates/group_types/specs/_create.html index e7cb7baa14..6f5646ea7c 100644 --- a/openstack_dashboard/dashboards/admin/group_types/templates/group_types/specs/_create.html +++ b/openstack_dashboard/dashboards/admin/group_types/templates/group_types/specs/_create.html @@ -3,5 +3,5 @@ {% block modal-body-right %}

{% trans "Description:" %}

-

{% trans 'Create a new "group spec" key-value pair for a group type.' %}

+

{% trans 'Create a new "group type spec" key-value pair for a group type.' %}

{% endblock %} diff --git a/openstack_dashboard/dashboards/admin/group_types/templates/group_types/specs/_edit.html b/openstack_dashboard/dashboards/admin/group_types/templates/group_types/specs/_edit.html index d4aef0c62b..fea09fafee 100644 --- a/openstack_dashboard/dashboards/admin/group_types/templates/group_types/specs/_edit.html +++ b/openstack_dashboard/dashboards/admin/group_types/templates/group_types/specs/_edit.html @@ -3,5 +3,5 @@ {% block modal-body-right %}

{% trans "Description:" %}

-

{% blocktrans with key=key %}Update the "group spec" value for "{{ key }}"{% endblocktrans %}

+

{% blocktrans with key=key %}Update the "group type spec" value for "{{ key }}"{% endblocktrans %}

{% endblock %}