fix(plugin-workflow): fix i18n (#354)

* fix(plugin-workflow): fix i18n

* Update condition.tsx

* fix(plugin-workflow): fix i18n

Co-authored-by: chenos <chenlinxh@gmail.com>
This commit is contained in:
Junyi 2022-05-02 21:00:17 +08:00 committed by GitHub
parent a48d00492e
commit 1da9005ebf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,7 +154,7 @@ export default {
},
{
value: false,
label: i18n.t('Branch results')
label: i18n.t('Branch into "Yes" and "No"')
}
],
},
@ -170,8 +170,8 @@ export default {
},
options: [
{ label: i18n.t('Reject on false'), key: 'rejectOnFalse', value: { rejectOnFalse: true } },
{ label: i18n.t('Branch results'), key: 'branch', value: { rejectOnFalse: false } }
{ label: i18n.t('Continue when "Yes"'), key: 'rejectOnFalse', value: { rejectOnFalse: true } },
{ label: i18n.t('Branch into "Yes" and "No"'), key: 'branch', value: { rejectOnFalse: false } }
],
render(data) {
const { id, config: { rejectOnFalse } } = data;