2025-02-08 16:41:28 +08:00
ErrInvalidParams : "Invalid request parameters: {{ .detail }}"
2024-07-19 19:04:11 +08:00
ErrTokenParse : "Token generation error: {{ .detail }}"
2025-02-08 16:41:28 +08:00
ErrInitialPassword : "Incorrect initial password"
2025-01-21 18:32:14 +08:00
ErrInternalServer : "Internal server error: {{ .detail }}"
2024-07-19 19:04:11 +08:00
ErrRecordExist : "Record already exists"
2025-01-21 18:32:14 +08:00
ErrRecordNotFound : "Record not found"
ErrStructTransform : "Type conversion failed: {{ .detail }}"
ErrNotLogin : "User not logged in: {{ .detail }}"
ErrPasswordExpired : "Current password has expired: {{ .detail }}"
2025-02-08 16:41:28 +08:00
ErrNotSupportType : "The current type is not supported: {{ .detail }}"
ErrProxy : "Request error, please check the status of this node: {{ .detail }}"
ErrApiConfigStatusInvalid : "API access is prohibited: {{ .detail }}"
2025-01-21 18:32:14 +08:00
ErrApiConfigKeyInvalid : "API key error: {{ .detail }}"
2025-02-08 16:41:28 +08:00
ErrApiConfigIPInvalid : "The API request IP is not on the whitelist: {{ .detail }}"
ErrApiConfigDisable : "This interface prohibits API calls: {{ .detail }}"
2025-01-21 18:32:14 +08:00
ErrApiConfigKeyTimeInvalid : "API timestamp error: {{ .detail }}"
2024-07-19 19:04:11 +08:00
2025-02-08 16:41:28 +08:00
# request
ErrNoSuchHost : "Unable to find the requested server {{ .err }}"
ErrHttpReqNotFound : "Unable to find the requested resource {{ .err }}"
ErrHttpReqFailed : "Request failed {{ .err }}"
ErrHttpReqTimeOut : "Request timed out {{ .err }}"
ErrCreateHttpClient : "Failed to create request {{ .err }}"
# common
ErrDemoEnvironment : "Demo server, this operation is prohibited!"
2025-01-21 18:32:14 +08:00
ErrCmdTimeout : "Command execution timeout!"
2025-02-08 16:41:28 +08:00
ErrEntrance : "Security entrance information error, please check and try again!"
ErrGroupIsDefault : "Default group, unable to delete"
ErrLocalDelete : "Cannot delete the local node!"
ErrPortInUsed : "The {{ .name }} port is already in use!"
# app
CustomAppStoreFileValid : "Application store package requires .tar.gz format"
ErrFileNotFound : "{{ .name }} file does not exist"
2024-08-08 15:38:37 +08:00
2025-02-08 16:41:28 +08:00
# backup
ErrBackupInUsed : "This backup account is used in scheduled tasks and cannot be deleted"
ErrBackupCheck : "Backup account connection test failed {{ .err }}"
ErrBackupLocal : "Local server backup account does not support this operation!"
ErrBackupPublic : "Detected that this backup account is not public, please check and try again!"
ErrOSSConn : "Unable to get the latest version, please check the server's external network connectivity."
2024-11-26 14:34:47 +08:00
2024-12-10 13:57:38 +08:00
#license
2025-01-21 18:32:14 +08:00
ErrLicense : "License format error, please check and retry!"
ErrLicenseCheck : "License validation failed, please check and retry!"
ErrXpackVersion : "License validation failed, this license is version-limited, cannot import, please check and retry!"
ErrLicenseSave : "Failed to save license information, error {{ .err }}, please retry!"
ErrLicenseSync : "License synchronization failed, no license info detected in database!"
ErrXpackNotFound : "This section is for professional edition, please import the license in Panel Settings - License"
ErrXpackExceptional : "This section is for professional edition, please sync license status in Panel Settings - License"
ErrXpackOutOfDate : "Current license has expired, please import the license again in Panel Settings - License"
ErrXpackLost : "License has reached the maximum retry count, please go to the [Panel Settings] [License] page and click the sync button manually to ensure the professional features work correctly"
2025-02-11 18:11:48 +08:00
ErrDeviceLost : "Required files for license verification are missing, please check and try again!"
2025-01-21 18:32:14 +08:00
ErrXpackTimeout : "Request timeout, network connection might be unstable, please try again later!"
ErrUnbindMaster : "Detected nodes in node management, unable to unbind the current license, please remove nodes first and retry!"
ErrFreeNodeLimit : "Community version node limit reached, please go to www.lxware.cn/1panel to purchase and retry!"
ErrNodeBound : "This license is bound to another node, please check and retry!"
ErrNoSuchNode : "Node information not found, please check and retry!"
ErrNodeUnbind : "This node is not within the license binding range, please check and retry!"
ErrNodeBind : "This node is already bound to a license, please check and retry!"
2024-12-10 13:57:38 +08:00
2025-02-08 16:41:28 +08:00
# alert
ErrAlertSync : "Alert information sync error, please check and retry!"
# task
TaskStart : "{{ .name }} task started [START]"
TaskEnd : "{{ .name }} task ended [COMPLETED]"
TaskFailed : "{{ .name }} task failed"
TaskTimeout : "{{ .name }} timed out"
TaskSuccess : "{{ .name }} task succeeded"
TaskRetry : "Starting retry {{ .name }}"
SubTaskSuccess : "{{ .name }} succeeded"
2025-01-21 18:32:14 +08:00
SubTaskFailed : "{{ .name }} failed: {{ .err }}"
2024-11-26 14:34:47 +08:00
TaskInstall : "Install"
TaskUpgrade : "Upgrade"
2025-02-08 16:41:28 +08:00
SuccessStatus : "{{ .name }} succeeded"
2025-01-21 18:32:14 +08:00
FailedStatus : "{{ .name }} failed {{.err}}"
2024-11-26 14:34:47 +08:00
Start : "Start"
SubTask : "Subtask"
#upgrade node
2025-02-08 16:41:28 +08:00
NodeUpgrade : "Upgrade node {{ .name }}"
NewSSHClient : "Initializing SSH connection"
2025-01-21 18:32:14 +08:00
BackupBeforeUpgrade : "Backup data before upgrade"
UploadUpgradeFile : "Distribute upgrade files"
2025-02-08 16:41:28 +08:00
RestartAfterUpgrade : "Start service after upgrade"
2024-11-26 14:34:47 +08:00
#add node
2025-01-21 18:32:14 +08:00
TaskAddNode : "Add node"
SyncAgentBaseInfo : "Sync basic node info"
GenerateSSLInfo : "Generate node SSL info"
ConnInfoNotMatch : "Connection info mismatch"
MakeAgentPackage : "Generate node installation package"
SendAgent : "Distribute node installation package"
StartService : "Start service"
#cmd
AppVersion : "App version"
AppCommands : "App related commands"
AppInit : "Initialize app"
AppKeyVal : "App key (only supports English)"
AppCreateFileErr : "File {{ .name }} creation failed {{ .err }}"
AppCreateDirErr : "Folder {{ .name }} creation failed {{ .err }}"
AppMissKey : "App key missing, use -k to specify"
AppMissVersion : "App version missing, use -v to specify"
AppVersionExist : "Version already exists!"
AppCreateSuccessful : "Creation successful!"
AppWriteErr : "File {{ .name }} write failed {{ .err }}"
SudoHelper : "Please use {{ .cmd }} or switch to root user"
ListenIPCommands : "Switch listening ip"
ListenIPv4 : "Listen on IPv4"
ListenIPv6 : "Listen on IPv6"
ListenChangeSuccessful : "Switch successful! Now listening on {{ .value }}"
ResetCommands : "Reset system info"
ResetMFA : "Cancel 1Panel two-factor authentication"
ResetHttps : "Cancel 1Panel https login"
ResetEntrance : "Cancel 1Panel secure entrance"
ResetIPs : "Cancel 1Panel authorized ip restrictions"
ResetDomain : "Cancel 1Panel domain binding"
RestoreCommands : "Rollback 1Panel service and data"
RestoreNoSuchFile : "No files available for rollback"
RestoreStep1 : "(1/5) Starting rollback of 1Panel service and data from {{ .name }} directory..."
RestoreStep2 : "(2/5) 1Panel binary rollback successful"
RestoreStep3 : "(3/5) 1Panel script rollback successful"
RestoreStep4 : "(4/5) 1Panel service rollback successful"
RestoreStep5 : "(5/5) 1Panel data rollback successful"
RestoreSuccessful : "Rollback successful! Restarting service, please wait..."
UpdateCommands : "Update panel info"
UpdateUser : "Update panel user"
UpdatePassword : "Update panel password"
UpdatePort : "Update panel port"
UpdateUserNull : "Error: panel user is empty!"
UpdateUserBlank : "Error: panel user contains spaces!"
UpdateUserFormat : "Error: Invalid panel user format! Only supports English, Chinese, numbers, and _, length 3-30"
UpdateUserErr : "Error: Failed to update panel user, {{ .err }}"
UpdateSuccessful : "Update successful!"
UpdateUserResult : "Panel user: {{ .name }}"
UpdatePasswordRead : "Error: Failed to read panel password information, {{ .err }}"
UpdatePasswordNull : "Error: Panel password is empty!"
UpdateUPasswordBlank : "Error: Panel password contains spaces!"
UpdatePasswordFormat : "Error: Panel password only supports letters, numbers, special characters !@#$%*_,.?, length 8-30!"
UpdatePasswordLen : "Error: Please enter a password longer than 6 characters!"
UpdatePasswordRe : "Confirm password:"
UpdatePasswordErr : "Error: Failed to update panel password, {{ .err }}"
UpdatePasswordSame : "Error: The two passwords do not match, please check and try again!"
UpdatePasswordResult : "Panel password: {{ .name }}"
UpdatePortFormat : "Error: The input port number must be between 1 and 65535!"
UpdatePortUsed : "Error: The port number is already in use, please check and try again!"
UpdatePortErr : "Error: Failed to update panel port, {{ .err }}"
UpdatePortResult : "Panel Port: {{ .name }}"
UpdatePortFirewallAdd : "Failed to add firewall port rule, {{ .err }}, please manually add the {{ .name }} port to the firewall rules."
UpdatePortFirewallDel : "Error: Failed to delete firewall port, {{ .err }}"
UpdatePortFirewallReload : "Failed to reload the firewall, {{ .err }}, please manually reload the firewall."
UserInfo : "Get panel information"
UserInfoAddr : "Panel address: "
UserInfoPassHelp : "Tip: To change the password, you can execute the command: "
DBConnErr : "Error: Failed to initialize database connection, {{ .err }}"
SystemVersion : "version: "
2025-02-08 16:41:28 +08:00
SystemMode : "mode: "