feat: version tag (#14949)

This commit is contained in:
Wu Tianwei 2025-03-07 18:10:40 +08:00 • committed by GitHub
commit 3ca1373274
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 1695 additions and 423 deletions

View file

@ -101,7 +101,7 @@ const translation = {
plans: {
sandbox: {
name: 'Sandbox',
for: 'Free Trial of Core Capabilities',
for: 'Free Trial of Core Capabilities',
description: 'Free Trial of Core Capabilities',
},
professional: {

View file

@ -8,6 +8,7 @@ const translation = {
published: 'Published',
publish: 'Publish',
update: 'Update',
publishUpdate: 'Publish Update',
run: 'Run',
running: 'Running',
inRunMode: 'In Run Mode',
@ -30,6 +31,8 @@ const translation = {
latestPublished: 'Latest Published',
publishedAt: 'Published',
restore: 'Restore',
versionHistory: 'Version History',
exitVersions: 'Exit Versions',
runApp: 'Run App',
batchRunApp: 'Batch Run App',
openInExplore: 'Open in Explore',
@ -104,7 +107,7 @@ const translation = {
branch: 'BRANCH',
onFailure: 'On Failure',
addFailureBranch: 'Add Fail Branch',
loadMore: 'Load More Workflows',
loadMore: 'Load More',
noHistory: 'No History',
},
env: {
@ -797,6 +800,38 @@ const translation = {
tracing: {
stopBy: 'Stop by {{user}}',
},
versionHistory: {
title: 'Versions',
currentDraft: 'Current Draft',
latest: 'Latest',
filter: {
all: 'All',
onlyYours: 'Only yours',
onlyShowNamedVersions: 'Only show named versions',
reset: 'Reset Filter',
empty: 'No matching version history found',
},
defaultName: 'Untitled Version',
nameThisVersion: 'Name this version',
editVersionInfo: 'Edit version info',
editField: {
title: 'Title',
releaseNotes: 'Release Notes',
titleLengthLimit: 'Title can\'t exceed {{limit}} characters',
releaseNotesLengthLimit: 'Release notes can\'t exceed {{limit}} characters',
},
releaseNotesPlaceholder: 'Describe what changed',
restorationTip: 'After version restoration, the current draft will be overwritten.',
deletionTip: 'Deletion is irreversible, please confirm.',
action: {
restoreSuccess: 'Version restored',
restoreFailure: 'Failed to restore version',
deleteSuccess: 'Version deleted',
deleteFailure: 'Failed to delete version',
updateSuccess: 'Version updated',
updateFailure: 'Failed to update version',
},
},
}
export default translation

View file

@ -100,7 +100,7 @@ const translation = {
plans: {
sandbox: {
name: 'Sandbox',
for: '核心能力的免费试用',
for: '核心能力的免费试用',
description: '核心功能免费试用',
},
professional: {

View file

@ -8,6 +8,7 @@ const translation = {
published: '已发布',
publish: '发布',
update: '更新',
publishUpdate: '发布更新',
run: '运行',
running: '运行中',
inRunMode: '在运行模式中',
@ -30,6 +31,8 @@ const translation = {
latestPublished: '最新发布',
publishedAt: '发布于',
restore: '恢复',
versionHistory: '版本历史',
exitVersions: '退出版本历史',
runApp: '运行',
batchRunApp: '批量运行',
accessAPIReference: '访问 API',
@ -798,6 +801,38 @@ const translation = {
tracing: {
stopBy: '由{{user}}终止',
},
versionHistory: {
title: '版本',
currentDraft: '当前草稿',
latest: '最新',
filter: {
all: '全部',
onlyYours: '仅你的',
onlyShowNamedVersions: '只显示已命名版本',
reset: '重置',
empty: '没有匹配的版本',
},
defaultName: '未命名',
nameThisVersion: '命名',
editVersionInfo: '编辑信息',
editField: {
title: '标题',
releaseNotes: '发布说明',
titleLengthLimit: '标题不能超过{{limit}}个字符',
releaseNotesLengthLimit: '发布说明不能超过{{limit}}个字符',
},
releaseNotesPlaceholder: '请描述变更',
restorationTip: '版本回滚后,当前草稿将被覆盖。',
deletionTip: '删除不可逆,请确认。',
action: {
restoreSuccess: '回滚成功',
restoreFailure: '回滚失败',
deleteSuccess: '版本已删除',
deleteFailure: '删除失败',
updateSuccess: '版本信息已更新',
updateFailure: '更新失败',
},
},
}
export default translation