feat: translate name of operator #918 (#1437)

### What problem does this PR solve?

feat: translate name of operator #918

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-07-09 13:22:37 +08:00
committed by GitHub
parent 56e3fa2d6a
commit 198a8b6592
7 changed files with 27 additions and 30 deletions

View File

@ -38,7 +38,7 @@ const MessageForm = ({ onValuesChange, form }: IOperatorForm) => {
{fields.map((field, index) => (
<Form.Item
{...(index === 0 ? formItemLayout : formItemLayoutWithOutLabel)}
label={index === 0 ? t('message') : ''}
label={index === 0 ? t('msg') : ''}
required={false}
key={field.key}
>