mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-20 16:59:17 +08:00
45362a9819
* feat(system-upgrade): Added support for multi-host upgrade * feat: Add supports of task display for node upgrade
70 lines
2.4 KiB
YAML
70 lines
2.4 KiB
YAML
ErrInvalidParams: "請求參數錯誤: {{ .detail }}"
|
|
ErrTokenParse: "Token 產生錯誤: {{ .detail }}"
|
|
ErrInitialPassword: "原密碼錯誤"
|
|
ErrInternalServer: "伺服器內部錯誤: {{ .detail }}"
|
|
ErrRecordExist: "記錄已存在"
|
|
ErrRecordNotFound: "記錄未找到"
|
|
ErrTransform: "類型轉換失敗: {{ .detail }}"
|
|
ErrNotLogin: "用戶未登入: {{ .detail }}"
|
|
ErrPasswordExpired: "當前密碼已過期: {{ .detail }}"
|
|
ErrNotSupportType: "系統暫不支持當前類型: {{ .detail }}"
|
|
ErrProxy: "請求錯誤,請檢查該節點狀態: {{ .detail }}"
|
|
|
|
#common
|
|
ErrNameIsExist: "名稱已存在"
|
|
ErrDemoEnvironment: "演示伺服器,禁止此操作!"
|
|
ErrEntrance: "安全入口信息錯誤,請檢查後重試!"
|
|
ErrGroupIsUsed: "分組正在使用中,無法刪除"
|
|
ErrLocalDelete: "無法刪除本地節點!"
|
|
|
|
#app
|
|
ErrPortInUsed: "{{ .detail }} 端口已被佔用!"
|
|
ErrCreateHttpClient: "創建HTTP請求失敗 {{.err}}"
|
|
ErrHttpReqTimeOut: "請求超時 {{.err}}"
|
|
ErrHttpReqFailed: "請求失敗 {{.err}}"
|
|
ErrHttpReqNotFound: "文件不存在"
|
|
ErrNoSuchHost: "網路連接失敗"
|
|
|
|
#backup
|
|
ErrBackupInUsed: "該備份帳號已在計劃任務中使用,無法刪除"
|
|
ErrBackupCheck: "備份帳號測試連接失敗 {{.err}}"
|
|
ErrBackupLocalDelete: "暫不支持刪除本地伺服器備份帳號"
|
|
|
|
#task
|
|
TaskStart: "{{.name}} 任務開始 [START]"
|
|
TaskEnd: "{{.name}} 任務結束 [COMPLETED]"
|
|
TaskFailed: "{{.name}} 任務失敗"
|
|
TaskTimeout: "{{.name}} 超時"
|
|
TaskSuccess: "{{.name}} 任務成功"
|
|
TaskRetry: "開始第 {{.name}} 次重試"
|
|
SubTaskSuccess: "{{ .name }} 成功"
|
|
SubTaskFailed: "{{ .name }} 失敗: {{ .err }}"
|
|
TaskInstall: "安裝"
|
|
TaskUninstall: "卸載"
|
|
TaskCreate: "創建"
|
|
TaskDelete: "刪除"
|
|
TaskUpgrade: "升級"
|
|
TaskUpdate: "更新"
|
|
TaskRestart: "重啟"
|
|
TaskRollback: "回滾"
|
|
SuccessStatus: "{{ .name }} 成功"
|
|
FailedStatus: "{{ .name }} 失敗 {{.err}}"
|
|
PullImage: "拉取鏡像"
|
|
Start: "開始"
|
|
Run: "啟動"
|
|
Stop: "停止"
|
|
SubTask: "子任務"
|
|
|
|
#node upgrade
|
|
NodeUpgrade: "升級節點 {name}"
|
|
NewSSHClient: "初始化 SSH 連接"
|
|
BackupBeforeUpgrade: "升級前備份數據"
|
|
UploadUpgradeFile: "下發升級所需文件"
|
|
RestartAfterUpgrade: "升級後啟動服務"
|
|
|
|
#node create
|
|
TaskAddNode: "添加節點"
|
|
GenerateSSLInfo: "生成節點 SSL 信息"
|
|
MakeAgentPackage: "生成節點安裝包"
|
|
SendAgent: "下發節點安裝包"
|
|
StartService: "啟動服務" |