mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix: pt_br translation and adding pt to knoledg-add (#4674)
### What problem does this PR solve? Fix Portuguese (Brazil) translation Adding portuguese to Knowledge adding settings. ### Type of change - [X] Bug Fix (non-breaking change which fixes an issue) - [X] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: Yingfeng <yingfeng.zhang@gmail.com>
This commit is contained in:
@ -6,6 +6,7 @@ import enUS from 'antd/locale/en_US';
|
||||
import vi_VN from 'antd/locale/vi_VN';
|
||||
import zhCN from 'antd/locale/zh_CN';
|
||||
import zh_HK from 'antd/locale/zh_HK';
|
||||
import pt_BR from 'antd/lib/locale/pt_BR';
|
||||
import dayjs from 'dayjs';
|
||||
import advancedFormat from 'dayjs/plugin/advancedFormat';
|
||||
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
||||
@ -30,6 +31,7 @@ const AntLanguageMap = {
|
||||
zh: zhCN,
|
||||
'zh-TRADITIONAL': zh_HK,
|
||||
vi: vi_VN,
|
||||
'pt-BR': pt_BR,
|
||||
};
|
||||
|
||||
const queryClient = new QueryClient();
|
||||
|
||||
Reference in New Issue
Block a user