feat: Improve system language translations

pull/7248/head
wanghe-fit2cloud 2024-12-03 15:31:27 +08:00
parent f294130746
commit 49b3b6ded5
3 changed files with 135 additions and 134 deletions

View File

@ -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!"
@ -242,11 +243,11 @@ 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"
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"

View File

@ -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: "許可證校驗失敗,請檢查後重試!"
@ -242,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/51Panel 二進制回滾成功"
RestoreStep3: "3/51Panel 腳本回滾成功"
RestoreStep4: "4/51Panel 服務回滾成功"
RestoreStep5: "5/51Panel 數據回滾成功"
RestoreSuccessful: "回滾成功!正在重啟服務,請稍候..."
UpdateCommands: "修改面板信息"
UpdateUser: "修改面板用戶"
@ -278,4 +279,4 @@ UserInfo : "獲取面板信息"
UserInfoAddr: "面板地址:"
UserInfoPassHelp: "提示:修改密碼可執行命令:"
SystemVersion: "獲取系統版本信息"
DBConnErr : "錯誤:初始化資料庫連接失敗, {{ .err }}"
DBConnErr: "錯誤:初始化資料庫連接失敗{{ .err }}"

View File

@ -87,7 +87,6 @@ ErrFavoriteExist: "已收藏此路径"
ErrInvalidChar: "禁止使用非法字符"
ErrPathNotDelete: "所选目录不可删除"
#website
ErrDomainIsExist: "域名已存在"
ErrAliasIsExist: "代号已存在"
@ -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/51Panel 二进制回滚成功"
RestoreStep3: "3/51Panel 脚本回滚成功"
RestoreStep4: "4/51Panel 服务回滚成功"
RestoreStep5: "5/51Panel 数据回滚成功"
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 }}"
DBConnErr: "错误:初始化数据库连接失败{{ .err }}"