浏览代码

feat: Fix translation issue of message_history_window_size #1739 (#2828)

### 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):
tags/v0.13.0
balibabu 1年前
父节点
当前提交
df223eddf3
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      web/src/components/message-history-window-size-item.tsx

+ 3
- 3
web/src/components/message-history-window-size-item.tsx 查看文件

}: { }: {
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>

正在加载...
取消
保存