fix: Simplified Chinese not working

This commit is contained in:
maggieyyy
2024-10-22 17:32:25 +08:00
parent b38502e0bd
commit b521204c99
2 changed files with 1 additions and 2 deletions
@@ -1,6 +1,5 @@
import { Dropdown, Row, Col, Button } from 'antd';
import i18n from '@common/locales';
import { $t } from '@common/locales';
import { memo, useEffect, useMemo } from 'react';
import { useGlobalContext } from '@common/contexts/GlobalStateContext';
import { Icon } from '@iconify/react/dist/iconify.js';
@@ -15,7 +15,7 @@ import localJa_JP from './scan/ja-JP.json'; // 本地翻译英文文件
// import config from '../../../../i18next-scanner.config.js';
const resources = {
'zh-CH': {
'zh-CN': {
translation: localZh_CN,
...zhCN
},