mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 17:36:49 +01:00
Use 'Your preferences have been updated.' as notification preference success message
This matches the confirmation for language preference, and fits Wagtail 'house style' better
This commit is contained in:
parent
be73eac8cf
commit
ea746ee74f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user