mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-16 13:01:01 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue