mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/1Panel-dev/1Panel.git
synced 2026-09-20 08:03:55 +08:00
292 lines
16 KiB
YAML
292 lines
16 KiB
YAML
ErrInvalidParams: "Invalid request parameters: {{ .detail }}"
|
|
ErrTokenParse: "Token generation error: {{ .detail }}"
|
|
ErrInitialPassword: "Incorrect initial password"
|
|
ErrInternalServer: "Internal server error: {{ .detail }}"
|
|
ErrRecordExist: "Record already exists"
|
|
ErrRecordNotFound: "Record not found"
|
|
ErrStructTransform: "Type conversion failed: {{ .detail }}"
|
|
ErrNotLogin: "User not logged in: {{ .detail }}"
|
|
ErrSessionDataNotFound: "Session expired"
|
|
ErrSessionDataFormat: "Invalid session data format"
|
|
ErrPasswordExpired: "Password expired: {{ .detail }}"
|
|
ErrNotSupportType: "Unsupported type: {{ .detail }}"
|
|
ErrProxy: "Request failed; check this node status: {{ .detail }}"
|
|
ErrApiConfigStatusInvalid: "API access disabled: {{ .detail }}"
|
|
ErrApiConfigKeyInvalid: "Invalid API key: {{ .detail }}"
|
|
ErrApiConfigIPInvalid: "The API request IP is not on the whitelist: {{ .detail }}"
|
|
ErrApiConfigDisable: "This interface prohibits API calls: {{ .detail }}"
|
|
ErrApiConfigKeyTimeInvalid: "Invalid API timestamp: {{ .detail }}"
|
|
ErrPasskeyDisabled: "Passkey requires HTTPS to be enabled"
|
|
ErrPasskeyNotConfigured: "No passkey configured"
|
|
ErrPasskeyLimit: "Passkey limit reached (max 5)"
|
|
ErrPasskeySession: "Passkey session expired or invalid"
|
|
ErrPasskeyDuplicate: "Passkey already exists"
|
|
ErrPasskeyVerify: "Passkey verification failed"
|
|
ErrLoginLocked: "Too many failed attempts. Login is temporarily locked for 5 minutes."
|
|
|
|
# request
|
|
ErrNoSuchHost: "Host resolution failed: {{ .err }}"
|
|
ErrHttpReqNotFound: "Requested resource not found: {{ .err }}"
|
|
ErrHttpReqFailed: "Request failed {{ .err }}"
|
|
ErrHttpReqTimeOut: "Request timed out {{ .err }}"
|
|
ErrCreateHttpClient: "Failed to create request {{ .err }}"
|
|
ErrProxySetting: "Proxy server information unavailable {{ .err }}, check and try again!"
|
|
ErrEntranceFormat: "Security entry {{ .name }} is not supported. Check and try again."
|
|
|
|
# common
|
|
ErrDemoEnvironment: "Demo server, this operation is prohibited!"
|
|
ErrCmdTimeout: "Command execution timeout!"
|
|
ErrEntrance: "Security entrance information error, check and try again!"
|
|
ErrGroupIsDefault: "Default group, unable to delete"
|
|
ErrGroupIsInUse: "The group is in use and cannot be deleted."
|
|
ErrAIProxyUserGroupExists: "The user group name already exists."
|
|
ErrAIProxySensitiveGroupInUse: "The sensitive word group is in use and cannot be deleted."
|
|
ErrAIProxySensitiveGroupExists: "The sensitive word group name already exists."
|
|
ErrLocalDelete: "Cannot delete the local node!"
|
|
ErrPortInUsed: "The {{ .name }} port is already in use!"
|
|
ErrInternalServerKey: "Internal server error:"
|
|
MasterNode: "Master Node"
|
|
|
|
# app
|
|
CustomAppStoreFileValid: "Application store package requires .tar.gz format"
|
|
ErrFileNotFound: "{{ .name }} file does not exist"
|
|
AppBackup: 'Application backup'
|
|
AppBackupPush: 'Transfer application backup file {{.file}} to node {{ .name }}'
|
|
ErrSourceTargetSame: 'Source node and target node cannot be the same!'
|
|
AppInstall: 'Install application {{ .name }} on node {{ .targetNode }}'
|
|
AppInstallCheck: 'Check application installation environment'
|
|
|
|
# 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, check and try again!"
|
|
ErrOSSConn: "Unable to get the latest version. Check server internet connectivity."
|
|
|
|
#license
|
|
LicenseCheck: 'Check if the license is available'
|
|
ErrLicenseInUsed: 'The license is already bound. Check and try again!'
|
|
ErrLicenseExpired: 'The license has expired. Check and try again!'
|
|
ErrLicense: "License format error, check and retry!"
|
|
ErrLicenseCheck: "License validation failed, check and retry!"
|
|
ErrXpackVersion: "License validation failed, this license is version-limited, cannot import, check and retry!"
|
|
ErrLicenseSave: "Failed to save license information, error {{ .err }}, retry!"
|
|
ErrLicenseSync: "License synchronization failed, no license info detected in database!"
|
|
ErrLicenseExist: "This license record already exists. You can directly go to the license page for node binding."
|
|
ErrXpackNotFound: "This section requires Business Edition. Import a license in Panel Settings > License."
|
|
ErrXpackExceptional: "This section requires Business Edition. Sync the license status in Panel Settings > License."
|
|
ErrXpackLost: "The license retry limit has been reached. Go to Panel Settings > License and run a manual sync."
|
|
ErrEnterpriseLicenseRequired: "Enterprise Edition license is not imported. Import a license first."
|
|
ErrDeviceLost: "Required files for license verification are missing, check and try again!"
|
|
ErrDeviceErr: "Current environment does not match the license import environment. Edit the license and re-import."
|
|
ErrXpackTimeout: "Request timeout, network connection might be unstable, try again later!"
|
|
ErrUnbindMaster: "Nodes exist in node management. Remove nodes first, then unbind the current license."
|
|
ErrFreeNodeLimit: "Community Edition node limit reached. Visit www.lxware.cn/1panel to upgrade and try again."
|
|
ErrNodeBound: "This license is bound to another node, check and retry!"
|
|
ErrNodeBoundDelete: "This license is bound and does not support delete operations. Check and try again!"
|
|
ErrNodeBoundLimit: "The current free node has reached its limit, check and try again!"
|
|
ErrLicenseFree: "Free nodes are available only when the license is correctly bound to a node. Verify and retry."
|
|
ErrLicenseUnbind: "Community Edition nodes are still linked to this license. Unbind them in Panel Settings > License and try again."
|
|
ErrLicenseBindCount: "The new license free node count is less than the currently linked Community Edition node count. Check and try again."
|
|
ErrNoSuchNode: "Node information not found, check and retry!"
|
|
ErrNodeUnbind: "This node is not within the license binding range, check and retry!"
|
|
ErrNodeBind: "This node is already bound to a license, check and retry!"
|
|
ErrNodeLocalRollback: "The primary node does not support direct rollback. Run '1pctl restore' manually to roll back."
|
|
ErrIntlLicense: "The current version does not support importing international licenses yet. Stay tuned!"
|
|
|
|
# user
|
|
ErrNoSuchUser: "User information not found, check and try again!"
|
|
ErrToMaster: "This user does not have permission to perform this operation on the master node. Check and try again!"
|
|
ErrToNode: "This user does not have permission to perform this operation on this node. Check and try again!"
|
|
ErrRBAC: "Insufficient user permissions. This operation cannot be performed. Check and try again!"
|
|
ErrNoneNode: "This user has no node permissions. Contact an administrator or check and try again!"
|
|
ErrOnlySuperAdmin: "Only super admins can use this feature!"
|
|
ErrRolePresetCannotDelete: "System preset roles cannot be deleted"
|
|
ErrRolePresetCannotUpdate: "System preset roles cannot be updated"
|
|
ErrRoleBoundToUser: "This role is already bound to users and cannot be deleted"
|
|
ErrRolePresetCannotBind: "System preset roles cannot be assigned to users"
|
|
ErrNodeAdminMasterForbidden: "Node Admin permissions cannot be added to the master node"
|
|
ErrSuperAdminCannotDelete: "Super admin users cannot be deleted"
|
|
|
|
InvalidRequestBodyType: "Invalid request body format. Ensure content matches the required format and retry."
|
|
InvalidLicenseCodeType: "Invalid license code format provided, check and try again!"
|
|
LicenseNotFoundType: "License not found, no matching record exists in the system for the provided license. Check and try again!"
|
|
LicenseRevokedType: "The requested license has been revoked and is no longer usable. Check and try again!"
|
|
LicenseExpiredType: "License expired. Renew it or re-import it in Panel Settings - License before retrying."
|
|
LicenseProductMismatchType: "The license does not match the requested product or service!"
|
|
InvalidAssigneeType: "Invalid target user or device information for license assignment. Check and try again!"
|
|
LicenseUsageNotFoundType: "No usage records found. This license has not been activated or used yet. Check and try again!"
|
|
LicenseUsageLimitExceededType: "This license is already bound to another node. Check and try again!"
|
|
|
|
# alert
|
|
ErrAlertSync: "Alert information sync error, 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: "Retry {{ .name }}"
|
|
SubTaskSuccess: "{{ .name }} succeeded"
|
|
SubTaskFailed: "{{ .name }} failed: {{ .err }}"
|
|
TaskInstall: "Install"
|
|
TaskUpgrade: "Upgrade"
|
|
TaskSync: 'Sync'
|
|
TaskSyncForNode: "Sync node data"
|
|
TaskBackup: "Backup"
|
|
AIBenchmarkRun: "Run AI benchmark"
|
|
SuccessStatus: "{{ .name }} succeeded"
|
|
FailedStatus: "{{ .name }} failed {{ .err }}"
|
|
Start: "Start"
|
|
SubTask: "Subtask"
|
|
Skip: "Ignore errors and continue"
|
|
PushAppInstallTaskToNode: "Push app installation task to node [{{ .name }}]"
|
|
TaskPush: "Push"
|
|
AppInstallTask: "App installation task"
|
|
PushAppFailed: "Failed to push app installation task"
|
|
Success: "Success"
|
|
|
|
#script
|
|
ScriptLibrary: "Script Library"
|
|
RemoteScriptLibrary: "Remote Script Library"
|
|
ScriptSyncSkip: "Script library is already up to date"
|
|
DownloadData: "Downloading script library file data.yaml"
|
|
DownloadPackage: "Downloading script library package"
|
|
AnalyticCompletion: "Analysis completed, now syncing to database..."
|
|
|
|
Node: "Node"
|
|
SyncNode: "Sync data to node {{ .name }}"
|
|
LocalName: "'local' name is only used for system local identification"
|
|
SyncPackageData: "Package sync data"
|
|
SyncPackageEncrypt: "Data package encryption"
|
|
SyncRequest: "Request node sync API"
|
|
SyncFailedRetry: "Node data sync timeout (attempt {{ .index }}), retrying..."
|
|
SyncFailed: "Sync failed, manually sync in the node list!"
|
|
SyncSystemProxy: "System Proxy Settings"
|
|
SyncScripts: "Script Library"
|
|
SyncBackupAccounts: "Backup Accounts"
|
|
SyncAlertSetting: "Alert Settings"
|
|
SyncCustomApp: "Custom App"
|
|
SyncLanguage: "System Language"
|
|
SyncEdition: "Region"
|
|
|
|
#upgrade node
|
|
NodeUpgrade: "Upgrade node {{ .name }}"
|
|
UpgradeCheck: "Check for node updates"
|
|
UpgradeCheckLocal: "Local nodes do not support batch upgrades, skipping..."
|
|
UpgradeCheckLatest: "The node is already the latest version, skipping..."
|
|
NewSSHClient: "Initializing SSH connection"
|
|
BackupBeforeUpgrade: "Backup data before upgrade"
|
|
UploadUpgradeFile: "Distribute upgrade files"
|
|
RestartAfterUpgrade: "Start service after upgrade"
|
|
|
|
#add node
|
|
MasterData: "Master Node Data"
|
|
LoadSftpClient: "Load SFTP Client"
|
|
PackageMasterData: "Generate master node backup package"
|
|
UploadBackup: "Upload backup data"
|
|
MvBackup: "Move data to backup directory"
|
|
TaskAddNode: "Add node"
|
|
LoadNodeArch: "Get node architecture info"
|
|
LoadNodeArchDetail: "Detected master node architecture: {{ .local }}, child node architecture: {{ .node }}"
|
|
LoadNodeUpgradeDetail: "Using the v1 version historical installation directory: {{ .baseDir }}, service listening port: {{ .port }}"
|
|
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"
|
|
NoBackupNode: "Backup node is empty. Select one and save first"
|
|
|
|
#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: "Use {{ .cmd }} or switch to root user"
|
|
UsernameNeed: "Enterprise edition must specify --username"
|
|
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"
|
|
ResetPasskey: "Clear 1Panel passkeys"
|
|
UserList: "Get 1Panel user list"
|
|
UserTableName: "Name"
|
|
UserTableMFAStatus: "MFA Status"
|
|
UserTableSuperAdmin: "Super Admin"
|
|
UserTableCreatedAt: "Created At"
|
|
UserEmptyList: "No users found"
|
|
RestoreCommands: "Roll back 1Panel service and data"
|
|
RestoreNoSuchFile: "No rollback files found"
|
|
RestoreStep1: "(1/5) Starting rollback of 1Panel service and data from {{ .name }} directory..."
|
|
RestoreStep2: "(2/5) 1Panel binary rollback completed"
|
|
RestoreStep3: "(3/5) 1Panel script rollback completed"
|
|
RestoreStep4: "(4/5) 1Panel service rollback completed"
|
|
RestoreStep5: "(5/5) 1Panel data rollback completed"
|
|
RestoreSuccessful: "Rollback completed. Reverted to {{ .version }}. Restarting service..."
|
|
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 supports only letters, numbers, and special characters (!@#$%*_,.?) with a length of 8-30."
|
|
UpdatePasswordLen: "Error: 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, 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, check and try again!"
|
|
UpdatePortErr: "Error: Failed to update panel port, {{ .err }}"
|
|
UpdatePortResult: "Panel Port: {{ .name }}"
|
|
UpdatePortFirewallAdd: "Failed to add firewall port rule, {{ .err }}, manually add the {{ .name }} port to the firewall rules."
|
|
UpdatePortFirewallDel: "Error: Failed to delete firewall port, {{ .err }}"
|
|
UpdatePortFirewallReload: "Failed to reload the firewall, {{ .err }}, 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: "
|
|
SystemMode: "mode: "
|
|
|
|
#mobile app
|
|
ErrVerifyToken: 'Token verification failed. Reset and scan again.'
|
|
ErrInvalidToken: 'Invalid token. Reset and scan again.'
|
|
ErrExpiredToken: 'Token expired. Reset and scan again.'
|
|
|
|
#cluster
|
|
ErrMasterDelete: "Unable to delete the master node. Delete slave nodes first."
|
|
ClusterNameIsExist: "Cluster name already exists."
|
|
AppStatusUnHealthy: "Failed to fetch application status. Check installation node status in the node list."
|
|
MasterNodePortNotAvailable: "Node {{ .name }} port {{ .port }} connectivity check failed. Check firewall/security group settings and master node status."
|
|
ClusterMasterNotExist: "Cluster master node is disconnected. Delete child nodes."
|
|
|
|
#ssl
|
|
ErrReqFailed: "{{.name}} request failed: {{ .err }}"
|
|
|
|
#command
|
|
Name: "Name"
|
|
Command: "Command"
|