From c0b83c1df601182d3dd41da0d3c7ab86a323fcb8 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Tue, 6 Sep 2022 21:13:20 +0200 Subject: [PATCH] changed all new buttons, added i18n for routing forms (#4217) --- apps/web/public/static/locales/en/common.json | 3 +++ .../ee/routing_forms/pages/forms/[...appPages].tsx | 8 ++++---- packages/ui/v2/modules/availability/NewScheduleButton.tsx | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index ffa11ebff6..b0db62ce34 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -1151,6 +1151,9 @@ "to": "To", "attendee_required_enter_number": "This will require the attendee to enter a phone number when booking", "workflow_turned_on_successfully": "{{workflowName}} workflow turned {{offOn}} successfully", + "download_responses": "Download Responses", + "create_your_first_form": "Create your first form", + "create_your_first_form_description": "With Routing Forms you can ask qualifying questions and route to the correct person or event type." "for_a_maximum_of": "For a maximum of", "event_one": "event", "event_other": "events" diff --git a/packages/app-store/ee/routing_forms/pages/forms/[...appPages].tsx b/packages/app-store/ee/routing_forms/pages/forms/[...appPages].tsx index 55fabbdaf4..b741d66962 100644 --- a/packages/app-store/ee/routing_forms/pages/forms/[...appPages].tsx +++ b/packages/app-store/ee/routing_forms/pages/forms/[...appPages].tsx @@ -22,7 +22,7 @@ export default function RoutingForms({ function NewFormButton() { return ( - New Form + {t("new")} ); } @@ -37,8 +37,8 @@ export default function RoutingForms({ {!forms.length ? ( } /> ) : null} @@ -103,7 +103,7 @@ export default function RoutingForms({ routingForm={form} color="minimal" StartIcon={Icon.FiDownload}> - Download Responses + {t("download_responses")}