fix: error message for riverside and whereby added (#3751)

* fix: error message for riverside and whereby added

* fix: around and ping error message added

Co-authored-by: Carina Wollendorfer <[email protected]>
This commit is contained in:
Udit TakkarandCarina Wollendorfer authored and GitHub committed 2022-08-10 15:13:40 -04:00
1 parent 4bfa63e804
commit 14f0c30584
2 files changed
+13

No files matched your search

@@ -255,6 +255,9 @@ export const EditLocationDialog = (props: ISetLocationDialog) => {
: undefined
}
/>
{locationFormMethods.formState.errors.locationLink && (
<p className="mt-1 text-sm text-red-500">{t("invalid_whereby_link")}</p>
)}
</div>
{!booking && (
<div className="mt-3">
@@ -303,6 +306,9 @@ export const EditLocationDialog = (props: ISetLocationDialog) => {
: undefined
}
/>
{locationFormMethods.formState.errors.locationLink && (
<p className="mt-1 text-sm text-red-500">{t("invalid_around_link")}</p>
)}
</div>
{!booking && (
<div className="mt-3">
@@ -351,6 +357,9 @@ export const EditLocationDialog = (props: ISetLocationDialog) => {
: undefined
}
/>
{locationFormMethods.formState.errors.locationLink && (
<p className="mt-1 text-sm text-red-500">{t("invalid_ping_link")}</p>
)}
</div>
{!booking && (
<div className="mt-3">
@@ -399,6 +408,9 @@ export const EditLocationDialog = (props: ISetLocationDialog) => {
: undefined
}
/>
{locationFormMethods.formState.errors.locationLink && (
<p className="mt-1 text-sm text-red-500">{t("invalid_riverside_link")}</p>
)}
</div>
{!booking && (
<div className="mt-3">
@@ -971,6 +971,7 @@
"invalid_around_link": "Please enter a valid Around Link",
"set_riverside_link": "Set Riverside link",
"invalid_riverside_link": "Please enter a valid Riverside Link",
"invalid_ping_link": "Please enter a valid Ping.gg Link",
"add_exchange2013": "Connect Exchange 2013 Server",
"add_exchange2016": "Connect Exchange 2016 Server",
"custom_template": "Custom template",