fix(i18n): use English runtime text and localize system UI

This commit is contained in:
Arthur Koba
2026-10-25 19:44:15 +03:00
parent ada0550571
commit 65a96670d5
289 changed files with 8092 additions and 3426 deletions
+13 -13
View File
@@ -7,17 +7,17 @@ package task
// 任务管理相关错误消息
const (
InvalidTaskType = "无效的任务类型"
InvalidTimeRange = "无效的时间范围"
TaskDispatchFailed = "任务下发失败"
UserIDRequired = "用户ID必填"
TaskNotFound = "任务执行记录不存在"
TaskNotRetryable = "该任务不支持重试"
TaskNotFailed = "只有失败的任务才能重试"
TaskMaxRetryExceeded = "已达到最大重试次数"
TaskRetryFailed = "任务重试失败"
InvalidCronExpression = "无效的 Cron 表达式"
ScheduleNotFound = "定时任务不存在"
ScheduleSaveFailed = "保存定时任务失败"
ScheduleDeleteFailed = "删除定时任务失败"
InvalidTaskType = "Invalid task type"
InvalidTimeRange = "Invalid time range"
TaskDispatchFailed = "Failed to dispatch task"
UserIDRequired = "User ID is required"
TaskNotFound = "Task execution was not found"
TaskNotRetryable = "this task cannot be retried"
TaskNotFailed = "Only failed tasks can be retried"
TaskMaxRetryExceeded = "Maximum retry count reached"
TaskRetryFailed = "Failed to retry task"
InvalidCronExpression = "Invalid Cron expression"
ScheduleNotFound = "Schedule was not found"
ScheduleSaveFailed = "Failed to save schedule"
ScheduleDeleteFailed = "Failed to delete schedule"
)