Skip to content

Commit 8c13b45

Browse files
authored
Merge pull request #2673 from actiontech/i18n-sql-version-ce
localize sql version msg
2 parents 621e294 + b30abaf commit 8c13b45

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

sqle/locale/active.en.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@ SQLManageStatusIgnored = "Ignored"
283283
SQLManageStatusManualAudited = "Manually audited"
284284
SQLManageStatusSolved = "Solved"
285285
SQLManageStatusUnhandled = "Unhandled"
286+
SqlVersionExecFailedReason = "workflow %s execution status is not finished and stop execution"
286287
SqlVersionInvalidStatusReason = "Execution failed: A workflow with status %v exists at the stage of the SQL version bound to this workflow, and its SQL version ID is %v"
288+
SqlVersionReleaseFailedReason = "workflow %s release fail and stop release"
287289
StatisticResourceTypeUser = "User"
288290
TaskSQLReportAuditResult = "SQL audit result"
289291
TaskSQLReportAuditStatus = "SQL audit status"

sqle/locale/active.zh.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@ SQLManageStatusIgnored = "已忽略"
283283
SQLManageStatusManualAudited = "已人工审核"
284284
SQLManageStatusSolved = "已解决"
285285
SQLManageStatusUnhandled = "未处理"
286+
SqlVersionExecFailedReason = "工单:%s 上线失败并停止继续上线"
286287
SqlVersionInvalidStatusReason = "执行失败:在该工单绑定的SQL版本的阶段上,存在状态为%v的工单,其SQL版本id为%v"
288+
SqlVersionReleaseFailedReason = "工单:%s 发布失败并停止继续发布"
287289
StatisticResourceTypeUser = "用户"
288290
TaskSQLReportAuditResult = "SQL审核结果"
289291
TaskSQLReportAuditStatus = "SQL审核状态"

sqle/locale/message_zh.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ var (
109109
// sql version
110110
var (
111111
SqlVersionInvalidStatusReason = &i18n.Message{ID: "SqlVersionInvalidStatusReason", Other: "执行失败:在该工单绑定的SQL版本的阶段上,存在状态为%v的工单,其SQL版本id为%v"}
112+
SqlVersionExecFailedReason = &i18n.Message{ID: "SqlVersionExecFailedReason", Other: "工单:%s 上线失败并停止继续上线"}
113+
SqlVersionReleaseFailedReason = &i18n.Message{ID: "SqlVersionReleaseFailedReason", Other: "工单:%s 发布失败并停止继续发布"}
112114
)
113115

114116
// audit plan

0 commit comments

Comments
 (0)