fix: move hardcoded text to language settings (#16990) (#17133)

This commit is contained in:
Perfecto 2025-04-02 22:35:51 +08:00 • committed by GitHub
commit 16c722d1d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 40 additions and 14 deletions

View file

@ -38,6 +38,8 @@ const Container = () => {
const { showExternalApiPanel, setShowExternalApiPanel } = useExternalApiPanel()
const [includeAll, { toggle: toggleIncludeAll }] = useBoolean(false)
document.title = `${t('dataset.knowledge')} - Dify`
const options = useMemo(() => {
return [
{ value: 'dataset', text: t('dataset.datasets') },

View file

@ -4,8 +4,4 @@ const AppList = async () => {
return <Container />
}
export const metadata = {
title: 'Datasets - Dify',
}
export default AppList

View file

@ -13,8 +13,4 @@ const PluginList = async () => {
)
}
export const metadata = {
title: 'Plugins - Dify',
}
export default PluginList