From fc5f57f064d42139593f1d7f2082a261b9555cf1 Mon Sep 17 00:00:00 2001 From: Tim Arney Date: Thu, 4 May 2023 09:11:07 -0400 Subject: [PATCH 1/7] Disable locale prop for links on landing page (#2033) add locale prop --- pages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index b6c7b6b5a0..8ba5751e92 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -21,13 +21,13 @@ const Home = () => {

- + English

- + Français

From b789397f4c9c291758235d4b401d3d09f45cd24a Mon Sep 17 00:00:00 2001 From: Tim Arney Date: Thu, 4 May 2023 13:32:24 -0400 Subject: [PATCH 2/7] Fix translation on the Response Delivery page (#2035) * fix content * Small FR tweak --------- Co-authored-by: Anik Brazeau <38330843+anikbrazeau@users.noreply.github.com> --- components/form-builder/app/SetResponseDelivery.tsx | 2 +- public/static/locales/en/form-builder.json | 2 +- public/static/locales/fr/form-builder.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/form-builder/app/SetResponseDelivery.tsx b/components/form-builder/app/SetResponseDelivery.tsx index bcea19d8bc..fda7f88592 100644 --- a/components/form-builder/app/SetResponseDelivery.tsx +++ b/components/form-builder/app/SetResponseDelivery.tsx @@ -229,7 +229,7 @@ export const SetResponseDelivery = () => { {t("settingsResponseDelivery.selectClassification")}

- {t("beforePublishMessage")} + {t("settingsResponseDelivery.beforePublishMessage")}

) => updateValue(index, e.target.value)} - theme="title" + onChange={(e: React.ChangeEvent) => updateValue(index, e.target.value)} {...getLocalizationAttribute()} /> ); diff --git a/components/form-builder/app/shared/ExpandingInput.tsx b/components/form-builder/app/shared/ExpandingInput.tsx index 7fec14bc6a..c9ede60be4 100644 --- a/components/form-builder/app/shared/ExpandingInput.tsx +++ b/components/form-builder/app/shared/ExpandingInput.tsx @@ -4,6 +4,8 @@ interface Props { id: string; name?: string; type?: string; + wrapperClassName?: string; + className?: string; placeholder?: string; describedBy?: string; value: string | number; @@ -29,18 +31,17 @@ const ExpandingInput = React.forwardRef((props, ref) => { isInvalid = false, lang, onBlur, + wrapperClassName, + className, } = props; return ( -
+