mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
fix: Simplified Chinese not working
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user