feat: optimize i18n implementation for better localization (#2062)
* feat: optimize i18n implementation for better localization * delete i18n-ally-custom-framework.yml * update common key
This commit is contained in:
@@ -117,8 +117,8 @@ function DatasetContextProvider({ children }: { children: React.ReactNode }) {
|
||||
const [editedDataset, setEditedDataset] = useState<EditResourceInfoFormType>();
|
||||
|
||||
const { runAsync: onDelDataset } = useRequest2(delDatasetById, {
|
||||
successToast: t('common.Delete Success'),
|
||||
errorToast: t('dataset.Delete Dataset Error')
|
||||
successToast: t('common:common.Delete Success'),
|
||||
errorToast: t('common:dataset.Delete Dataset Error')
|
||||
});
|
||||
|
||||
const contextValue = {
|
||||
|
||||
Reference in New Issue
Block a user