pagekite: Fix an error message in custom services form

There is no page called 'Standard Services' anymore.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2020-03-12 16:20:19 -07:00 committed by Veiko Aasa
parent c9c4823ec3
commit 35732f6ca7
No known key found for this signature in database
GPG Key ID: 478539CAE680674E

View File

@ -172,8 +172,7 @@ class AddCustomServiceForm(BaseCustomServiceForm):
except KeyError:
is_predefined = False
if is_predefined:
msg = _('This service is available as a standard service. Please '
'use the "Standard Services" page to enable it.')
msg = _('This service is already available as a standard service.')
raise forms.ValidationError(msg)
return cleaned_data