mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 06:58:05 +08:00
refactor(i18n): about locales (#30336)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
This commit is contained in:
@ -51,7 +51,6 @@ vi.mock('react-i18next', async (importOriginal) => {
|
||||
// Mock useGetLanguage context
|
||||
vi.mock('@/context/i18n', () => ({
|
||||
useGetLanguage: () => 'en-US',
|
||||
useI18N: () => ({ locale: 'en-US' }),
|
||||
}))
|
||||
|
||||
// Mock app context for useGetIcon
|
||||
|
||||
Reference in New Issue
Block a user