From 239bc144e32b64fe4719cf929343996071129f0f Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Fri, 15 Nov 2024 12:00:31 +0800 Subject: [PATCH] Fixed both Chinese translation --- src/static/locale/zh-cn.json | 2 +- src/static/locale/zh-hk.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/static/locale/zh-cn.json b/src/static/locale/zh-cn.json index 9966d5b..d07a2d7 100644 --- a/src/static/locale/zh-cn.json +++ b/src/static/locale/zh-cn.json @@ -298,7 +298,7 @@ "Are you sure to delete": "您确定要删除", "Are you sure to delete this peer\\?": "您确定要删除此端点吗?", "Configuration deleted": "配置删除成功", - "Configuration saved": "", + "Configuration saved": "配置保存成功", "WGDashboard language update failed": "WGDashboard 语言更新失败", "Configuration restored": "配置恢复成功", "Allowed IP already taken by another peer": "允许的 IP 地址已经被别的端点占用", diff --git a/src/static/locale/zh-hk.json b/src/static/locale/zh-hk.json index e71edc5..0b6ae94 100644 --- a/src/static/locale/zh-hk.json +++ b/src/static/locale/zh-hk.json @@ -298,7 +298,7 @@ "Are you sure to delete": "您確定要刪除", "Are you sure to delete this peer\\?": "您確定要刪除此端點嗎?", "Configuration deleted": "配置刪除成功", - "Configuration saved": "", + "Configuration saved": "配置保存成功", "WGDashboard language update failed": "WGDashboard 語言更新失敗", "Configuration restored": "配置恢復成功", "Allowed IP already taken by another peer": "允許的 IP 地址已經被別的端點佔用", @@ -309,4 +309,5 @@ "Deleted ([0-9]{1,}) peer\\(s\\) successfully. Failed to delete ([0-9]{1,}) peer\\(s\\)": "成功刪除了$1個端點,失敗刪除了$2個端點", "Restricted ([0-9]{1,}) peer\\(s\\)": "限制訪問了$1個端點", "Restricted ([0-9]{1,}) peer\\(s\\) successfully. Failed to restrict ([0-9]{1,}) peer\\(s\\)": "成功限制訪問了$1個端點,失敗限制訪問了$2個端點" + } \ No newline at end of file