mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-21 11:30:06 +00:00
I18n Translations (#2267)
* rebase * i18n-1 * add error info i18n * fix * fix * refactor: 删除error.json * delete useI18n
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { AppTypeEnum } from '@fastgpt/global/core/app/constants';
|
||||
import { InitChatResponse } from './api';
|
||||
|
||||
import { i18nT } from '@fastgpt/web/i18n/utils';
|
||||
export const defaultChatData: InitChatResponse = {
|
||||
chatId: '',
|
||||
appId: '',
|
||||
@@ -12,7 +12,7 @@ export const defaultChatData: InitChatResponse = {
|
||||
type: AppTypeEnum.simple,
|
||||
pluginInputs: []
|
||||
},
|
||||
title: '新对话',
|
||||
title: i18nT('chat:new_chat'),
|
||||
variables: {},
|
||||
history: []
|
||||
};
|
||||
|
Reference in New Issue
Block a user