fix:update document title in Apps component (#2404)

This commit is contained in:
Benjamin 2024-02-06 12:23:54 +08:00 committed by GitHub
parent 70992609d4
commit 517f6d1a26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1 additions and 4 deletions

View File

@ -53,7 +53,7 @@ const Apps = () => {
]
useEffect(() => {
document.title = `${t('app.title')} - Dify`
document.title = `${t('common.menus.apps')} - Dify`
if (localStorage.getItem(NEED_REFRESH_APP_LIST_KEY) === '1') {
localStorage.removeItem(NEED_REFRESH_APP_LIST_KEY)
mutate()

View File

@ -1,5 +1,4 @@
const translation = {
title: 'Studio',
createApp: 'Create new App',
types: {
all: 'All',

View File

@ -1,5 +1,4 @@
const translation = {
title: 'Studio',
createApp: 'Criar novo aplicativo',
modes: {
completion: 'Gerador de Texto',

View File

@ -1,5 +1,4 @@
const translation = {
title: '工作室',
createApp: '创建应用',
types: {
all: '全部',