mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-06 23:56:35 +00:00
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:
@@ -45,7 +45,7 @@ const Detail = ({ datasetId, currentTab }: Props) => {
|
||||
onError(err: any) {
|
||||
router.replace(`/dataset/list`);
|
||||
toast({
|
||||
title: t(getErrText(err, t('common.Load Failed'))),
|
||||
title: t(getErrText(err, t('common:common.Load Failed'))),
|
||||
status: 'error'
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user