From b0cc1248f02d519ba2fce18f4def9c77390a65cb Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Wed, 27 Mar 2024 11:24:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=20xpack=20=E7=9A=84?= =?UTF-8?q?=E7=BF=BB=E8=AF=91=20(#4322)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/modules/en.ts | 195 ++------------------------------ frontend/src/lang/modules/tw.ts | 182 +---------------------------- frontend/src/lang/modules/zh.ts | 185 ++---------------------------- 3 files changed, 20 insertions(+), 542 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index fc6eb8a2a..dce9e3d58 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -1,4 +1,10 @@ import fit2cloudEnLocale from 'fit2cloud-ui-plus/src/locale/lang/en'; +let xpackEnLocale = {}; +try { + const commercialTranslationModule = await import('@/xpack/lang/en'); + xpackEnLocale = commercialTranslationModule.default || {}; +} catch (error) {} + const message = { commons: { true: 'true', @@ -2181,197 +2187,10 @@ const message = { manage: 'Management', }, }, - xpack: { - name: 'Professional', - waf: { - name: 'WAF', - blackWhite: 'black and white list', - globalSetting: 'Global Setting', - websiteSetting: 'Website Settings', - blockRecords: 'Block records', - world: 'world', - china: 'China', - intercept: 'interception', - request: 'request', - count4xx: '4xx quantity', - count5xx: '5xx quantity', - todayStatus: 'Today Status', - reqMap: 'Attack map (30 days)', - resource: 'source', - count: 'Quantity', - hight: 'high', - low: 'low', - reqCount: 'Number of requests', - interceptCount: 'Interception number', - requestTrends: 'Request Trends (7 days)', - interceptTrends: 'Intercept Trends (7 days)', - whiteList: 'whitelist', - blackList: 'blacklist', - ipBlackListHelper: 'IPs in the blacklist cannot access the website', - ipWhiteListHelper: 'IPs in the whitelist are not restricted by any rules', - uaBlackListHelper: 'Requests carrying User-Agent in the blacklist will be intercepted', - uaWhiteListHelper: 'Requests carrying User-Agent in the whitelist are not restricted by any rules', - urlBlackListHelper: 'Requests for URLs in the blacklist will be intercepted', - urlWhiteListHelper: 'Requests for URLs in the whitelist are not restricted by any rules', - ccHelper: - 'If any website has been requested more than {1} times in {0} seconds, this IP will be blocked for {2} seconds', - blockTime: 'Block time', - attackHelper: - 'The cumulative interception exceeds {1} times within {0} seconds, block this IP for {2} seconds', - notFoundHelper: - 'The cumulative request returned 404 more than {1} times within {0} seconds, block this IP for {2} seconds', - frequencyLimit: 'frequency limit', - regionLimit: 'region limit', - defaultRule: 'Default rule', - accessFrequencyLmit: 'Access frequency limit', - attackLimit: 'Attack frequency limit', - notFoundLimit: '404 frequency limit', - urlLimit: 'URL frequency limit', - urlLimitHelper: 'Set access frequency for a single URL', - sqliDefense: 'SQL injection defense', - sqliHelper: 'Identify SQL injection in requests and intercept', - xssHelper: 'Identify XSS in the request and intercept it', - xssDefense: 'XSS Defense', - uaDefense: 'Malicious User-Agent Rule', - uaHelper: 'Contains common malicious crawler rules', - argsDefense: 'Malicious parameter rules', - argsHelper: 'Prohibit malicious parameters in requests', - cookieDefense: 'Malicious Cookie Rule', - cookieHelper: 'Prohibit malicious cookies from being carried in requests', - headerDefense: 'Malicious Header Rule', - headerHelper: 'Prohibit requests from containing malicious headers', - httpRule: 'HTTP request method rules', - httpHelper: 'Restrict the request method type of the website', - geoRule: 'Regional access restrictions', - geoHelper: 'Restrict access to your website from certain regions', - ipLocation: 'IP home location', - action: 'action', - ruleType: 'attack type', - ipHelper: 'Please enter IP', - attackLog: 'Attack Log', - rule: 'Rule', - ipArr: 'IPV4 range', - ipStart: 'Start IP', - ipEnd: 'End IP', - ipv4: 'IPV4', - ipv6: 'IPV6', - urlDefense: 'URL rules', - urlHelper: 'Forbidden URL', - dirFilter: 'Directory filter', - sqlInject: 'SQL injection', - xss: 'XSS', - phpExec: 'PHP script execution', - oneWordTrojan: 'One word Trojan', - appFilter: 'Apply dangerous directory filtering', - webshell: 'Webshell', - args: 'Malicious parameters', - protocolFilter: 'Protocol filter', - javaFileter: 'Java Dangerous File Filtering', - scannerFilter: 'Scanner filter', - escapeFilter: 'escape filter', - customRule: 'custom rule', - httpMethod: 'HTTP method filter', - fileExt: 'File upload limit', - fileExtHelper: 'File extensions that are prohibited from uploading', - deny: 'forbidden', - allow: 'only allow', - field: 'match object', - pattern: 'matching condition', - ruleContent: 'match content', - contain: 'include', - equal: 'equal', - regex: 'regular expression', - notEqual: 'Not equal to', - customRuleHelper: 'Perform corresponding actions based on condition matching', - actionAllow: 'Allow', - blockIP: 'Block IP', - code: 'return status code', - noRes: 'Disconnect 444', - badReq: 'Parameter error 400', - forbidden: 'Access Forbidden 403', - serverErr: 'Server error 500', - resHtml: 'Response page', - allowHelper: 'Allowing access will skip subsequent WAF rules, please use with caution', - captcha: 'human-machine verification', - fiveSeconds: '5 seconds verification', - location: 'Region', - redisConfig: 'Redis configuration', - redisHelper: 'Enable Redis to persist temporarily blocked IPs', - wafHelper: 'All websites will lose protection after closing', - attackIP: 'Attack IP', - attackParam: 'Attack information', - execRule: 'Hit rule', - acl: 'ACL', - sql: 'SQL injection', - cc: 'CC attack', - isBlocking: 'Blocking', - isFree: 'Unblocked', - unLock: 'Unlock', - unLockHelper: 'Do you want to unblock IP: {0}?', - saveDefault: 'Save default', - saveToWebsite: 'Apply to website', - saveToWebsiteHelper: 'Apply current settings to all websites? ', - websiteHelper: - 'Here are the default settings for creating a website. Modifications need to be applied to the website to take effect', - websiteHelper2: - 'Here are the default settings for creating a website. Please modify the specific configuration at the website', - ipGroup: 'IP group', - ipGroupHelper: - 'One IP or IP segment per line, supports IPv4 and IPv6, for example: 192.168.1.1 or 192.168.1.0/24', - }, - monitor: { - name: 'Website Monitor', - }, - tamper: { - tamper: 'Tamper', - tamperHelper1: - 'For one-click deployment type websites, it is recommended to enable the application directory anti-tamper function; if the website cannot be used normally or backup and restore fail, please disable the anti-tamper function first;', - tamperHelper2: - 'It will restrict the read, write, delete, permission, and owner modification operations of protected files under non-excluded directories', - op: 'Operation', - create: 'Create', - file: 'File', - tamperPath: 'Protection Directory', - tamperPathEdit: 'Modify Path', - log: 'Intercept Logs', - totalProtect: 'Total Protection', - todayProtect: 'Today’s Protection', - addRule: 'Add Rule', - ignore: 'Exclude Directory', - ignoreHelper: 'One per line, e.g., \ntmp\n./tmp', - ignoreHelper1: 'Add folder names or specific paths to ignore', - ignoreHelper2: 'To ignore specific folders, use relative paths starting with ./', - protect: 'Protect', - protectHelper: 'One per line, e.g., \npng\n./test.css', - protectHelper1: 'Specify file names, suffixes, or specific files for protection', - protectHelper2: 'To protect specific files, use relative paths starting with ./', - enableHelper: - 'The anti-tampering function of website {0} is about to be enabled to enhance website security. Do you want to continue?', - disableHelper: - 'The anti-tampering function of website {0} is about to be disabled. Do you want to continue?', - }, - setting: { - setting: 'Interface Settings', - title: 'Panel Description', - titleHelper: - 'Will be displayed on the user login page (e.g., Linux Server Operation and Maintenance Management Panel)', - logo: 'Logo', - logoHelper: - 'Will be displayed on the top left of the management page when the menu is collapsed (recommended image size: 82px*82px)', - logoWithText: 'Logo (with text)', - logoWithTextHelper: - 'Will be displayed on the top left of the management page when the menu is expanded (recommended image size: 185px*55px)', - favicon: 'Website Icon', - faviconHelper: 'Website icon (recommended image size: 16px*16px)', - reUpload: 'Re-upload', - supportType: 'Only jpg/png/jpeg files are allowed!', - setDefault: 'Restore Default', - reset: 'Reset', - }, - }, }; export default { ...fit2cloudEnLocale, ...message, + ...xpackEnLocale, }; diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index adfa6b2e1..3a4c8f6f8 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -1,4 +1,9 @@ import fit2cloudTwLocale from 'fit2cloud-ui-plus/src/locale/lang/zh-cn'; +let xpackTwLocale = {}; +try { + const commercialTranslationModule = await import('@/xpack/lang/tw'); + xpackTwLocale = commercialTranslationModule.default || {}; +} catch (error) {} const message = { commons: { true: '是', @@ -2036,184 +2041,9 @@ const message = { manage: '管理', }, }, - xpack: { - name: '專業版', - waf: { - name: 'WAF', - blackWhite: '黑白名單', - globalSetting: '全域設定', - websiteSetting: '網站設定', - blockRecords: '封鎖記錄', - world: '世界', - china: '中國', - intercept: '攔截', - request: '請求', - count4xx: '4xx 數量', - count5xx: '5xx 數量', - todayStatus: '今日狀態', - reqMap: '攔截地圖(30日)', - resource: '來源', - count: '數量', - hight: '高', - low: '低', - reqCount: '請求數', - interceptCount: '攔截數', - requestTrends: '請求趨勢(7天)', - interceptTrends: '攔截趨勢(7天)', - whiteList: '白名單', - blackList: '黑名單', - ipBlackListHelper: '黑名單中的 IP 無法存取網站', - ipWhiteListHelper: '白名單中的 IP 不受任何規則限制', - uaBlackListHelper: '攜帶黑名單中的 User-Agent 的請求將被攔截', - uaWhiteListHelper: '攜帶白名單中的 User-Agent 的請求不受任何規則限制', - urlBlackListHelper: '請求黑名單中的 URL 將被攔截', - urlWhiteListHelper: '請求白名單中的 URL 請求不受任何規則限制', - ccHelper: '{0} 秒內累積請求任意網站超過 {1} 次,封鎖此 IP {2} 秒', - blockTime: '封鎖時間', - attackHelper: '{0} 秒內累計攔截超過 {1} 次,封鎖此 IP {2} 秒', - notFoundHelper: '{0} 秒內累計請求回傳 404 超過 {1} 次,封鎖此 IP {2} 秒', - frequencyLimit: '頻率限制', - regionLimit: '地區限制', - defaultRule: '預設規則', - accessFrequencyLmit: '存取頻率限制', - attackLimit: '攻擊頻率限制', - notFoundLimit: '404 頻率限制', - urlLimit: 'URL 頻率限制', - urlLimitHelper: '為單一 URL 設定存取頻率', - sqliDefense: 'SQL 注入防禦', - sqliHelper: '辨識請求中的 SQL 注入並攔截', - xssHelper: '辨識請求中的 XSS 並攔截', - xssDefense: 'XSS 防禦', - uaDefense: '惡意 User-Agent 規則', - uaHelper: '包含常見的惡意爬蟲規則', - argsDefense: '惡意參數規則', - argsHelper: '在禁止請求中攜帶惡意參數', - cookieDefense: '惡意 Cookie 規則', - cookieHelper: '禁止請求中攜帶惡意 Cookie', - headerDefense: '惡意 Header 規則', - headerHelper: '禁止請求中攜帶惡意 Header', - httpRule: 'HTTP 請求方法規則', - httpHelper: '限制網站的請求方法類型', - geoRule: '地區存取限制', - geoHelper: '限制某些地區造訪你的網站', - ipLocation: 'IP 歸屬地', - action: '動作', - ruleType: '攻擊類型', - ipHelper: '請輸入 IP', - attackLog: '攻擊日誌', - rule: '規則', - ipArr: 'IPV4 範圍', - ipStart: '起始 IP', - ipEnd: '結束 IP', - ipv4: 'IPV4', - ipv6: 'IPV6', - urlDefense: 'URL 規則', - urlHelper: '禁止存取的 URL', - dirFilter: '目錄過濾', - sqlInject: 'SQL 注入', - xss: 'XSS', - phpExec: 'PHP 腳本執行', - oneWordTrojan: '一句話木馬', - appFilter: '套用危險目錄過濾', - webshell: 'Webshell', - args: '惡意參數', - protocolFilter: '協議過濾', - javaFileter: 'Java 危險檔案過濾', - scannerFilter: '掃描器過濾', - escapeFilter: '轉義過濾', - customRule: '自訂規則', - httpMethod: 'HTTP 方法過濾', - fileExt: '檔案上傳限制', - fileExtHelper: '禁止上傳的檔案副檔名', - deny: '禁止', - allow: '只允許', - field: '匹配對象', - pattern: '符合條件', - ruleContent: '符合內容', - contain: '包含', - equal: '等於', - regex: '正規表示式', - notEqual: '不等於', - customRuleHelper: '根據條件匹配執行對應動作', - actionAllow: '允許', - blockIP: '封鎖 IP', - code: '返回狀態碼', - noRes: '斷開連線 444', - badReq: '參數錯誤 400', - forbidden: '禁止訪問 403', - serverErr: '伺服器錯誤 500', - resHtml: '回應頁面', - allowHelper: '允許訪問會跳過後續的 WAF 規則,請謹慎使用', - captcha: '人機驗證', - fiveSeconds: '5 秒驗證', - location: '地區', - redisConfig: 'Redis 配置', - redisHelper: '開啟 Redis 可以將暫時拉黑的 IP 持久化', - wafHelper: '關閉之後所有網站將失去防護', - attackIP: '攻擊 IP', - attackParam: '攻擊訊息', - execRule: '命中規則', - acl: 'ACL', - sql: 'SQL 注入', - cc: 'CC 攻擊', - isBlocking: '封鎖中', - isFree: '已解封', - unLock: '解封', - unLockHelper: '是否解封 IP:{0}?', - saveDefault: '儲存預設', - saveToWebsite: '應用在網站', - saveToWebsiteHelper: '是否將目前設定套用到所有網站? ', - websiteHelper: '此處為創建網站的默認設置,修改之後需要應用到網站才能生效', - websiteHelper2: '此處為創建網站的默認設置,具體配置請在網站處修改', - ipGroup: 'IP 組', - ipGroupHelper: '一行一個 IP 或 IP 段,支援 IPv4 和 IPv6, 例如:192.168.1.1 或 192.168.1.0/24', - }, - monitor: { - name: '網站監控', - }, - tamper: { - tamper: '防篡改', - tamperHelper1: - '一鍵部署類型的網站,建議啟用應用目錄防篡改功能;如出現網站無法正常使用或備份、恢復失敗的情況,請先關閉防篡改功能;', - tamperHelper2: '將限制非排除目錄下受保護文件的讀寫、刪除、權限和所有者修改操作', - op: '操作', - create: '創建', - file: '文件', - tamperPath: '防護目錄', - tamperPathEdit: '修改路徑', - log: '攔截日誌', - totalProtect: '總防護', - todayProtect: '今日防護', - addRule: '添加規則', - ignore: '排除目錄', - ignoreHelper: '一行一個,例: \ntmp\n./tmp', - ignoreHelper1: '添加要忽略的文件夾名或特定路徑', - ignoreHelper2: '要忽略特定文件夾,請使用以 ./ 開頭的相對路徑', - protect: '保護', - protectHelper: '一行一個,例: \npng\n./test.css', - protectHelper1: '可指定文件名、後綴名或特定文件進行保護', - protectHelper2: '要保護特定文件,請使用以 ./ 開頭的相對路徑', - enableHelper: '即將啟用 {0} 網站的防窜改功能,以提升網站安全性,是否繼續?', - disableHelper: '即將關閉 {0} 網站的防窜改功能,是否繼續?', - }, - setting: { - setting: '界面設置', - title: '面板描述', - titleHelper: '將會顯示在使用者登錄頁面 (例: Linux 伺服器運維管理面板)', - logo: 'Logo', - logoHelper: '將會顯示在菜單收縮時管理頁面左上方 (建議圖片大小為: 82px*82px)', - logoWithText: 'Logo (帶文字)', - logoWithTextHelper: '將會顯示在菜單展開時管理頁面左上方 (建議圖片大小為: 185px*55px)', - favicon: '網站圖標', - faviconHelper: '網站圖標 (建議圖片大小為: 16px*16px)', - reUpload: '重新上傳', - supportType: '只能上傳 jpg/png/jpeg 檔案!', - setDefault: '恢復默認', - reset: '重置', - }, - }, }; export default { ...fit2cloudTwLocale, ...message, + ...xpackTwLocale, }; diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index d7b2ce7bf..615e1475d 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -1,4 +1,10 @@ import fit2cloudZhLocale from 'fit2cloud-ui-plus/src/locale/lang/zh-cn'; +let xpackZhLocale = {}; +try { + const commercialTranslationModule = await import('@/xpack/lang/zh'); + xpackZhLocale = commercialTranslationModule.default || {}; +} catch (error) {} + const message = { commons: { true: '是', @@ -2040,186 +2046,9 @@ const message = { manage: '管理', }, }, - xpack: { - name: '专业版', - menu: '高级功能', - waf: { - name: 'WAF', - blackWhite: '黑白名单', - globalSetting: '全局设置', - websiteSetting: '网站设置', - blockRecords: '封锁记录', - world: '世界', - china: '中国', - intercept: '拦截', - request: '请求', - count4xx: '4xx 数量', - count5xx: '5xx 数量', - todayStatus: '今日状态', - reqMap: '拦截地图(30日)', - resource: '来源', - count: '数量', - hight: '高', - low: '低', - reqCount: '请求数', - interceptCount: '拦截数', - requestTrends: '请求趋势(7日)', - interceptTrends: '拦截趋势(7日)', - whiteList: '白名单', - blackList: '黑名单', - ipBlackListHelper: '黑名单中的 IP 无法访问网站', - ipWhiteListHelper: '白名单中的 IP 不受任何规则限制', - uaBlackListHelper: '携带黑名单中的 User-Agent 的请求将被拦截', - uaWhiteListHelper: '携带白名单中的 User-Agent 的请求不受任何规则限制', - urlBlackListHelper: '请求黑名单中的 URL 将被拦截', - urlWhiteListHelper: '请求白名单中的 URL 请求不受任何规则限制', - ccHelper: '{0} 秒内累计请求任意网站超过 {1} 次,封锁此 IP {2} 秒', - blockTime: '封禁时间', - attackHelper: '{0} 秒内累计拦截超过 {1} 次,封锁此 IP {2} 秒', - notFoundHelper: '{0} 秒内累计请求返回 404 超过 {1} 次,封锁此 IP {2} 秒', - frequencyLimit: '频率限制', - regionLimit: '地区限制', - defaultRule: '默认规则', - accessFrequencyLmit: '访问频率限制', - attackLimit: '攻击频率限制', - notFoundLimit: '404 频率限制', - urlLimit: 'URL 频率限制', - urlLimitHelper: '为单个 URL 设置访问频率', - sqliDefense: 'SQL 注入防御', - sqliHelper: '识别请求中的 SQL 注入并拦截', - xssHelper: '识别请求中的 XSS 并拦截', - xssDefense: 'XSS 防御', - uaDefense: 'User-Agent 规则', - uaHelper: '包含常见的恶意爬虫规则', - argsDefense: '参数规则', - argsHelper: '禁止请求中携带恶意参数', - cookieDefense: 'Cookie 规则', - cookieHelper: '禁止请求中携带恶意 Cookie', - headerDefense: 'Header 规则', - headerHelper: '禁止请求中携带恶意 Header', - httpRule: 'HTTP 规则', - httpHelper: '限制网站的请求方法类型', - geoRule: '地区访问限制', - geoHelper: '限制某些地区访问你的网站', - ipLocation: 'IP 归属地', - action: '动作', - ruleType: '攻击类型', - ipHelper: '请输入 IP', - attackLog: '攻击日志', - rule: '规则', - ipArr: 'IPV4 范围', - ipStart: '起始 IP', - ipEnd: '结束 IP', - ipv4: 'IPV4', - ipv6: 'IPV6', - urlDefense: 'URL 规则', - urlHelper: '禁止访问的 URL', - dirFilter: '目录过滤', - sqlInject: 'SQL 注入', - xss: 'XSS', - phpExec: 'PHP 脚本执行', - oneWordTrojan: '一句话木马', - appFilter: '应用危险目录过滤', - webshell: 'Webshell', - args: '恶意参数', - protocolFilter: '协议过滤', - javaFileter: 'Java 危险文件过滤', - scannerFilter: '扫描器过滤', - escapeFilter: '转义过滤', - customRule: '自定义规则', - httpMethod: 'HTTP 方法过滤', - fileExt: '文件上传限制', - fileExtHelper: '禁止上传的文件扩展名', - deny: '禁止', - allow: '仅允许', - field: '匹配对象', - pattern: '匹配条件', - ruleContent: '匹配内容', - contain: '包含', - equal: '等于', - regex: '正则表达式', - notEqual: '不等于', - customRuleHelper: '根据条件匹配执行相应动作', - actionAllow: '允许', - blockIP: '封禁 IP', - code: '返回状态码', - noRes: '断开连接 444', - badReq: '参数错误 400', - forbidden: '禁止访问 403', - serverErr: '服务器错误 500', - resHtml: '响应页面', - allowHelper: '允许访问会跳过后续的 WAF 规则,请谨慎使用', - captcha: '人机验证', - fiveSeconds: '5 秒验证', - location: '地区', - redisConfig: 'Redis 配置', - redisHelper: '开启 Redis 可以将临时拉黑的 IP 持久化', - wafHelper: '关闭之后所有网站将失去防护', - attackIP: '攻击 IP', - attackParam: '攻击信息', - execRule: '命中规则', - acl: 'ACL', - sql: 'SQL 注入', - cc: 'CC 攻击', - isBlocking: '封禁中', - isFree: '已解封', - unLock: '解封', - unLockHelper: '是否解封 IP:{0}?', - saveDefault: '保存默认', - saveToWebsite: '应用到网站', - saveToWebsiteHelper: '是否将当前设置应用到所有网站?', - websiteHelper: '此处为创建网站的默认设置,修改之后需要应用到网站才能生效', - websiteHelper2: '此处为创建网站的默认设置,具体配置请在网站处修改', - ipGroup: 'IP 组', - ipGroupHelper: '一行一个 IP 或者 IP 段,支持 IPv4 和 IPv6, 例如:192.168.1.1 或 192.168.1.0/24', - }, - monitor: { - name: '网站监控', - }, - tamper: { - tamper: '防篡改', - tamperHelper1: - '一键部署类型的网站,建议启用应用目录防篡改功能;如出现网站无法正常使用或备份、恢复失败的情况,请先关闭防篡改功能;', - tamperHelper2: '将限制非排除目录下受保护文件的读写、删除、权限和所有者修改操作', - op: '操作', - create: '创建', - file: '文件', - tamperPath: '防护目录', - tamperPathEdit: '修改路径', - log: '拦截日志', - totalProtect: '总防护', - todayProtect: '今日防护', - addRule: '添加规则', - ignore: '排除目录', - ignoreHelper: '一行一个,例: \ntmp\n./tmp', - ignoreHelper1: '添加要忽略的文件夹名或特定路径', - ignoreHelper2: '要忽略特定文件夹,请使用以 ./ 开头的相对路径', - protect: '保护', - protectHelper: '一行一个,例: \npng\n./test.css', - protectHelper1: '可指定文件名、后缀名或特定文件进行保护', - protectHelper2: '要保护特定文件,请使用以 ./ 开头的相对路径', - enableHelper: '即将启用 {0} 网站的防窜改功能,以提升网站安全性,是否继续?', - disableHelper: '即将关闭 {0} 网站的防窜改功能,是否继续?', - }, - setting: { - setting: '界面设置', - title: '面板描述', - titleHelper: '将会显示在用户登录页面 (例: Linux 服务器运维管理面板)', - logo: 'Logo', - logoHelper: '将会显示在菜单收缩时管理页面左上方 (建议图片大小为: 82px*82px,最大支持 15KB )', - logoWithText: 'Logo (带文字)', - logoWithTextHelper: '将会显示在菜单展开时管理页面左上方 (建议图片大小为: 185px*55px,最大支持 30KB )', - favicon: '网站图标', - faviconHelper: '网站图标 (建议图片大小为: 16px*16px,最大支持 8KB )', - reUpload: '重新上传', - supportType: '只能上传 jpg/png/jpeg 文件!', - supportSize: '只能上传小于 {0}KB 的文件!', - setDefault: '恢复默认', - reset: '重置', - }, - }, }; export default { ...fit2cloudZhLocale, ...message, + ...xpackZhLocale, };