fix: Refactor i18n config and fix plugin search box styling issue (#22945)
This commit is contained in:
parent
32df3b68c7
commit
ad472d59e0
70 changed files with 96 additions and 85 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import React, { useMemo } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { languages } from '@/i18n/language'
|
||||
import { languages } from '@/i18n-config/language'
|
||||
import { PortalSelect } from '@/app/components/base/select'
|
||||
import cn from '@/utils/classnames'
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import Divider from '@/app/components/base/divider'
|
|||
import type {
|
||||
StrategyDetail as StrategyDetailType,
|
||||
} from '@/app/components/plugins/types'
|
||||
import type { Locale } from '@/i18n'
|
||||
import type { Locale } from '@/i18n-config'
|
||||
import { useRenderI18nObject } from '@/hooks/use-i18n'
|
||||
import { API_PREFIX } from '@/config'
|
||||
import cn from '@/utils/classnames'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import StrategyDetailPanel from './strategy-detail'
|
|||
import type {
|
||||
StrategyDetail,
|
||||
} from '@/app/components/plugins/types'
|
||||
import type { Locale } from '@/i18n'
|
||||
import type { Locale } from '@/i18n-config'
|
||||
import { useRenderI18nObject } from '@/hooks/use-i18n'
|
||||
import cn from '@/utils/classnames'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue