1- ErrInvalidParams : " Request parameter error : {{ .detail }}"
1+ ErrInvalidParams : " Invalid request parameters : {{ .detail }}"
22ErrTokenParse : " Token generation error: {{ .detail }}"
3- ErrInitialPassword : " Original password is incorrect "
3+ ErrInitialPassword : " Incorrect initial password "
44ErrInternalServer : " Internal server error: {{ .detail }}"
55ErrRecordExist : " Record already exists"
66ErrRecordNotFound : " Record not found"
77ErrStructTransform : " Type conversion failed: {{ .detail }}"
88ErrNotLogin : " User not logged in: {{ .detail }}"
99ErrPasswordExpired : " Current password has expired: {{ .detail }}"
10- ErrNotSupportType : " System does not support current type : {{ .detail }}"
11- ErrProxy : " Request error, please check node status: {{ .detail }}"
12- ErrApiConfigStatusInvalid : " API access forbidden : {{ .detail }}"
10+ ErrNotSupportType : " The current type is not supported : {{ .detail }}"
11+ ErrProxy : " Request error, please check the status of this node : {{ .detail }}"
12+ ErrApiConfigStatusInvalid : " API access is prohibited : {{ .detail }}"
1313ErrApiConfigKeyInvalid : " API key error: {{ .detail }}"
14- ErrApiConfigIPInvalid : " API IP not in whitelist: {{ .detail }}"
15- ErrApiConfigDisable : " API call is disabled for this endpoint : {{ .detail }}"
14+ ErrApiConfigIPInvalid : " The API request IP is not on the whitelist: {{ .detail }}"
15+ ErrApiConfigDisable : " This interface prohibits API calls : {{ .detail }}"
1616ErrApiConfigKeyTimeInvalid : " API timestamp error: {{ .detail }}"
1717
18- # common
19- ErrDemoEnvironment : " Demo server, operation forbidden!"
18+ # request
19+ ErrNoSuchHost : " Unable to find the requested server {{ .err }}"
20+ ErrHttpReqNotFound : " Unable to find the requested resource {{ .err }}"
21+ ErrHttpReqFailed : " Request failed {{ .err }}"
22+ ErrHttpReqTimeOut : " Request timed out {{ .err }}"
23+ ErrCreateHttpClient : " Failed to create request {{ .err }}"
24+
25+ # common
26+ ErrDemoEnvironment : " Demo server, this operation is prohibited!"
2027ErrCmdTimeout : " Command execution timeout!"
21- ErrEntrance : " Security entrance error, please check and retry!"
22- ErrGroupIsDefault : ' Default group, cannot be deleted'
23- ErrLocalDelete : " Cannot delete local node!"
28+ ErrEntrance : " Security entrance information error, please check and try again!"
29+ ErrGroupIsDefault : " Default group, unable to delete"
30+ ErrLocalDelete : " Cannot delete the local node!"
31+ ErrPortInUsed : " The {{ .name }} port is already in use!"
32+
33+ # app
34+ CustomAppStoreFileValid : " Application store package requires .tar.gz format"
35+ ErrFileNotFound : " {{ .name }} file does not exist"
2436
25- # backup
26- ErrBackupInUsed : " Backup account is in use by a scheduled task, cannot delete "
27- ErrBackupCheck : " Backup account connection test failed {{ .err}}"
28- ErrBackupLocal : " Local backup account does not support this operation!"
29- ErrBackupPublic : " Non-public backup account detected , please check and retry !"
30- ErrOSSConn : " Cannot retrieve latest version, please check if the server can connect to external network."
37+ # backup
38+ ErrBackupInUsed : " This backup account is used in scheduled tasks and cannot be deleted "
39+ ErrBackupCheck : " Backup account connection test failed {{ .err }}"
40+ ErrBackupLocal : " Local server backup account does not support this operation!"
41+ ErrBackupPublic : " Detected that this backup account is not public , please check and try again !"
42+ ErrOSSConn : " Unable to get the latest version, please check the server's external network connectivity ."
3143
3244# license
3345ErrLicense : " License format error, please check and retry!"
@@ -47,37 +59,31 @@ ErrNoSuchNode: "Node information not found, please check and retry!"
4759ErrNodeUnbind : " This node is not within the license binding range, please check and retry!"
4860ErrNodeBind : " This node is already bound to a license, please check and retry!"
4961
50- # task
51- TaskStart : " {{.name}} task started [START]"
52- TaskEnd : " {{.name}} task completed [COMPLETED]"
53- TaskFailed : " {{.name}} task failed"
54- TaskTimeout : " {{.name}} timeout"
55- TaskSuccess : " {{.name}} task successful"
56- TaskRetry : " Starting retry {{.name}}"
57- SubTaskSuccess : " {{ .name }} successful"
62+ # alert
63+ ErrAlertSync : " Alert information sync error, please check and retry!"
64+
65+ # task
66+ TaskStart : " {{ .name }} task started [START]"
67+ TaskEnd : " {{ .name }} task ended [COMPLETED]"
68+ TaskFailed : " {{ .name }} task failed"
69+ TaskTimeout : " {{ .name }} timed out"
70+ TaskSuccess : " {{ .name }} task succeeded"
71+ TaskRetry : " Starting retry {{ .name }}"
72+ SubTaskSuccess : " {{ .name }} succeeded"
5873SubTaskFailed : " {{ .name }} failed: {{ .err }}"
5974TaskInstall : " Install"
60- TaskUninstall : " Uninstall"
61- TaskCreate : " Create"
62- TaskDelete : " Delete"
6375TaskUpgrade : " Upgrade"
64- TaskUpdate : " Update"
65- TaskRestart : " Restart"
66- TaskRollback : " Rollback"
67- SuccessStatus : " {{ .name }} successful"
76+ SuccessStatus : " {{ .name }} succeeded"
6877FailedStatus : " {{ .name }} failed {{.err}}"
69- PullImage : " Pull image"
7078Start : " Start"
71- Run : " Run"
72- Stop : " Stop"
7379SubTask : " Subtask"
7480
7581# upgrade node
76- NodeUpgrade : " Upgrade node {name}"
77- NewSSHClient : " Initialize SSH connection"
82+ NodeUpgrade : " Upgrade node {{ . name } }"
83+ NewSSHClient : " Initializing SSH connection"
7884BackupBeforeUpgrade : " Backup data before upgrade"
7985UploadUpgradeFile : " Distribute upgrade files"
80- RestartAfterUpgrade : " Start services after upgrade"
86+ RestartAfterUpgrade : " Start service after upgrade"
8187
8288# add node
8389TaskAddNode : " Add node"
@@ -150,4 +156,4 @@ UserInfoAddr: "Panel address: "
150156UserInfoPassHelp : " Tip: To change the password, you can execute the command: "
151157DBConnErr : " Error: Failed to initialize database connection, {{ .err }}"
152158SystemVersion : " version: "
153- SystemMode : " mode: "
159+ SystemMode : " mode: "
0 commit comments