mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
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:
parent
6b91058a77
commit
a797a51135
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user