From f656d57d204c5c472e4da67d858af483282e5a38 Mon Sep 17 00:00:00 2001 From: Ming Mak <63583791+ming019@users.noreply.github.com> Date: Thu, 7 May 2026 19:51:37 +0800 Subject: [PATCH] Translation: update Traditional Chinese (zh-HK) localization (#2603) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update Chinese (HK) translations for clarity and completion * Fix spacing * Update zh-HK.json Taking reference from zh_TW, making awg clearer * Remove duplicate 'search' entry in zh-HK.json * Fix translation typos in zh-HK locale Replaced "户" with "戶". --- src/i18n/locales/zh-HK.json | 77 ++++++++++++++++++++++++++++++++----- 1 file changed, 68 insertions(+), 9 deletions(-) diff --git a/src/i18n/locales/zh-HK.json b/src/i18n/locales/zh-HK.json index 41e7001b..b4263452 100644 --- a/src/i18n/locales/zh-HK.json +++ b/src/i18n/locales/zh-HK.json @@ -45,9 +45,9 @@ }, "setup": { "welcome": "歡迎首次設定wg-easy", - "welcomeDesc": "這是最簡單的方法讓你在任何Linux主機上安裝及管理WireGuard", + "welcomeDesc": "這是在任何Linux主機上安裝與管理WireGuard最簡單的方法。", "existingSetup": "你有現存設定嗎?", - "createAdminDesc": "請輸入管理員用戶名及一個高強度密碼。這些資料將用於登入管理員版面。", + "createAdminDesc": "請輸入管理員用戶名及高強度密碼。這些資料將用於登入管理員版面。", "setupConfigDesc": "請輸入主機及連接埠資料。這將用於客戶端設定,以便在他們的裝置上設定WireGuard。", "setupMigrationDesc": "如果你想將舊版wg-easy的資料轉移到新設定,請提供備份檔案。", "upload": "上傳", @@ -88,6 +88,7 @@ "name": "名稱", "expireDate": "有效期", "expireDateDesc": "客戶端將於此日期停用。留空則為永久有效", + "delete": "刪除", "deleteClient": "刪除客戶端", "deleteDialog1": "你確定要刪除", "deleteDialog2": "此操作無法還原。", @@ -114,21 +115,31 @@ "hooksDescription": "掛鉤僅適用於wg-quick", "hooksLeaveEmpty": "僅適用於wg-quick,否則請留空", "dnsDesc": "客戶端使用的域名系統伺服器(取代全局配置)", - "search": "搜尋客戶端..." + "notConnected": "客戶端尚未連接", + "endpoint": "端點", + "endpointDesc": "建立WireGuard連線的客戶端IP地址", + "search": "搜尋客戶端...", + "config": "配置", + "viewConfig": "檢視配置", + "firewallIps": "防火牆IP白名單", + "firewallIpsDesc": "此客戶端可存取的目的地IP/CIDR(伺服器端強制執行)。留空則使用「IP白名單」。支援選填的連接埠及協定過濾,語法請參閱說明文件。", + "downloadPng": "正在下載PNG", + "copyPng": "複製PNG" }, "dialog": { "change": "更改", "cancel": "取消", - "create": "創建" + "create": "建立" }, "toast": { "success": "成功", - "saved": "已保存", - "error": "錯誤" + "saved": "已儲存", + "error": "錯誤", + "unknown": "未知錯誤。詳情請參閱主控台。" }, "form": { "actions": "操作", - "save": "保存", + "save": "儲存", "revert": "重置", "sectionGeneral": "一般設定", "sectionAdvanced": "進階", @@ -169,7 +180,10 @@ "restart": "重啟介面", "restartDesc": "重啟WireGuard介面", "restartWarn": "你確定要重新啟動介面嗎?這將中斷所有客戶端連線。", - "restartSuccess": "介面已重啟" + "restartSuccess": "介面已重啟", + "firewall": "流量過濾", + "firewallEnabled": "啟用獨立客戶端防火牆", + "firewallEnabledDesc": "使用iptables以限制客戶端流量至特定的目的地IP。啟用後,即可為每個客戶端單獨設定允許目的地。" }, "introText": "歡迎來到管理員版面。\n\n你可以在側邊欄中管理一般、配置、介面和掛鉤設定。" }, @@ -177,6 +191,7 @@ "generic": { "required": "{0}為必填項", "validNumber": "{0}必須是有效的數字", + "validNumberRange": "{0}必須是有效的數字或數字範圍", "validString": "{0}必須是有效的字串", "validBoolean": "{0}必須是有效的布林值", "validArray": "{0}必須是有效的陣列", @@ -189,7 +204,9 @@ "expiresAt": "到期於", "address4": "IPv4地址", "address6": "IPv6地址", - "serverAllowedIps": "伺服器IP白名單" + "serverAllowedIps": "伺服器IP白名單", + "firewallIps": "防火牆IP白名單", + "firewallIpsInvalid": "防火牆IP輸入格式無效。請參閱說明文件以查看支援語法。" }, "user": { "username": "用戶名", @@ -234,5 +251,47 @@ "postUp": "PostUp", "preDown": "PreDown", "postDown": "PostDown" + }, + "copy": { + "notSupported": "不支援複製", + "copied": "已複製!", + "failed": "複製失敗", + "copy": "複製" + }, + "awg": { + "jCLabel": "填充封包數量 (Jc)", + "jCDescription": "要傳送的填充封包數量 (1-128,建議: 4-12)", + "jMinLabel": "填充封包最小大小 (Jmin)", + "jMinDescription": "填充封包的最小大小 (0-1279*,建議: 8,必須Jmin)", + "s1Label": "初始封包填充大小 (S1)", + "s1Description": "初始封包填充大小 (0-1132 [1280* - 148 = 1132],建議: 15-150,S1+56 ≠ S2)", + "s2Label": "回應封包填充大小 (S2)", + "s2Description": "回應封包填充大小 (0-1188 [1280* - 92 = 1188],建議: 15-150)", + "s3Label": "Cookie 回覆封包填充大小 (S3)", + "s3Description": "Cookie 回覆封包填充大小", + "s4Label": "傳輸封包填充大小 (S4)", + "s4Description": "傳輸封包填充大小", + "h1Label": "初始特徵標頭 (H1)", + "h1Description": "初始封包標頭值 (5-2147483647,必須與 H2-H4 不同)", + "h2Label": "回應特徵標頭 (H2)", + "h2Description": "回應封包標頭值 (5-2147483647,必須與 H1、H3、H4 不同)", + "h3Label": "Cookie 回覆特徵標頭 (H3)", + "h3Description": "Cookie 回覆封包標頭值 (5-2147483647,必須與 H1、H2、H4 不同)", + "h4Label": "傳輸特徵標頭 (H4)", + "h4Description": "傳輸封包標頭值 (5-2147483647,必須與 H1-H3 不同)", + "i1Label": "特殊填充封包 1 (I1)", + "i1Description": "協定模仿封包 (16 進位格式): ", + "i2Label": "特殊填充封包 2 (I2)", + "i2Description": "協定模仿封包 (16 進位格式): ", + "i3Label": "特殊填充封包 3 (I3)", + "i3Description": "協定模仿封包 (16 進位格式): ", + "i4Label": "特殊填充封包 4 (I4)", + "i4Description": "協定模仿封包 (16 進位格式): ", + "i5Label": "特殊填充封包 5 (I5)", + "i5Description": "協定模仿封包 (16 進位格式): ", + "mtuNote": "數值取決於 MTU", + "obfuscationParameters": "AmneziaWG 混淆參數" } }