mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +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 %}
|
{% if available_apps %}
|
||||||
<p>
|
<p>
|
||||||
<a title="{% trans 'Create archive' %}"
|
<a title="{% trans 'New backup' %}"
|
||||||
role="button" class="btn btn-primary"
|
role="button" class="btn btn-primary"
|
||||||
href="{% url 'backups:create' %}">
|
href="{% url 'backups:create' %}">
|
||||||
{% trans 'Create archive' %}
|
{% trans 'New backup' %}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
@ -63,7 +63,7 @@ class CreateArchiveView(SuccessMessageMixin, FormView):
|
|||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
"""Return additional context for rendering the template."""
|
"""Return additional context for rendering the template."""
|
||||||
context = super().get_context_data(**kwargs)
|
context = super().get_context_data(**kwargs)
|
||||||
context['title'] = _('Create Archive')
|
context['title'] = _('New Backup')
|
||||||
return context
|
return context
|
||||||
|
|
||||||
def get_initial(self):
|
def get_initial(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user