Skip to content

Commit ea35ebb

Browse files
committed
连接信息的中文表格
1 parent e3e3860 commit ea35ebb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

luci-app-easytier/luasrc/model/cbi/easytier.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,8 @@ btn0info.cfgvalue = function(self, section)
482482
key = key:gsub("^Peer ID$", "节点ID")
483483
key = key:gsub("^Public IPv4$", "公网IPv4")
484484
key = key:gsub("^UDP Stun Type$", "UDP穿透类型")
485-
key = key:gsub("^Interface IPv4$", "接口IPv4地址")
486-
key = key:gsub("^Interface IPv6$", "接口IPv6地址")
485+
key = key:gsub("^Interface IPv4$", "IPv4地址")
486+
key = key:gsub("^Interface IPv6$", "IPv6地址")
487487
key = key:gsub("^Listener%s*(%d+)$", "监听器 %1")
488488

489489
-- Value 中文化
@@ -581,7 +581,7 @@ btn1info.cfgvalue = function(self, section)
581581
else
582582
-- 内容值中文化
583583
if cell == "Local" then
584-
cell = "本地"
584+
cell = "本机"
585585
elseif cell == "PortRestricted" then
586586
cell = "端口受限"
587587
elseif cell == "NoPat" then

0 commit comments

Comments
 (0)