Scheduling infrastructure for absolutely everyone.
fix: message for mandatory name field on profile (#9861)
Ujwal Kumar647ba8c19cf8
diff --git a/apps/web/pages/settings/my-account/profile.tsx b/apps/web/pages/settings/my-account/profile.tsxindex d7e1004fc1a..2902938cec6 100644--- a/apps/web/pages/settings/my-account/profile.tsx+++ b/apps/web/pages/settings/my-account/profile.tsx@@ -331,7 +331,8 @@ const ProfileForm = ({avatar: z.string(),name: z.string()- .min(1)+ .trim()+ .min(1, t("you_need_to_add_a_name")).max(FULL_NAME_LENGTH_MAX_LIMIT, {message: t("max_limit_allowed_hint", { limit: FULL_NAME_LENGTH_MAX_LIMIT }),}),diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.jsonindex 08e3236024b..24e6602ebfb 100644--- a/apps/web/public/static/locales/en/common.json+++ b/apps/web/public/static/locales/en/common.json@@ -768,6 +768,7 @@"cal_provide_huddle01_meeting_url": "{{appName}} will provide a Huddle01 web3 video meeting URL.","cal_provide_teams_meeting_url": "{{appName}} will provide a MS Teams meeting URL. NOTE: MUST HAVE A WORK OR SCHOOL ACCOUNT","require_payment": "Require Payment",+ "you_need_to_add_a_name": "You need to add a name","commission_per_transaction": "commission per transaction","event_type_updated_successfully_description": "Your event type has been updated successfully.","hide_event_type": "Hide event type",