Feat/environment variables in workflow (#6515)
Co-authored-by: JzoNg <jzongcode@gmail.com>
This commit is contained in:
@@ -19,7 +19,7 @@ const translation = {
|
||||
goBackToEdit: 'Go back to editor',
|
||||
conversationLog: 'Conversation Log',
|
||||
features: 'Features',
|
||||
debugAndPreview: 'Debug and Preview',
|
||||
debugAndPreview: 'Preview',
|
||||
restart: 'Restart',
|
||||
currentDraft: 'Current Draft',
|
||||
currentDraftUnpublished: 'Current Draft Unpublished',
|
||||
@@ -78,6 +78,27 @@ const translation = {
|
||||
importFailure: 'Import failure',
|
||||
importSuccess: 'Import success',
|
||||
},
|
||||
env: {
|
||||
envPanelTitle: 'Environment Variables',
|
||||
envDescription: 'Environment variables can be used to store private information and credentials. They are read-only and can be separated from the DSL file during export.',
|
||||
envPanelButton: 'Add Variable',
|
||||
modal: {
|
||||
title: 'Add Environment Variable',
|
||||
editTitle: 'Edit Environment Variable',
|
||||
type: 'Type',
|
||||
name: 'Name',
|
||||
namePlaceholder: 'env name',
|
||||
value: 'Value',
|
||||
valuePlaceholder: 'env value',
|
||||
secretTip: 'Used to define sensitive information or data, with DSL settings configured for leak prevention.',
|
||||
},
|
||||
export: {
|
||||
title: 'Export Secret environment variables?',
|
||||
checkbox: 'Export secret values',
|
||||
ignore: 'Export DSL',
|
||||
export: 'Export DSL with secret values ',
|
||||
},
|
||||
},
|
||||
changeHistory: {
|
||||
title: 'Change History',
|
||||
placeholder: 'You haven\'t changed anything yet',
|
||||
|
||||
@@ -19,7 +19,7 @@ const translation = {
|
||||
goBackToEdit: '返回编辑模式',
|
||||
conversationLog: '对话记录',
|
||||
features: '功能',
|
||||
debugAndPreview: '调试和预览',
|
||||
debugAndPreview: '预览',
|
||||
restart: '重新开始',
|
||||
currentDraft: '当前草稿',
|
||||
currentDraftUnpublished: '当前草稿未发布',
|
||||
@@ -78,6 +78,27 @@ const translation = {
|
||||
importFailure: '导入失败',
|
||||
importSuccess: '导入成功',
|
||||
},
|
||||
env: {
|
||||
envPanelTitle: '环境变量',
|
||||
envDescription: '环境变量是一种存储敏感信息的方法,如 API 密钥、数据库密码等。它们被存储在工作流程中,而不是代码中,以便在不同环墋中共享。',
|
||||
envPanelButton: '添加环境变量',
|
||||
modal: {
|
||||
title: '添加环境变量',
|
||||
editTitle: '编辑环境变量',
|
||||
type: '类型',
|
||||
name: '名称',
|
||||
namePlaceholder: '变量名',
|
||||
value: '值',
|
||||
valuePlaceholder: '变量值',
|
||||
secretTip: '用于定义敏感信息或数据,导出 DSL 时设置了防泄露机制。',
|
||||
},
|
||||
export: {
|
||||
title: '导出 Secret 类型环境变量?',
|
||||
checkbox: '导出 secret 值',
|
||||
ignore: '导出 DSL',
|
||||
export: '导出包含 Secret 值的 DSL',
|
||||
},
|
||||
},
|
||||
changeHistory: {
|
||||
title: '变更历史',
|
||||
placeholder: '尚未更改任何内容',
|
||||
|
||||
Reference in New Issue
Block a user