From 0351814ae011ac47b42f830d7c6d70b65382aded Mon Sep 17 00:00:00 2001 From: Douglas Fabris Date: Fri, 9 Oct 2020 00:11:01 -0300 Subject: [PATCH] [FIX] Adding missing custom fields translation in my account's profile (#19179) --- client/components/CustomFieldsForm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/CustomFieldsForm.js b/client/components/CustomFieldsForm.js index b1f0836f0bf9..8f83aa0adebe 100644 --- a/client/components/CustomFieldsForm.js +++ b/client/components/CustomFieldsForm.js @@ -16,7 +16,7 @@ const CustomTextInput = ({ name, required, minLength, maxLength, setState, state }, [state, required, minLength, t]); return useMemo(() => - {name} + {t(name)} setState(e.currentTarget.value)}/> @@ -30,7 +30,7 @@ const CustomSelect = ({ name, required, options, setState, state, className }) = const verify = useMemo(() => (!state.length && required ? t('Field_required') : ''), [required, state.length, t]); return useMemo(() => - {name} + {t(name)}