fix: Refactor i18n config and fix plugin search box styling issue (#22945)

This commit is contained in:
Wu Tianwei 2025-07-25 15:01:28 +08:00 • committed by GitHub
commit ad472d59e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
70 changed files with 96 additions and 85 deletions

View file

@ -1,5 +1,5 @@
import React from 'react'
import { getLocaleOnServer, useTranslation as translate } from '@/i18n/server'
import { getLocaleOnServer, useTranslation as translate } from '@/i18n-config/server'
import Form from '@/app/components/datasets/settings/form'
const Settings = async () => {

View file

@ -8,7 +8,7 @@ import TemplateEn from './template/template.en.mdx'
import TemplateZh from './template/template.zh.mdx'
import TemplateJa from './template/template.ja.mdx'
import I18n from '@/context/i18n'
import { LanguagesSupported } from '@/i18n/language'
import { LanguagesSupported } from '@/i18n-config/language'
import useTheme from '@/hooks/use-theme'
import { Theme } from '@/types/app'
import cn from '@/utils/classnames'