refactor(Form): centralize error management

This commit is contained in:
Ali BARIN
2024-12-17 17:32:31 +00:00
parent 3de18ab46f
commit ce4e4b4885
4 changed files with 59 additions and 28 deletions

View File

@@ -130,6 +130,7 @@
"webhookUrlInfo.description": "You'll need to configure your application with this webhook URL.",
"webhookUrlInfo.helperText": "We've generated a custom webhook URL for you to send requests to. <link>Learn more about webhooks</link>.",
"webhookUrlInfo.copy": "Copy",
"form.genericError": "Something went wrong. Please try again.",
"installationForm.title": "Installation",
"installationForm.fullNameFieldLabel": "Full name",
"installationForm.emailFieldLabel": "Email",
@@ -141,7 +142,6 @@
"installationForm.passwordMinLength": "Password must be at least 6 characters long.",
"installationForm.mandatoryInput": "{inputName} is required.",
"installationForm.success": "The admin account has been created, and thus, the installation has been completed. You can now log in <link>here</link>.",
"installationForm.error": "Something went wrong. Please try again.",
"signupForm.title": "Sign up",
"signupForm.fullNameFieldLabel": "Full name",
"signupForm.emailFieldLabel": "Email",