Vietnamese language support on web (#3549)

### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

### Type of change

- [X] New Feature (non-breaking change which adds functionality)
This commit is contained in:
so95
2024-11-21 17:43:08 +07:00
committed by GitHub
parent ee50f78d99
commit cc5960b88e
10 changed files with 1064 additions and 4 deletions

View File

@@ -6,10 +6,10 @@ const NoFoundPage = () => {
<Result
status="404"
title="404"
subTitle="页面未找到,请输入正确的地址。"
subTitle="Page not found, please enter a correct address."
extra={
<Button type="primary" onClick={() => history.push('/')}>
返回主页
Business
</Button>
}
/>

View File

@@ -51,6 +51,9 @@ const AssistantSetting = ({ show, form }: ISegmentedContentProps) => {
>
<Input placeholder={t('namePlaceholder')} />
</Form.Item>
<Form.Item name={'description'} label={t('description')}>
<Input placeholder={t('descriptionPlaceholder')} />
</Form.Item>
<Form.Item
name="icon"
label={t('assistantAvatar')}

View File

@@ -34,7 +34,7 @@ const Login = () => {
if (title === 'login') {
const code = await login({
email: params.email,
email: `${params.email}`.trim(),
password: rsaPassWord,
});
if (code === 0) {

View File

@@ -35,6 +35,7 @@ const IconMap = {
es: 'es',
doc_store: 'storage',
redis: 'redis',
storage: 'minio',
database: 'database',
};