From 4ade175a3de36e401af5451459282bc4598b7148 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Mon, 18 Nov 2024 10:30:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=9F=E4=B8=80=20xpack=20=E5=A4=B1?= =?UTF-8?q?=E8=81=94=E6=8E=A5=E5=8F=A3=E8=BF=94=E5=9B=9E=E5=86=85=E5=AE=B9?= =?UTF-8?q?=20(#7106)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/constant/errs.go | 1 + backend/i18n/lang/en.yaml | 1 + backend/i18n/lang/zh-Hant.yaml | 1 + backend/i18n/lang/zh.yaml | 1 + 4 files changed, 4 insertions(+) diff --git a/backend/constant/errs.go b/backend/constant/errs.go index 313b8dab2..c1b3dfff5 100644 --- a/backend/constant/errs.go +++ b/backend/constant/errs.go @@ -46,6 +46,7 @@ var ( ErrCmdIllegal = "ErrCmdIllegal" ErrXpackNotFound = "ErrXpackNotFound" ErrXpackNotActive = "ErrXpackNotActive" + ErrXpackLost = "ErrXpackLost" ErrXpackOutOfDate = "ErrXpackOutOfDate" ) diff --git a/backend/i18n/lang/en.yaml b/backend/i18n/lang/en.yaml index 5765d271f..a42d95f17 100644 --- a/backend/i18n/lang/en.yaml +++ b/backend/i18n/lang/en.yaml @@ -201,6 +201,7 @@ ErrLicenseSync: "Failed to sync license information, no license information dete ErrXpackNotFound: "This section is a professional edition feature, please import the license first in Panel Settings-License interface" ErrXpackNotActive: "This section is a professional edition feature, please synchronize the license status first in Panel Settings-License interface" ErrXpackOutOfDate: "The current license has expired, please re-import the license in Panel Settings-License interface" +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!" diff --git a/backend/i18n/lang/zh-Hant.yaml b/backend/i18n/lang/zh-Hant.yaml index 3bf8c4912..a802f230b 100644 --- a/backend/i18n/lang/zh-Hant.yaml +++ b/backend/i18n/lang/zh-Hant.yaml @@ -202,6 +202,7 @@ ErrLicenseSync: "許可證信息同步失敗,資料庫中未檢測到許可證 ErrXpackNotFound: "該部分為專業版功能,請先在 面板設置-許可證 界面導入許可證" ErrXpackNotActive: "該部分為專業版功能,請先在 面板設置-許可證 界面同步許可證狀態" ErrXpackOutOfDate: "當前許可證已過期,請重新在 面板設置-許可證 界面導入許可證" +ErrXpackLost: "許可證已達到最大重試次數,請進入【面板設定】【許可證】頁面手動點擊同步按鈕,以確保專業版功能正常使用" ErrXpackTimeout: "請求超時,網絡連接可能不穩定,請稍後再試!" #license diff --git a/backend/i18n/lang/zh.yaml b/backend/i18n/lang/zh.yaml index a1174da53..ab7ba9a7d 100644 --- a/backend/i18n/lang/zh.yaml +++ b/backend/i18n/lang/zh.yaml @@ -204,6 +204,7 @@ ErrLicenseSync: "许可证信息同步失败,数据库中未检测到许可证 ErrXpackNotFound: "该部分为专业版功能,请先在 面板设置-许可证 界面导入许可证" ErrXpackNotActive: "该部分为专业版功能,请先在 面板设置-许可证 界面同步许可证状态" ErrXpackOutOfDate: "当前许可证已过期,请重新在 面板设置-许可证 界面导入许可证" +ErrXpackLost: "许可证已达到最大重试次数,请进入【面板设置】【许可证】页面手动点击同步按钮,以确保专业版功能正常使用" ErrXpackTimeout: "请求超时,网络连接可能不稳定,请稍后再试!" #license