fix(plugin-workflow): adjust locale (#3308)

This commit is contained in:
Junyi 2024-01-03 11:15:18 +08:00 committed by GitHub
parent d84d10996c
commit c4c7b7a6b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -509,7 +509,10 @@ function WorkflowConfig() {
const description = {
submit: t('Workflow will be triggered after submitting succeeded.', { ns: 'workflow' }),
'customize:save': t('Workflow will be triggered after saving succeeded.', { ns: 'workflow' }),
'customize:triggerWorkflows': t('Workflow will be triggered directly once the button clicked.', { ns: 'workflow' }),
'customize:triggerWorkflows': t(
'Workflow will be triggered directly once the button clicked, without data saving.',
{ ns: 'workflow' },
),
}[fieldSchema?.['x-action']];
return (

View File

@ -30,7 +30,7 @@
"Bind workflows": "绑定工作流",
"Workflow will be triggered after submitting succeeded.": "提交成功后触发工作流。",
"Workflow will be triggered after saving succeeded.": "保存成功后触发工作流。",
"Workflow will be triggered directly once the button clicked.": "按钮点击后直接触发工作流。",
"Workflow will be triggered directly once the button clicked, without data saving.": "按钮点击后直接触发工作流,但不会保存数据。",
"Submit to workflow": "提交至工作流",
"Add workflow": "添加工作流",
"Select workflow": "选择工作流",