From a797a51135053cc072bb74ec532624a4aa9b3bd0 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sat, 15 Sep 2018 21:16:45 -0400 Subject: [PATCH] backups: Rename 'Create archive' to 'New backup' Signed-off-by: James Valleroy Reviewed-by: Joseph Nuthalapati --- plinth/modules/backups/templates/backups.html | 4 ++-- plinth/modules/backups/views.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plinth/modules/backups/templates/backups.html b/plinth/modules/backups/templates/backups.html index 7eb0cfaab..3cd095d27 100644 --- a/plinth/modules/backups/templates/backups.html +++ b/plinth/modules/backups/templates/backups.html @@ -41,10 +41,10 @@ {% if available_apps %}

- - {% trans 'Create archive' %} + {% trans 'New backup' %}

{% else %} diff --git a/plinth/modules/backups/views.py b/plinth/modules/backups/views.py index 2e6e415bc..f5bfe75d4 100644 --- a/plinth/modules/backups/views.py +++ b/plinth/modules/backups/views.py @@ -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):