diff --git a/backend/i18n/lang/en.yaml b/backend/i18n/lang/en.yaml index f6f3d5306..6887dd5d5 100644 --- a/backend/i18n/lang/en.yaml +++ b/backend/i18n/lang/en.yaml @@ -87,7 +87,6 @@ ErrFavoriteExist: "This path has been collected" ErrInvalidChar: "Illegal characters are prohibited" ErrPathNotDelete: "The selected directory cannot be deleted" - #website ErrDomainIsExist: "Domain is already exist" ErrAliasIsExist: "Alias is already exist" @@ -127,6 +126,9 @@ ErrDefaultCA: "The default organization cannot be deleted" ApplyWebSiteSSLLog: "Start updating {{ .name }} website certificate" ErrUpdateWebsiteSSL: "{{ .name }} website failed to update certificate: {{ .err }}" ApplyWebSiteSSLSuccess: "Update website certificate successfully" +ErrExecShell: "Script execution failed {{ .err }}" +ExecShellStart: "Start executing the script" +ExecShellSuccess: "The script executed successfully" StartUpdateSystemSSL: "Start updating system certificate" UpdateSystemSSLSuccess: "Update system certificate successfully" @@ -209,7 +211,6 @@ ErrXpackOutOfDate: "The current license has expired, please re-import the licens ErrXpackLost: "The license has reached the maximum number of retry attempts. Please go to the [Settings] [License] page and manually click the sync button to ensure that the professional version features are functioning properly." ErrXpackTimeout: "Request timed out, the network connection may be unstable, please try again later!" - #license ErrAlert: "Alert information format error, please check and try again!" ErrAlertPush: "Alert push error, please check and try again!" @@ -218,64 +219,64 @@ ErrAlertSync: "Alert sync error, please check and try again!" ErrAlertRemote: "Remote alert error, please check and try again!" #cmd -AppVersion : "App version" -AppCommands : "App related commands" -AppInit : "Initialize app" +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 : "(0/4) Starting rollback of 1Panel service and data from {{ .name }} directory..." -RestoreStep2 : "1/4 1panel binary rollback successful" -RestoreStep3 : "2/4 1panel script rollback successful" -RestoreStep4 : "3/4 1panel service rollback successful" -RestoreStep5 : "4/4 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: " -SystemVersion : "Get system version information" -DBConnErr : "Error: Failed to initialize database connection, {{ .err }}" \ No newline at end of file +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: " +SystemVersion: "Get system version information" +DBConnErr: "Error: Failed to initialize database connection, {{ .err }}" diff --git a/backend/i18n/lang/zh-Hant.yaml b/backend/i18n/lang/zh-Hant.yaml index d0166d376..c20a19f0a 100644 --- a/backend/i18n/lang/zh-Hant.yaml +++ b/backend/i18n/lang/zh-Hant.yaml @@ -126,10 +126,12 @@ ErrDefaultCA: "默認機構不能刪除" ApplyWebSiteSSLLog: "開始更新 {{ .name }} 網站憑證" ErrUpdateWebsiteSSL: "{{ .name }} 網站更新憑證失敗: {{ .err }}" ApplyWebSiteSSLSuccess: "更新網站憑證成功" +ErrExecShell: "執行腳本失敗 {{ .err }}" +ExecShellStart: "開始執行腳本" +ExecShellSuccess: "腳本執行成功" StartUpdateSystemSSL: "開始更新系統證書" UpdateSystemSSLSuccess: "更新系統證書成功" - #mysql ErrUserIsExist: "當前用戶已存在,請重新輸入" ErrDatabaseIsExist: "當前資料庫已存在,請重新輸入" @@ -198,7 +200,6 @@ ErrGroupExist: "IP 群組名稱已存在" ErrIPRange: "IP 範圍錯誤" ErrIPExist: "IP 已存在" - #license ErrLicense: "許可證格式錯誤,請檢查後重試!" ErrLicenseCheck: "許可證校驗失敗,請檢查後重試!" @@ -218,64 +219,64 @@ ErrAlertSync: "告警資訊同步錯誤,請檢查後重試!" ErrAlertRemote: "告警資訊遠端錯誤,請檢查後重試!" #cmd -AppVersion : "應用版本" -AppCommands : "應用相關命令" -AppInit : "初始化應用" -AppKeyVal: "應用的key(僅支持英文)" -AppCreateFileErr : "文件 {{ .name }} 創建失敗 {{ .err }}" -AppCreateDirErr : "資料夾 {{ .name }} 創建失敗 {{ .err }}" -AppMissKey : "應用的 key 缺失,使用 -k 指定" -AppMissVersion : "應用版本缺失,使用 -v 指定" -AppVersionExist : "版本已存在!" -AppCreateSuccessful : "創建成功!" -AppWriteErr : "文件 {{ .name }} 寫入失敗 {{ .err }}" -SudoHelper : "請使用 {{ .cmd }} 或者切換到 root 用戶" -ListenIPCommands : "切換監聽 IP" -ListenIPv4 : "監聽 IPv4" -ListenIPv6 : "監聽 IPv6" -ListenChangeSuccessful : "切換成功!已切換至監聽 {{ .value }}" -ResetCommands : "重置系統信息" -ResetMFA : "取消 1Panel 兩步驗證" -ResetHttps : "取消 1Panel https 方式登錄" -ResetEntrance : "取消 1Panel 安全入口" -ResetIPs : "取消 1Panel 授權 IP 限制" -ResetDomain : "取消 1Panel 訪問域名綁定" -RestoreCommands : "回滾 1Panel 服務及數據" -RestoreNoSuchFile : "暫無可回滾文件" -RestoreStep1 : "(0/4) 開始從 {{ .name }} 目錄回滾 1Panel 服務及數據... " -RestoreStep2 : "1/4 1panel 二進制回滾成功" -RestoreStep3 : "2/4 1panel 腳本回滾成功" -RestoreStep4 : "3/4 1panel 服務回滾成功" -RestoreStep5 : "4/4 1panel 數據回滾成功" -RestoreSuccessful : "回滾成功!正在重啟服務,請稍候..." -UpdateCommands : "修改面板信息" -UpdateUser : "修改面板用戶" -UpdatePassword : "修改面板密碼" -UpdatePort : "修改面板端口" -UpdateUserNull : "錯誤:輸入面板用戶為空!" -UpdateUserBlank : "錯誤:輸入面板用戶中包含空格字符!" -UpdateUserFormat : "錯誤:輸入面板用戶錯誤!僅支持英文、中文、數字和_,長度3-30" -UpdateUserErr : "錯誤:面板用戶修改失敗,{{ .err }}" -UpdateSuccessful : "修改成功!" -UpdateUserResult : "面板用戶:{{ .name }}" -UpdatePasswordRead : "錯誤:面板密碼信息讀取錯誤,{{ .err }}" -UpdatePasswordNull : "錯誤:輸入面板密碼為空!" -UpdateUPasswordBlank : "錯誤:輸入面板密碼中包含空格字符!" -UpdatePasswordFormat : "錯誤:面板密碼僅支持字母、數字、特殊字符(!@#$%*_,.?),長度 8-30 位!" -UpdatePasswordLen : "錯誤:請輸入 6 位以上密碼!" -UpdatePasswordRe : "確認密碼:" -UpdatePasswordErr : "錯誤:面板密碼修改失敗,{{ .err }}" -UpdatePasswordSame : "錯誤:兩次密碼不匹配,請檢查後重試!" -UpdatePasswordResult : "面板密碼:{{ .name }}" -UpdatePortFormat : "錯誤:輸入的端口號必須在 1 到 65535 之間!" -UpdatePortUsed : "錯誤:該端口號正被佔用,請檢查後重試!" -UpdatePortErr : "錯誤:面板端口修改失敗,{{ .err }}" -UpdatePortResult : "面板端口:{{ .name }}" -UpdatePortFirewallAdd : "添加防火牆端口規則失敗,{{ .err }},請您手動將 {{ .name }} 端口添加至防火牆規則中。" -UpdatePortFirewallDel : "錯誤:防火牆端口刪除失敗,{{ .err }}" -UpdatePortFirewallReload : "防火牆重載失敗,{{ .err }},請您手動重載防火牆。" -UserInfo : "獲取面板信息" -UserInfoAddr : "面板地址:" -UserInfoPassHelp : "提示:修改密碼可執行命令:" -SystemVersion : "獲取系統版本信息" -DBConnErr : "錯誤:初始化資料庫連接失敗, {{ .err }}" \ No newline at end of file +AppVersion: "應用版本" +AppCommands: "應用相關命令" +AppInit: "初始化應用" +AppKeyVal: "應用的 key(僅支持英文)" +AppCreateFileErr: "文件 {{ .name }} 創建失敗 {{ .err }}" +AppCreateDirErr: "資料夾 {{ .name }} 創建失敗 {{ .err }}" +AppMissKey: "應用的 key 缺失,使用 -k 指定" +AppMissVersion: "應用版本缺失,使用 -v 指定" +AppVersionExist: "版本已存在!" +AppCreateSuccessful: "創建成功!" +AppWriteErr: "文件 {{ .name }} 寫入失敗 {{ .err }}" +SudoHelper: "請使用 {{ .cmd }} 或者切換到 root 用戶" +ListenIPCommands: "切換監聽 IP" +ListenIPv4: "監聽 IPv4" +ListenIPv6: "監聽 IPv6" +ListenChangeSuccessful: "切換成功!已切換至監聽 {{ .value }}" +ResetCommands: "重置系統信息" +ResetMFA: "取消 1Panel 兩步驗證" +ResetHttps: "取消 1Panel https 方式登錄" +ResetEntrance: "取消 1Panel 安全入口" +ResetIPs: "取消 1Panel 授權 IP 限制" +ResetDomain: "取消 1Panel 訪問域名綁定" +RestoreCommands: "回滾 1Panel 服務及數據" +RestoreNoSuchFile: "暫無可回滾文件" +RestoreStep1: "(1/5)開始從 {{ .name }} 目錄回滾 1Panel 服務及數據... " +RestoreStep2: "(2/5)1Panel 二進制回滾成功" +RestoreStep3: "(3/5)1Panel 腳本回滾成功" +RestoreStep4: "(4/5)1Panel 服務回滾成功" +RestoreStep5: "(5/5)1Panel 數據回滾成功" +RestoreSuccessful: "回滾成功!正在重啟服務,請稍候..." +UpdateCommands: "修改面板信息" +UpdateUser: "修改面板用戶" +UpdatePassword: "修改面板密碼" +UpdatePort: "修改面板端口" +UpdateUserNull: "錯誤:輸入面板用戶為空!" +UpdateUserBlank: "錯誤:輸入面板用戶中包含空格字符!" +UpdateUserFormat: "錯誤:輸入面板用戶錯誤!僅支持英文、中文、數字和_,長度3-30" +UpdateUserErr: "錯誤:面板用戶修改失敗,{{ .err }}" +UpdateSuccessful: "修改成功!" +UpdateUserResult: "面板用戶:{{ .name }}" +UpdatePasswordRead: "錯誤:面板密碼信息讀取錯誤,{{ .err }}" +UpdatePasswordNull: "錯誤:輸入面板密碼為空!" +UpdateUPasswordBlank: "錯誤:輸入面板密碼中包含空格字符!" +UpdatePasswordFormat: "錯誤:面板密碼僅支持字母、數字、特殊字符(!@#$%*_,.?),長度 8-30 位!" +UpdatePasswordLen: "錯誤:請輸入 6 位以上密碼!" +UpdatePasswordRe: "確認密碼:" +UpdatePasswordErr: "錯誤:面板密碼修改失敗,{{ .err }}" +UpdatePasswordSame: "錯誤:兩次密碼不匹配,請檢查後重試!" +UpdatePasswordResult: "面板密碼:{{ .name }}" +UpdatePortFormat: "錯誤:輸入的端口號必須在 1 到 65535 之間!" +UpdatePortUsed: "錯誤:該端口號正被佔用,請檢查後重試!" +UpdatePortErr: "錯誤:面板端口修改失敗,{{ .err }}" +UpdatePortResult: "面板端口:{{ .name }}" +UpdatePortFirewallAdd: "添加防火牆端口規則失敗,{{ .err }},請您手動將 {{ .name }} 端口添加至防火牆規則中。" +UpdatePortFirewallDel: "錯誤:防火牆端口刪除失敗,{{ .err }}" +UpdatePortFirewallReload: "防火牆重載失敗,{{ .err }},請您手動重載防火牆。" +UserInfo: "獲取面板信息" +UserInfoAddr: "面板地址:" +UserInfoPassHelp: "提示:修改密碼可執行命令:" +SystemVersion: "獲取系統版本信息" +DBConnErr: "錯誤:初始化資料庫連接失敗,{{ .err }}" diff --git a/backend/i18n/lang/zh.yaml b/backend/i18n/lang/zh.yaml index 61d0c39b1..7d152cbdc 100644 --- a/backend/i18n/lang/zh.yaml +++ b/backend/i18n/lang/zh.yaml @@ -87,7 +87,6 @@ ErrFavoriteExist: "已收藏此路径" ErrInvalidChar: "禁止使用非法字符" ErrPathNotDelete: "所选目录不可删除" - #website ErrDomainIsExist: "域名已存在" ErrAliasIsExist: "代号已存在" @@ -223,7 +222,7 @@ ErrAlertRemote: "告警信息远端错误,请检查后重试!" AppVersion: "应用版本" AppCommands: "应用相关命令" AppInit: "初始化应用" -AppKeyVal: "应用的key(仅支持英文)" +AppKeyVal: "应用的 key(仅支持英文)" AppCreateFileErr: "文件 {{ .name }} 创建失败 {{ .err }}" AppCreateDirErr: "文件夹 {{ .name }} 创建失败 {{ .err }}" AppMissKey: "应用的 key 缺失,使用 -k 指定" @@ -244,11 +243,11 @@ ResetIPs: "取消 1Panel 授权 IP 限制" ResetDomain: "取消 1Panel 访问域名绑定" RestoreCommands: "回滚 1Panel 服务及数据" RestoreNoSuchFile: "暂无可回滚文件" -RestoreStep1: "(0/4) 开始从 {{ .name }} 目录回滚 1Panel 服务及数据... " -RestoreStep2: "(1/4) 1panel 二进制回滚成功" -RestoreStep3: "(2/4) 1panel 脚本回滚成功" -RestoreStep4: "(3/4) 1panel 服务回滚成功" -RestoreStep5: "(4/4) 1panel 数据回滚成功" +RestoreStep1: "(1/5)开始从 {{ .name }} 目录回滚 1Panel 服务及数据... " +RestoreStep2: "(2/5)1Panel 二进制回滚成功" +RestoreStep3: "(3/5)1Panel 脚本回滚成功" +RestoreStep4: "(4/5)1Panel 服务回滚成功" +RestoreStep5: "(5/5)1Panel 数据回滚成功" RestoreSuccessful: "回滚成功!正在重启服务,请稍候..." UpdateCommands: "修改面板信息" UpdateUser: "修改面板用户" @@ -268,7 +267,7 @@ UpdatePasswordLen: "错误:请输入 6 位以上密码!" UpdatePasswordRe: "确认密码:" UpdatePasswordErr: "错误:面板密码修改失败,{{ .err }}" UpdatePasswordSame: "错误:两次密码不匹配,请检查后重试!" -UpdatePasswordResult: 面板密码:{{ .name }}" +UpdatePasswordResult: "面板密码:{{ .name }}" UpdatePortFormat: "错误:输入的端口号必须在 1 到 65535 之间!" UpdatePortUsed: "错误:该端口号正被占用,请检查后重试!" UpdatePortErr: "错误:面板端口修改失败,{{ .err }}" @@ -280,4 +279,4 @@ UserInfo: "获取面板信息" UserInfoAddr: "面板地址:" UserInfoPassHelp: "提示:修改密码可执行命令:" SystemVersion: "获取系统版本信息" -DBConnErr: "错误:初始化数据库连接失败, {{ .err }}" \ No newline at end of file +DBConnErr: "错误:初始化数据库连接失败,{{ .err }}"