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(() => { useEffect(() => {
document.title = `${t('app.title')} - Dify` document.title = `${t('common.menus.apps')} - Dify`
if (localStorage.getItem(NEED_REFRESH_APP_LIST_KEY) === '1') { if (localStorage.getItem(NEED_REFRESH_APP_LIST_KEY) === '1') {
localStorage.removeItem(NEED_REFRESH_APP_LIST_KEY) localStorage.removeItem(NEED_REFRESH_APP_LIST_KEY)
mutate() mutate()

View File

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

View File

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

View File

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