diff --git a/packages/web/components/common/DateRangePicker/index.tsx b/packages/web/components/common/DateRangePicker/index.tsx index 4fc096c8631..30fe8c989e5 100644 --- a/packages/web/components/common/DateRangePicker/index.tsx +++ b/packages/web/components/common/DateRangePicker/index.tsx @@ -103,7 +103,7 @@ const DateRangePicker = ({ mr={2} onClick={() => setShowSelected(false)} > - {t('common.Close')} + {t('common:common.Close')} } diff --git a/packages/web/components/common/EmptyTip/index.tsx b/packages/web/components/common/EmptyTip/index.tsx index fd78c844048..80b06955826 100644 --- a/packages/web/components/common/EmptyTip/index.tsx +++ b/packages/web/components/common/EmptyTip/index.tsx @@ -13,7 +13,7 @@ const EmptyTip = ({ text, ...props }: Props) => { - {text || t('common.empty.Common Tip')} + {text || t('common:common.empty.Common Tip')} ); diff --git a/packages/web/components/common/MyModal/EditFolderModal.tsx b/packages/web/components/common/MyModal/EditFolderModal.tsx index c368761284e..bc8dfdda913 100644 --- a/packages/web/components/common/MyModal/EditFolderModal.tsx +++ b/packages/web/components/common/MyModal/EditFolderModal.tsx @@ -41,10 +41,10 @@ const EditFolderModal = ({ () => isEdit ? { - title: t('dataset.Edit Folder') + title: t('common:dataset.Edit Folder') } : { - title: t('dataset.Create Folder') + title: t('common:dataset.Create Folder') }, [isEdit, t] ); @@ -67,7 +67,7 @@ const EditFolderModal = ({ - {t('common.Input name')} + {t('common:common.Input name')} - {t('common.Input folder description')} + {t('common:common.Input folder description')}