From 97fe41f3ba947294362faf40a7d8504d52904319 Mon Sep 17 00:00:00 2001 From: Ujwal Kumar Date: Mon, 5 Jun 2023 15:17:08 +0530 Subject: [PATCH] Fix hardcoded label of identifier label in form builder (#9249) --- apps/web/public/static/locales/en/common.json | 1 + packages/features/form-builder/FormBuilder.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index 45f98d3a35..c7936c3a74 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -1672,6 +1672,7 @@ "booking_questions_title": "Booking questions", "booking_questions_description": "Customize the questions asked on the booking page", "add_a_booking_question": "Add a question", + "identifier": "Identifier", "duplicate_email": "Email is duplicate", "booking_with_payment_cancelled": "Paying for this event is no longer possible", "booking_with_payment_cancelled_already_paid": "A refund for this booking payment it's on the way.", diff --git a/packages/features/form-builder/FormBuilder.tsx b/packages/features/form-builder/FormBuilder.tsx index 448ff61f70..eefd7caf39 100644 --- a/packages/features/form-builder/FormBuilder.tsx +++ b/packages/features/form-builder/FormBuilder.tsx @@ -493,7 +493,7 @@ export const FormBuilder = function FormBuilder({ fieldForm.getValues("editable") === "system" || fieldForm.getValues("editable") === "system-but-optional" } - label="Identifier" + label={t("identifier")} />