Improve error message

pull/5138/head
Casper 2019-03-13 17:03:02 +01:00
rodzic b8aeeb9f5f
commit 4434887b18
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -757,7 +757,7 @@ def move_confirm(request, page_to_move_id, destination_id):
if not Page._slug_is_available(page_to_move.slug, destination, page=page_to_move):
messages.error(
request,
_("The slug '{0}' is already in use at the selected parent page.".format(page_to_move.slug))
_("The slug '{0}' is already in use at the selected parent page. Make sure the slug is unique and try again".format(page_to_move.slug))
)
return redirect('wagtailadmin_pages:move_choose_destination', page_to_move.id, destination.id)