소스 검색

fix: Remove any extra Spaces in the title (#15841)

tags/1.1.0
Yi Feng 7 달 전
부모
커밋
1a6298b6ea
No account linked to committer's email address
4개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      web/app/(commonLayout)/apps/Apps.tsx
  2. 1
    1
      web/app/components/explore/index.tsx
  3. 1
    0
      web/i18n/en-US/explore.ts
  4. 1
    0
      web/i18n/zh-Hans/explore.ts

+ 1
- 1
web/app/(commonLayout)/apps/Apps.tsx 파일 보기

@@ -85,7 +85,7 @@ const Apps = () => {
]

useEffect(() => {
document.title = `${t('common.menus.apps')} - 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()

+ 1
- 1
web/app/components/explore/index.tsx 파일 보기

@@ -24,7 +24,7 @@ const Explore: FC<IExploreProps> = ({
const [installedApps, setInstalledApps] = useState<InstalledApp[]>([])

useEffect(() => {
document.title = `${t('explore.title')} - Dify`;
document.title = `${t('explore.title')} - Dify`;
(async () => {
const { accounts } = await fetchMembers({ url: '/workspaces/current/members', params: {} })
if (!accounts)

+ 1
- 0
web/i18n/en-US/explore.ts 파일 보기

@@ -37,6 +37,7 @@ const translation = {
Programming: 'Programming',
HR: 'HR',
Workflow: 'Workflow',
Entertainment: 'Entertainment',
},
}


+ 1
- 0
web/i18n/zh-Hans/explore.ts 파일 보기

@@ -37,6 +37,7 @@ const translation = {
Programming: '编程',
HR: '人力资源',
Workflow: '工作流',
Entertainment: '娱乐',
},
}


Loading…
취소
저장