Commit 6f055c69 authored by James Valleroy's avatar James Valleroy

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

Signed-off-by: James Valleroy's avatarJames Valleroy <jvalleroy@mailbox.org>
parent 6d8c7ad1
......@@ -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 %}
......
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment