diff --git a/frontend/src/features/admin-form/create/builder-and-design/BuilderAndDesignDrawer/EditFieldDrawer/edit-fieldtype/EditAttachment/EditAttachment.tsx b/frontend/src/features/admin-form/create/builder-and-design/BuilderAndDesignDrawer/EditFieldDrawer/edit-fieldtype/EditAttachment/EditAttachment.tsx index cdedaa7311..ffeef00879 100644 --- a/frontend/src/features/admin-form/create/builder-and-design/BuilderAndDesignDrawer/EditFieldDrawer/edit-fieldtype/EditAttachment/EditAttachment.tsx +++ b/frontend/src/features/admin-form/create/builder-and-design/BuilderAndDesignDrawer/EditFieldDrawer/edit-fieldtype/EditAttachment/EditAttachment.tsx @@ -136,7 +136,7 @@ export const EditAttachment = ({ field }: EditAttachmentProps): JSX.Element => { ) }, }), - [maxTotalSizeMb, otherAttachmentsSize], + [maxTotalSizeMb, otherAttachmentsSize, t], ) const validateAttachmentSize = useCallback(() => { @@ -154,12 +154,18 @@ export const EditAttachment = ({ field }: EditAttachmentProps): JSX.Element => { return ( - Field Name + + {t('features.adminForm.sidebar.fields.commonFieldComponents.title')} + {errors?.title?.message} - Description + + {t( + 'features.adminForm.sidebar.fields.commonFieldComponents.description', + )} +