mirror of https://github.com/langgenius/dify.git
fix(apps): add translation and document title for Apps component
This commit is contained in:
parent
947dbd8854
commit
1df1ffa2ec
|
|
@ -3,10 +3,14 @@ import { useEducationInit } from '@/app/education-apply/hooks'
|
|||
import { useGlobalPublicStore } from '@/context/global-public-context'
|
||||
import List from './list'
|
||||
import Footer from './footer'
|
||||
import useDocumentTitle from '@/hooks/use-document-title'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
const Apps = () => {
|
||||
const { t } = useTranslation()
|
||||
const { systemFeatures } = useGlobalPublicStore()
|
||||
|
||||
useDocumentTitle(t('common.menus.apps'))
|
||||
useEducationInit()
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@
|
|||
"@mdx-js/loader": "^3.1.0",
|
||||
"@mdx-js/react": "^3.1.0",
|
||||
"@monaco-editor/react": "^4.6.0",
|
||||
"@next/bundle-analyzer": "^15.4.1",
|
||||
"@next/mdx": "~15.3.5",
|
||||
"@octokit/core": "^6.1.2",
|
||||
"@octokit/request-error": "^6.1.5",
|
||||
|
|
@ -161,6 +160,7 @@
|
|||
"@eslint/js": "^9.20.0",
|
||||
"@faker-js/faker": "^9.0.3",
|
||||
"@happy-dom/jest-environment": "^17.4.4",
|
||||
"@next/bundle-analyzer": "^15.4.1",
|
||||
"@next/eslint-plugin-next": "~15.3.5",
|
||||
"@rgrove/parse-xml": "^4.1.0",
|
||||
"@storybook/addon-essentials": "8.5.0",
|
||||
|
|
|
|||
|
|
@ -75,9 +75,6 @@ importers:
|
|||
'@monaco-editor/react':
|
||||
specifier: ^4.6.0
|
||||
version: 4.7.0(monaco-editor@0.52.2)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
|
||||
'@next/bundle-analyzer':
|
||||
specifier: ^15.4.1
|
||||
version: 15.4.1
|
||||
'@next/mdx':
|
||||
specifier: ~15.3.5
|
||||
version: 15.3.5(@mdx-js/loader@3.1.0(acorn@8.14.1)(webpack@5.99.5(esbuild@0.25.0)(uglify-js@3.19.3)))(@mdx-js/react@3.1.0(@types/react@19.1.8)(react@19.1.0))
|
||||
|
|
@ -376,6 +373,9 @@ importers:
|
|||
'@happy-dom/jest-environment':
|
||||
specifier: ^17.4.4
|
||||
version: 17.4.4
|
||||
'@next/bundle-analyzer':
|
||||
specifier: ^15.4.1
|
||||
version: 15.4.1
|
||||
'@next/eslint-plugin-next':
|
||||
specifier: ~15.3.5
|
||||
version: 15.3.5
|
||||
|
|
|
|||
Loading…
Reference in New Issue