From 8462438396af7fea9c3aaecf725ebf942c7319d2 Mon Sep 17 00:00:00 2001 From: Vincent Li Date: Wed, 9 Jul 2025 00:08:27 +0000 Subject: [PATCH] langs: add wireguard endpoint translation add endpoint translation for wireguard so not to mix with others. Signed-off-by: Vincent Li --- html/cgi-bin/wireguard.cgi | 6 +++--- langs/en/cgi-bin/en.pl | 1 + langs/zh/cgi-bin/zh.pl | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/html/cgi-bin/wireguard.cgi b/html/cgi-bin/wireguard.cgi index b9661948c..b47ae1bc0 100644 --- a/html/cgi-bin/wireguard.cgi +++ b/html/cgi-bin/wireguard.cgi @@ -805,7 +805,7 @@ MAIN: - $Lang::tr{'endpoint'} + $Lang::tr{'wg endpoint'} @@ -1226,7 +1226,7 @@ CREATENET: -
$Lang::tr{'endpoint'}
+
$Lang::tr{'wg endpoint'}
@@ -1338,7 +1338,7 @@ EDITNET:
-
$Lang::tr{'endpoint'}
+
$Lang::tr{'wg endpoint'}
diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index 29c1be9e5..b39df6f17 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -3136,6 +3136,7 @@ 'wg edit host-to-net peer' => 'Edit Host-To-Net Peer', 'wg edit net-to-net peer' => 'Edit Net-To-Net Peer', 'wg edit peer' => 'Edit Peer', +'wg endpoint' => 'Endpoint', 'wg host to net client settings' => 'Host-To-Net Client Settings', 'wg import peer' => 'Import Peer', 'wg invalid client dns' => 'Invalid client DNS address', diff --git a/langs/zh/cgi-bin/zh.pl b/langs/zh/cgi-bin/zh.pl index 2ee377016..aac01d48e 100644 --- a/langs/zh/cgi-bin/zh.pl +++ b/langs/zh/cgi-bin/zh.pl @@ -3083,6 +3083,7 @@ 'wg edit host-to-net peer' => '编辑主机对网络节点', 'wg edit net-to-net peer' => '编辑网络对网络节点', 'wg edit peer' => '编辑节点', +'wg endpoint' => '服务器节点', 'wg host to net client settings' => '主机对网络客户端设置', 'wg import peer' => '导入节点', 'wg invalid client dns' => '无效的客户端DNS地址',