mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
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:
parent
c9c4823ec3
commit
35732f6ca7
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user