feat: version tag (#14949)

This commit is contained in:
Wu Tianwei
2025-03-07 18:10:40 +08:00
committed by GitHub
parent 4aaf07d62a
commit 3ca1373274
41 changed files with 1695 additions and 423 deletions

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