I18n Translations (#2267)

* rebase

* i18n-1

* add error info i18n

* fix

* fix

* refactor: 删除error.json

* delete useI18n
This commit is contained in:
papapatrick
2024-08-05 18:42:21 +08:00
committed by GitHub
parent 025d405fe2
commit 10dcdb5491
107 changed files with 1128 additions and 416 deletions

View File

@@ -15,14 +15,14 @@ const Tools = () => {
const list = [
{
icon: 'core/dataset/datasetLight',
label: '我的知识库',
label: t('common:core.dataset.My Dataset'),
link: '/dataset/list'
},
...(feConfigs?.show_git
? [
{
icon: 'common/gitLight',
label: 'GitHub 地址',
label: t('common:core.app.tool_label.github'),
link: 'https://github.com/labring/FastGPT'
}
]
@@ -31,7 +31,7 @@ const Tools = () => {
? [
{
icon: 'common/courseLight',
label: '使用文档',
label: t('common:core.app.tool_label.doc'),
link: getDocPath('/docs/intro')
}
]
@@ -40,7 +40,7 @@ const Tools = () => {
? [
{
icon: 'support/bill/priceLight',
label: '计费说明',
label: t('common:core.app.tool_label.price'),
link: '/price'
}
]