### What problem does this PR solve? Fix: Resolve FlowSetting not reading Title from .ts files ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)tags/v0.18.0
| }, | }, | ||||
| setting: 'Setting', | setting: 'Setting', | ||||
| settings: { | settings: { | ||||
| agentSetting: 'Agent Setting', | |||||
| title: 'title', | |||||
| description: 'description', | |||||
| upload: 'Upload', | upload: 'Upload', | ||||
| photo: 'Photo', | photo: 'Photo', | ||||
| permissions: 'Permission', | permissions: 'Permission', |
| categoryName: '分类名称', | categoryName: '分类名称', | ||||
| nextStep: '下一步', | nextStep: '下一步', | ||||
| insertVariableTip: `输入 / 插入变量`, | insertVariableTip: `输入 / 插入变量`, | ||||
| setting: '设置', | |||||
| settings: { | |||||
| agentSetting: 'Agent设置', | |||||
| title: '标题', | |||||
| description: '描述', | |||||
| upload: '上传', | |||||
| photo: '照片', | |||||
| permissions: '权限', | |||||
| permissionsTip: '你可以在这里设置团队访问权限。', | |||||
| me: '仅限自己', | |||||
| team: '团队', | |||||
| }, | |||||
| }, | }, | ||||
| footer: { | footer: { | ||||
| profile: 'All rights reserved @ React', | profile: 'All rights reserved @ React', |
| return ( | return ( | ||||
| <Modal | <Modal | ||||
| confirmLoading={loading} | confirmLoading={loading} | ||||
| title={'Agent Setting'} | |||||
| title={t('agentSetting')} | |||||
| open={visible} | open={visible} | ||||
| onCancel={hideModal} | onCancel={hideModal} | ||||
| onOk={handleSubmit} | onOk={handleSubmit} | ||||
| > | > | ||||
| <Form.Item | <Form.Item | ||||
| name="title" | name="title" | ||||
| label="Title" | |||||
| label={t('title')} | |||||
| rules={[{ required: true, message: 'Please input a title!' }]} | rules={[{ required: true, message: 'Please input a title!' }]} | ||||
| > | > | ||||
| <Input /> | <Input /> | ||||
| </button> | </button> | ||||
| </Upload> | </Upload> | ||||
| </Form.Item> | </Form.Item> | ||||
| <Form.Item name="description" label="Description"> | |||||
| <Form.Item name="description" label={t('description')}> | |||||
| <Input.TextArea rows={4} /> | <Input.TextArea rows={4} /> | ||||
| </Form.Item> | </Form.Item> | ||||