backups: Rename 'Create archive' to 'New backup'

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
James Valleroy 2018-09-15 21:16:45 -04:00 committed by Joseph Nuthalapati
parent 6b91058a77
commit a797a51135
No known key found for this signature in database
GPG Key ID: 5398F00A2FA43C35
2 changed files with 3 additions and 3 deletions

View File

@ -41,10 +41,10 @@
{% if available_apps %}
<p>
<a title="{% trans 'Create archive' %}"
<a title="{% trans 'New backup' %}"
role="button" class="btn btn-primary"
href="{% url 'backups:create' %}">
{% trans 'Create archive' %}
{% trans 'New backup' %}
</a>
</p>
{% else %}

View File

@ -63,7 +63,7 @@ class CreateArchiveView(SuccessMessageMixin, FormView):
def get_context_data(self, **kwargs):
"""Return additional context for rendering the template."""
context = super().get_context_data(**kwargs)
context['title'] = _('Create Archive')
context['title'] = _('New Backup')
return context
def get_initial(self):