Removes term inconsistency in the dashboard
Makes some text edits in order to bring consistency in the terms mentioned. Closes-bug: #1272141 Change-Id: Ie1c959df7f7074c38fb1e464715194f93b2dc112
This commit is contained in:
parent
4382c8f4b2
commit
057bfd86b7
|
@ -74,7 +74,7 @@ def float_cast_filesizeformat(value, multiplier=1, format=int_format):
|
|||
value = float(value)
|
||||
value = filesizeformat(value * multiplier, format).replace(' ', '')
|
||||
except (TypeError, ValueError):
|
||||
value = value or _('0 bytes')
|
||||
value = value or _('0 Bytes')
|
||||
return value
|
||||
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{% block form_id %}update_user_form{% endblock %}
|
||||
{% block form_action %}{% url 'horizon:identity:users:update' user.id %}{% endblock %}
|
||||
|
||||
{% block modal-header %}{% trans "Update User" %}{% endblock %}
|
||||
{% block modal-header %}{% trans "Edit User" %}{% endblock %}
|
||||
|
||||
{% block modal-body %}
|
||||
<div class="left">
|
||||
|
@ -30,6 +30,6 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block modal-footer %}
|
||||
<input class="btn btn-primary pull-right" type="submit" value="{% trans "Update User" %}" />
|
||||
<input class="btn btn-primary pull-right" type="submit" value="{% trans "Save" %}" />
|
||||
<a href="{% url 'horizon:identity:users:index' %}" class="btn btn-default secondary cancel close">{% trans "Cancel" %}</a>
|
||||
{% endblock %}
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
</div>
|
||||
|
||||
<div class="meta row detail">
|
||||
<h4>{% trans "Meta" %}</h4>
|
||||
<h4>{% trans "Metadata" %}</h4>
|
||||
<hr class="header_rule">
|
||||
<dl>
|
||||
<dt>{% trans "Key Name" %}</dt>
|
||||
|
|
|
@ -485,13 +485,13 @@ class SetAccessControlsAction(workflows.Action):
|
|||
"authentication."),
|
||||
add_item_link=KEYPAIR_IMPORT_URL)
|
||||
admin_pass = forms.RegexField(
|
||||
label=_("Admin Pass"),
|
||||
label=_("Admin Password"),
|
||||
required=False,
|
||||
widget=forms.PasswordInput(render_value=False),
|
||||
regex=validators.password_validator(),
|
||||
error_messages={'invalid': validators.password_validator_msg()})
|
||||
confirm_admin_pass = forms.CharField(
|
||||
label=_("Confirm Admin Pass"),
|
||||
label=_("Confirm Admin Password"),
|
||||
required=False,
|
||||
widget=forms.PasswordInput(render_value=False))
|
||||
groups = forms.MultipleChoiceField(label=_("Security Groups"),
|
||||
|
|
|
@ -146,7 +146,7 @@ class ExtendVolume(VolumePolicyTargetMixin, tables.LinkAction):
|
|||
|
||||
class EditAttachments(tables.LinkAction):
|
||||
name = "attachments"
|
||||
verbose_name = _("Edit Attachments")
|
||||
verbose_name = _("Manage Attachments")
|
||||
url = "horizon:project:volumes:volumes:attach"
|
||||
classes = ("ajax-modal",)
|
||||
icon = "pencil"
|
||||
|
|
Loading…
Reference in New Issue