Merge pull request #1027 from tcely/patch-10

Add a missing error message
This commit is contained in:
meeb 2025-05-08 23:35:49 +10:00 committed by GitHub
commit 255a65aaf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -168,6 +168,7 @@ class ValidateSourceView(FormView):
template_name = 'sync/source-validate.html'
form_class = ValidateSourceForm
errors = {
'invalid_source': _('Invalid type for the source.'),
'invalid_url': _('Invalid URL, the URL must for a "{item}" must be in '
'the format of "{example}". The error was: {error}.'),
}