Merge "Replace "group spec" with "group type spec""

This commit is contained in:
Zuul 2019-07-03 16:20:54 +00:00 committed by Gerrit Code Review
commit fbd2f0f8c2
3 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ class EditSpec(forms.SelfHandlingForm):
api.cinder.group_type_spec_set(request, api.cinder.group_type_spec_set(request,
group_type_id, group_type_id,
{key: data['value']}) {key: data['value']})
msg = _('Saved group spec "%s".') % key msg = _('Saved group type spec "%s".') % key
messages.success(request, msg) messages.success(request, msg)
return True return True
except Exception: except Exception:

View File

@ -3,5 +3,5 @@
{% block modal-body-right %} {% block modal-body-right %}
<h3>{% trans "Description:" %}</h3> <h3>{% trans "Description:" %}</h3>
<p>{% trans 'Create a new "group spec" key-value pair for a group type.' %}</p> <p>{% trans 'Create a new "group type spec" key-value pair for a group type.' %}</p>
{% endblock %} {% endblock %}

View File

@ -3,5 +3,5 @@
{% block modal-body-right %} {% block modal-body-right %}
<h3>{% trans "Description:" %}</h3> <h3>{% trans "Description:" %}</h3>
<p>{% blocktrans with key=key %}Update the "group spec" value for "{{ key }}"{% endblocktrans %}</p> <p>{% blocktrans with key=key %}Update the "group type spec" value for "{{ key }}"{% endblocktrans %}</p>
{% endblock %} {% endblock %}