From ea746ee74f64a08bb0bde48b00909c3775bca16f Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Tue, 25 Apr 2017 12:32:42 +0100 Subject: [PATCH] Use 'Your preferences have been updated.' as notification preference success message This matches the confirmation for language preference, and fits Wagtail 'house style' better --- wagtail/wagtailadmin/views/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wagtail/wagtailadmin/views/account.py b/wagtail/wagtailadmin/views/account.py index a3f9179816..91e9a177cb 100644 --- a/wagtail/wagtailadmin/views/account.py +++ b/wagtail/wagtailadmin/views/account.py @@ -95,7 +95,7 @@ def notification_preferences(request): if form.is_valid(): form.save() - messages.success(request, _("Your preferences have been updated successfully!")) + messages.success(request, _("Your preferences have been updated.")) return redirect('wagtailadmin_account') else: form = NotificationPreferencesForm(instance=UserProfile.get_for_user(request.user))