diff --git a/luci-app-mihomo/Makefile b/luci-app-mihomo/Makefile index f832ecad1..9080a62fd 100644 --- a/luci-app-mihomo/Makefile +++ b/luci-app-mihomo/Makefile @@ -1,6 +1,6 @@ include $(TOPDIR)/rules.mk -PKG_VERSION:=1.17.4 +PKG_VERSION:=1.17.5 LUCI_TITLE:=LuCI Support for mihomo LUCI_DEPENDS:=+luci-base +mihomo diff --git a/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js b/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js index 9ee41245d..c4a1bb158 100644 --- a/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js +++ b/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js @@ -155,6 +155,16 @@ return view.extend({ o.retain = true; o.depends('tun_gso', '1'); + o = s.taboption('tun', form.Flag, 'tun_dns_hijack', '*' + ' ' + _('Overwrite DNS Hijack')); + o.rmempty = false; + + o = s.taboption('tun', form.DynamicList, 'tun_dns_hijacks', '*' + ' ' + _('Edit DNS Hijacks')); + o.retain = true; + o.rmempty = false; + o.depends('tun_dns_hijack', '1'); + o.value('tcp://any:53'); + o.value('udp://any:53'); + o = s.taboption('tun', form.Flag, 'tun_endpoint_independent_nat', '*' + ' ' + _('Endpoint Independent NAT')); o.rmempty = false; diff --git a/luci-app-mihomo/po/templates/mihomo.pot b/luci-app-mihomo/po/templates/mihomo.pot index 68d3bb72f..30ddf0739 100644 --- a/luci-app-mihomo/po/templates/mihomo.pot +++ b/luci-app-mihomo/po/templates/mihomo.pot @@ -26,7 +26,7 @@ msgstr "" msgid "Allow Lan" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:190 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:198 #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/proxy.js:65 msgid "Allow Mode" msgstr "" @@ -48,7 +48,7 @@ msgstr "" msgid "Auto" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:189 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:197 #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/proxy.js:66 msgid "Block Mode" msgstr "" @@ -111,15 +111,15 @@ msgstr "" msgid "Cron Expression" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:161 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:169 msgid "DNS Config" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:167 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:175 msgid "DNS Mode" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:163 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:171 msgid "DNS Port" msgstr "" @@ -159,11 +159,11 @@ msgstr "" msgid "Disable Safe Path Check" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:201 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:209 msgid "DoH Prefer HTTP/3" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:227 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:235 msgid "Domain Name" msgstr "" @@ -171,19 +171,23 @@ msgstr "" msgid "Edit Authentications" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:183 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:161 +msgid "Edit DNS Hijacks" +msgstr "" + +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:191 msgid "Edit Fake-IP Filters" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:216 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:224 msgid "Edit Hosts" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:258 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:266 msgid "Edit Nameserver Policies" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:235 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:243 msgid "Edit Nameservers" msgstr "" @@ -200,17 +204,17 @@ msgstr "" #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:23 #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:44 #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:125 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:224 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:243 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:266 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:276 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:308 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:356 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:232 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:251 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:274 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:284 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:316 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:364 #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/proxy.js:31 msgid "Enable" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:158 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:166 msgid "Endpoint Independent NAT" msgstr "" @@ -222,15 +226,15 @@ msgstr "" msgid "External Control Config" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:193 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:201 msgid "Fake-IP Cache" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:187 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:195 msgid "Fake-IP Filter Mode" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:172 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:180 msgid "Fake-IP Range" msgstr "" @@ -255,7 +259,7 @@ msgstr "" msgid "File:" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:291 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:299 msgid "Force Sniff Domain Name" msgstr "" @@ -271,39 +275,39 @@ msgstr "" msgid "General Config" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:329 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:337 msgid "GeoData Loader" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:325 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:333 msgid "GeoIP Format" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:342 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:350 msgid "GeoIP(ASN) Url" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:339 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:347 msgid "GeoIP(DAT) Url" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:336 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:344 msgid "GeoIP(MMDB) Url" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:333 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:341 msgid "GeoSite Url" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:345 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:353 msgid "GeoX Auto Update" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:323 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:331 msgid "GeoX Config" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:348 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:356 msgid "GeoX Update Interval" msgstr "" @@ -323,7 +327,7 @@ msgstr "" msgid "How To Use" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:230 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:238 msgid "IP" msgstr "" @@ -336,7 +340,7 @@ msgid "IPv4 Proxy" msgstr "" #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:50 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:204 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:212 msgid "IPv6" msgstr "" @@ -348,7 +352,7 @@ msgstr "" msgid "IPv6 Proxy" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:297 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:305 msgid "Ignore Sniff Domain Name" msgstr "" @@ -385,11 +389,11 @@ msgstr "" msgid "Match Process" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:269 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:277 msgid "Matcher" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:331 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:339 msgid "Memory Conservative Loader" msgstr "" @@ -407,7 +411,7 @@ msgstr "" msgid "Mixin Config" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:354 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:362 msgid "Mixin File Content" msgstr "" @@ -420,8 +424,8 @@ msgstr "" msgid "Mode" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:253 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:272 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:261 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:280 msgid "Nameserver" msgstr "" @@ -441,36 +445,40 @@ msgstr "" msgid "Overwrite Authentication" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:285 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:320 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:158 +msgid "Overwrite DNS Hijack" +msgstr "" + +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:293 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:328 msgid "Overwrite Destination" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:178 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:186 msgid "Overwrite Fake-IP Filter" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:288 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:296 msgid "Overwrite Force Sniff Domain Name" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:213 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:221 msgid "Overwrite Hosts" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:294 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:302 msgid "Overwrite Ignore Sniff Domain Name" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:232 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:240 msgid "Overwrite Nameserver" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:255 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:263 msgid "Overwrite Nameserver Policy" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:300 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:308 msgid "Overwrite Sniff By Protocol" msgstr "" @@ -478,11 +486,11 @@ msgstr "" msgid "Password" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:356 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:364 msgid "Please go to the editor tab to edit the file for mixin" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:317 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:325 msgid "Port" msgstr "" @@ -499,7 +507,7 @@ msgstr "" msgid "Profile for Startup" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:311 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:319 msgid "Protocol" msgstr "" @@ -524,7 +532,7 @@ msgstr "" msgid "Remote" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:198 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:206 msgid "Respect Rules" msgstr "" @@ -561,24 +569,24 @@ msgstr "" msgid "Scroll To Bottom" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/tools/mihomo.js:99 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/tools/mihomo.js:117 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/tools/mihomo.js:100 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/tools/mihomo.js:118 msgid "Service is not running." msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:303 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:311 msgid "Sniff By Protocol" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:282 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:290 msgid "Sniff Pure IP" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:279 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:287 msgid "Sniff Redir-Host" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:274 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:282 msgid "Sniffer Config" msgstr "" @@ -586,7 +594,7 @@ msgstr "" msgid "Stack" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:330 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:338 msgid "Standard Loader" msgstr "" @@ -665,7 +673,7 @@ msgstr "" msgid "Transparent Proxy with Mihomo on OpenWrt." msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:246 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:254 msgid "Type" msgstr "" @@ -706,11 +714,11 @@ msgstr "" msgid "Upload Profile" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:210 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:218 msgid "Use Hosts" msgstr "" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:207 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:215 msgid "Use System Hosts" msgstr "" diff --git a/luci-app-mihomo/po/zh_Hans/mihomo.po b/luci-app-mihomo/po/zh_Hans/mihomo.po index a9b62478a..6ec1634e3 100644 --- a/luci-app-mihomo/po/zh_Hans/mihomo.po +++ b/luci-app-mihomo/po/zh_Hans/mihomo.po @@ -33,7 +33,7 @@ msgstr "全部端口" msgid "Allow Lan" msgstr "允许局域网访问" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:190 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:198 #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/proxy.js:65 msgid "Allow Mode" msgstr "白名单模式" @@ -55,7 +55,7 @@ msgstr "插件版本" msgid "Auto" msgstr "自动" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:189 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:197 #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/proxy.js:66 msgid "Block Mode" msgstr "黑名单模式" @@ -118,15 +118,15 @@ msgstr "核心版本" msgid "Cron Expression" msgstr "Cron 表达式" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:161 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:169 msgid "DNS Config" msgstr "DNS 配置" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:167 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:175 msgid "DNS Mode" msgstr "DNS 模式" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:163 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:171 msgid "DNS Port" msgstr "DNS 端口" @@ -166,11 +166,11 @@ msgstr "禁用回环检测" msgid "Disable Safe Path Check" msgstr "禁用安全路径检查" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:201 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:209 msgid "DoH Prefer HTTP/3" msgstr "DoH 优先 HTTP/3" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:227 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:235 msgid "Domain Name" msgstr "域名" @@ -178,19 +178,23 @@ msgstr "域名" msgid "Edit Authentications" msgstr "编辑身份验证" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:183 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:161 +msgid "Edit DNS Hijacks" +msgstr "编辑 DNS 劫持" + +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:191 msgid "Edit Fake-IP Filters" msgstr "编辑 Fake-IP 过滤列表" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:216 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:224 msgid "Edit Hosts" msgstr "编辑 Hosts" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:258 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:266 msgid "Edit Nameserver Policies" msgstr "编辑 DNS 服务器查询策略" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:235 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:243 msgid "Edit Nameservers" msgstr "编辑 DNS 服务器" @@ -207,17 +211,17 @@ msgstr "编辑器" #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:23 #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:44 #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:125 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:224 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:243 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:266 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:276 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:308 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:356 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:232 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:251 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:274 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:284 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:316 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:364 #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/proxy.js:31 msgid "Enable" msgstr "启用" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:158 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:166 msgid "Endpoint Independent NAT" msgstr "独立于端点的 NAT" @@ -229,15 +233,15 @@ msgstr "到期时间" msgid "External Control Config" msgstr "外部控制配置" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:193 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:201 msgid "Fake-IP Cache" msgstr "Fake-IP 缓存" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:187 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:195 msgid "Fake-IP Filter Mode" msgstr "Fake-IP 过滤模式" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:172 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:180 msgid "Fake-IP Range" msgstr "Fake-IP 范围" @@ -262,7 +266,7 @@ msgstr "IPv6 保留地址" msgid "File:" msgstr "文件:" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:291 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:299 msgid "Force Sniff Domain Name" msgstr "强制嗅探的域名" @@ -278,39 +282,39 @@ msgstr "分段最大长度" msgid "General Config" msgstr "全局配置" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:329 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:337 msgid "GeoData Loader" msgstr "GeoData 加载器" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:325 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:333 msgid "GeoIP Format" msgstr "GeoIP 格式" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:342 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:350 msgid "GeoIP(ASN) Url" msgstr "GeoIP(ASN) 下载地址" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:339 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:347 msgid "GeoIP(DAT) Url" msgstr "GeoIP(DAT) 下载地址" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:336 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:344 msgid "GeoIP(MMDB) Url" msgstr "GeoIP(MMDB) 下载地址" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:333 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:341 msgid "GeoSite Url" msgstr "GeoSite 下载地址" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:345 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:353 msgid "GeoX Auto Update" msgstr "定时更新GeoX文件" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:323 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:331 msgid "GeoX Config" msgstr "GeoX 配置" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:348 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:356 msgid "GeoX Update Interval" msgstr "GeoX 文件更新间隔" @@ -330,7 +334,7 @@ msgstr "HTTP 端口" msgid "How To Use" msgstr "使用说明" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:230 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:238 msgid "IP" msgstr "" @@ -343,7 +347,7 @@ msgid "IPv4 Proxy" msgstr "IPv4 代理" #: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:50 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:204 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:212 msgid "IPv6" msgstr "" @@ -355,7 +359,7 @@ msgstr "IPv6 DNS 劫持" msgid "IPv6 Proxy" msgstr "IPv6 代理" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:297 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:305 msgid "Ignore Sniff Domain Name" msgstr "忽略嗅探的域名" @@ -392,11 +396,11 @@ msgstr "最大传输单元" msgid "Match Process" msgstr "匹配进程" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:269 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:277 msgid "Matcher" msgstr "匹配" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:331 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:339 msgid "Memory Conservative Loader" msgstr "为内存受限设备优化的加载器" @@ -414,7 +418,7 @@ msgstr "混合端口" msgid "Mixin Config" msgstr "混入配置" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:354 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:362 msgid "Mixin File Content" msgstr "混入文件内容" @@ -427,8 +431,8 @@ msgstr "混入选项" msgid "Mode" msgstr "模式" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:253 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:272 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:261 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:280 msgid "Nameserver" msgstr "DNS 服务器" @@ -448,36 +452,40 @@ msgstr "出站接口" msgid "Overwrite Authentication" msgstr "覆盖身份验证" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:285 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:320 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:158 +msgid "Overwrite DNS Hijack" +msgstr "覆盖 DNS 劫持" + +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:293 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:328 msgid "Overwrite Destination" msgstr "将嗅探结果作为连接目标" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:178 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:186 msgid "Overwrite Fake-IP Filter" msgstr "覆盖 Fake-IP 过滤列表" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:288 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:296 msgid "Overwrite Force Sniff Domain Name" msgstr "覆盖强制嗅探的域名" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:213 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:221 msgid "Overwrite Hosts" msgstr "覆盖 Hosts" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:294 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:302 msgid "Overwrite Ignore Sniff Domain Name" msgstr "覆盖忽略嗅探的域名" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:232 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:240 msgid "Overwrite Nameserver" msgstr "覆盖 DNS 服务器" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:255 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:263 msgid "Overwrite Nameserver Policy" msgstr "覆盖 DNS 服务器查询策略" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:300 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:308 msgid "Overwrite Sniff By Protocol" msgstr "覆盖按协议嗅探" @@ -485,11 +493,11 @@ msgstr "覆盖按协议嗅探" msgid "Password" msgstr "密码" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:356 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:364 msgid "Please go to the editor tab to edit the file for mixin" msgstr "请前往编辑器标签编辑用于混入的文件" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:317 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:325 msgid "Port" msgstr "端口" @@ -506,7 +514,7 @@ msgstr "配置文件" msgid "Profile for Startup" msgstr "用于启动的配置文件" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:311 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:319 msgid "Protocol" msgstr "协议" @@ -531,7 +539,7 @@ msgstr "重载服务" msgid "Remote" msgstr "远程" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:198 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:206 msgid "Respect Rules" msgstr "遵循分流规则" @@ -568,24 +576,24 @@ msgstr "定时重启" msgid "Scroll To Bottom" msgstr "滚动到底部" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/tools/mihomo.js:99 -#: applications/luci-app-mihomo/htdocs/luci-static/resources/tools/mihomo.js:117 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/tools/mihomo.js:100 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/tools/mihomo.js:118 msgid "Service is not running." msgstr "服务未在运行。" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:303 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:311 msgid "Sniff By Protocol" msgstr "按协议嗅探" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:282 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:290 msgid "Sniff Pure IP" msgstr "嗅探纯 IP 连接" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:279 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:287 msgid "Sniff Redir-Host" msgstr "嗅探 Redir-Host 流量" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:274 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:282 msgid "Sniffer Config" msgstr "嗅探器配置" @@ -593,7 +601,7 @@ msgstr "嗅探器配置" msgid "Stack" msgstr "栈" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:330 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:338 msgid "Standard Loader" msgstr "标准加载器" @@ -672,7 +680,7 @@ msgstr "透明代理" msgid "Transparent Proxy with Mihomo on OpenWrt." msgstr "在 OpenWrt 上使用 Mihomo 进行透明代理。" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:246 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:254 msgid "Type" msgstr "类型" @@ -713,11 +721,11 @@ msgstr "更新面板" msgid "Upload Profile" msgstr "上传配置文件" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:210 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:218 msgid "Use Hosts" msgstr "使用 Hosts" -#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:207 +#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/mixin.js:215 msgid "Use System Hosts" msgstr "使用系统的 Hosts"