mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-13 17:59:03 +08:00
### What problem does this PR solve? feat: Fix translation issue of message_history_window_size #1739 ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue) - [x] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe):
This commit is contained in:
parent
85b359556e
commit
df223eddf3
@ -6,14 +6,14 @@ const MessageHistoryWindowSizeItem = ({
|
|||||||
}: {
|
}: {
|
||||||
initialValue: number;
|
initialValue: number;
|
||||||
}) => {
|
}) => {
|
||||||
const { t } = useTranslation('flow');
|
const { t } = useTranslation();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name={'message_history_window_size'}
|
name={'message_history_window_size'}
|
||||||
label={t('messageHistoryWindowSize')}
|
label={t('flow.messageHistoryWindowSize')}
|
||||||
initialValue={initialValue}
|
initialValue={initialValue}
|
||||||
tooltip={t('messageHistoryWindowSizeTip')}
|
tooltip={t('flow.messageHistoryWindowSizeTip')}
|
||||||
>
|
>
|
||||||
<InputNumber style={{ width: '100%' }} />
|
<InputNumber style={{ width: '100%' }} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user