Skip to content

Commit

Permalink
Merge pull request #2673 from actiontech/i18n-sql-version-ce
Browse files Browse the repository at this point in the history
localize sql version msg
  • Loading branch information
iwanghc authored Oct 11, 2024
2 parents 621e294 + b30abaf commit 8c13b45
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sqle/locale/active.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ SQLManageStatusIgnored = "Ignored"
SQLManageStatusManualAudited = "Manually audited"
SQLManageStatusSolved = "Solved"
SQLManageStatusUnhandled = "Unhandled"
SqlVersionExecFailedReason = "workflow %s execution status is not finished and stop execution"
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"
SqlVersionReleaseFailedReason = "workflow %s release fail and stop release"
StatisticResourceTypeUser = "User"
TaskSQLReportAuditResult = "SQL audit result"
TaskSQLReportAuditStatus = "SQL audit status"
Expand Down
2 changes: 2 additions & 0 deletions sqle/locale/active.zh.toml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ SQLManageStatusIgnored = "已忽略"
SQLManageStatusManualAudited = "已人工审核"
SQLManageStatusSolved = "已解决"
SQLManageStatusUnhandled = "未处理"
SqlVersionExecFailedReason = "工单:%s 上线失败并停止继续上线"
SqlVersionInvalidStatusReason = "执行失败:在该工单绑定的SQL版本的阶段上,存在状态为%v的工单,其SQL版本id为%v"
SqlVersionReleaseFailedReason = "工单:%s 发布失败并停止继续发布"
StatisticResourceTypeUser = "用户"
TaskSQLReportAuditResult = "SQL审核结果"
TaskSQLReportAuditStatus = "SQL审核状态"
Expand Down
2 changes: 2 additions & 0 deletions sqle/locale/message_zh.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ var (
// sql version
var (
SqlVersionInvalidStatusReason = &i18n.Message{ID: "SqlVersionInvalidStatusReason", Other: "执行失败:在该工单绑定的SQL版本的阶段上,存在状态为%v的工单,其SQL版本id为%v"}
SqlVersionExecFailedReason = &i18n.Message{ID: "SqlVersionExecFailedReason", Other: "工单:%s 上线失败并停止继续上线"}
SqlVersionReleaseFailedReason = &i18n.Message{ID: "SqlVersionReleaseFailedReason", Other: "工单:%s 发布失败并停止继续发布"}
)

// audit plan
Expand Down

0 comments on commit 8c13b45

Please sign in to comment.