add err msgs for letters with notify tags on pages 2+

This commit is contained in:
Leo Hemsted
2020-07-31 18:31:26 +01:00
parent b2b58ec044
commit 867ef30d18

View File

@@ -744,6 +744,17 @@ LETTER_VALIDATION_MESSAGES = {
"following characters: @ ( ) = [ ] ” \\ / ,"
),
},
'notify-tag-found-in-content': {
'title': 'Theres a problem with your letter',
'detail': (
'Your file includes a letter youve downloaded from Notify.<br>'
'You need to edit {invalid_pages}.'
),
'summary': (
'Validation failed because your file includes a letter '
'youve downloaded from Notify on {invalid_pages}.'
)
},
}