Added server address input validation.

This commit is contained in:
Ajay Ramachandran
2020-02-08 21:58:50 -05:00
parent be6cd62fbe
commit 1735cdb45d
3 changed files with 43 additions and 2 deletions

View File

@@ -400,9 +400,12 @@
"message": "SponsorBlock Server Address"
},
"customServerAddressDescription": {
"message": "The address SponsorBlock uses to make calls to the server.\nIt must be formatted https://domain with no trailing forward slash (/).\nUnless you have your own server instance, this should not be changed."
"message": "The address SponsorBlock uses to make calls to the server.\nUnless you have your own server instance, this should not be changed."
},
"saveCustomServerAddress": {
"message": "Save"
},
"customAddressError": {
"message": "This address is not in the right form. Make sure you have http:// or https:// at the begining and no slashes or sub-folders at the end."
}
}