update 2024-11-04 16:17:55

This commit is contained in:
actions-user 2024-11-04 16:17:55 +08:00
parent 19f4f4f37e
commit ced8c28a87
8 changed files with 1178 additions and 408 deletions

View File

@ -1,6 +1,6 @@
include $(TOPDIR)/rules.mk
PKG_VERSION:=1.9.2
PKG_VERSION:=1.9.3
LUCI_TITLE:=LuCI Support for mihomo
LUCI_DEPENDS:=+luci-base +mihomo

View File

@ -102,6 +102,10 @@ return view.extend({
o = s.option(form.Flag, 'enabled', _('Enable'));
o.rmempty = false;
o = s.option(form.Value, 'start_delay', _('Start Delay'));
o.datatype = 'uinteger';
o.placeholder = '0';
o = s.option(form.Flag, 'scheduled_restart', _('Scheduled Restart'));
o.rmempty = false;
@ -260,7 +264,7 @@ return view.extend({
o.value('info');
o.value('debug');
o = s.taboption('general', form.ListValue, 'mode', _('Proxy Mode'));
o = s.taboption('general', form.ListValue, 'mode', _('Mode'));
o.value('global', _('Global Mode'));
o.value('rule', _('Rule Mode'));
o.value('direct', _('Direct Mode'));
@ -511,7 +515,7 @@ return view.extend({
o = s.taboption('geox', form.Flag, 'geox_auto_update', _('GeoX Auto Update'));
o.rmempty = false;
o = s.taboption('geox', form.Value, 'geox_update_interval', _('GeoX Update Interval'), _('Hour'));
o = s.taboption('geox', form.Value, 'geox_update_interval', _('GeoX Update Interval'));
o.datatype = 'uinteger';
o.placeholder = '24';
o.retain = true;

View File

@ -0,0 +1,576 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:302
msgid "API Port"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:306
msgid "API Secret"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:174
msgid "Access Control"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:177
msgid "All Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:228
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:233
msgid "All Port"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:314
msgid "Allow Lan"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:178
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:409
msgid "Allow Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/log.js:27
msgid "App Log"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:49
msgid "App Version"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:273
msgid "Auto"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:100
msgid "Basic Config"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:179
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:408
msgid "Block Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:221
msgid "Bypass"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:223
msgid "Bypass China Mainland IP"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:117
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:24
msgid "Choose Profile"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/log.js:31
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/log.js:64
msgid "Clear Log"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:229
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:234
msgid "Commonly Used Port"
msgstr ""
#: mihomo/luci-app-mihomo/root/usr/share/luci/menu.d/luci-app-mihomo.json:14
msgid "Config"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/log.js:60
msgid "Core Log"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:63
msgid "Core Status"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:56
msgid "Core Version"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:112
msgid "Cron Expression"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:380
msgid "DNS Config"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:386
msgid "DNS Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:382
msgid "DNS Port"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:226
msgid "Destination TCP Port to Proxy"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:231
msgid "Destination UDP Port to Proxy"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:270
msgid "Direct Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:275
msgid "Disable"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:420
msgid "DoH Prefer HTTP/3"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:446
msgid "Domain Name"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:340
msgid "Edit Authentications"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:402
msgid "Edit Fake-IP Filters"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:435
msgid "Edit Hosts"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:477
msgid "Edit Nameserver Policies"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:454
msgid "Edit Nameservers"
msgstr ""
#: mihomo/luci-app-mihomo/root/usr/share/luci/menu.d/luci-app-mihomo.json:22
msgid "Editor"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:102
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:144
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:274
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:348
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:443
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:462
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:485
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:526
msgid "Enable"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:377
msgid "Endpoint Independent NAT"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:291
msgid "External Control Config"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:412
msgid "Fake-IP Cache"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:406
msgid "Fake-IP Filter Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:391
msgid "Fake-IP Range"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:137
msgid "Fast Reload"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:30
msgid "File for Mixin"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:32
msgid "File for Reserved IP"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:33
msgid "File for Reserved IP6"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:121
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:28
msgid "File:"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:368
msgid "GSO"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:371
msgid "GSO Max Size"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:258
msgid "General Config"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:499
msgid "GeoData Loader"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:495
msgid "GeoIP Format"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:512
msgid "GeoIP(ASN) Url"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:509
msgid "GeoIP(DAT) Url"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:506
msgid "GeoIP(MMDB) Url"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:503
msgid "GeoSite Url"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:515
msgid "GeoX Auto Update"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:493
msgid "GeoX Config"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:518
msgid "GeoX Update Interval"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:268
msgid "Global Mode"
msgstr ""
#: mihomo/luci-app-mihomo/root/usr/share/rpcd/acl.d/luci-app-mihomo.json:3
msgid "Grant access to mihomo procedures"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:317
msgid "HTTP Port"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:45
msgid "How To Use"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:449
msgid "IP"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:156
msgid "IPv4 DNS Hijack"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:162
msgid "IPv4 Proxy"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:280
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:423
msgid "IPv6"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:159
msgid "IPv6 DNS Hijack"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:165
msgid "IPv6 Proxy"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:312
msgid "Inbound Config"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:171
msgid "Lan Proxy"
msgstr ""
#: mihomo/luci-app-mihomo/root/usr/share/luci/menu.d/luci-app-mihomo.json:30
msgid "Log"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:260
msgid "Log Level"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:364
msgid "MTU"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:272
msgid "Match Process"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:488
msgid "Matcher"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:501
msgid "Memory Conservative Loader"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:45
#: mihomo/luci-app-mihomo/root/usr/share/luci/menu.d/luci-app-mihomo.json:3
msgid "MihomoTProxy"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:325
msgid "Mixed Port"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:131
msgid "Mixin"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:256
msgid "Mixin Config"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:524
msgid "Mixin File Content"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:176
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:267
msgid "Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:472
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:491
msgid "Nameserver"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:19
msgid "Not Running"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:95
msgid "Open Dashboard"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:277
msgid "Outbound Interface"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:337
msgid "Overwrite Authentication"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:397
msgid "Overwrite Fake-IP Filter"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:432
msgid "Overwrite Hosts"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:451
msgid "Overwrite Nameserver"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:474
msgid "Overwrite Nameserver Policy"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:354
msgid "Password"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:526
msgid "Please go to the editor tab to edit the file for mixin"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:31
msgid "Profile for Startup"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:140
msgid "Proxy Config"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:148
msgid "Redirect Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:329
msgid "Redirect Port"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:75
msgid "Reload Service"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:417
msgid "Respect Rules"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:82
msgid "Restart Service"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:168
msgid "Router Proxy"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:269
msgid "Rule Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:19
msgid "Running"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:321
msgid "SOCKS Port"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:309
msgid "Save Proxy Selection"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:109
msgid "Scheduled Restart"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/log.js:54
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/log.js:87
msgid "Scroll To Bottom"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/tools/mihomo.js:93
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/tools/mihomo.js:111
msgid "Service is not running."
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:359
msgid "Stack"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:500
msgid "Standard Loader"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:105
msgid "Start Delay"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:47
msgid "Status"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:236
msgid "Subscription Config"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:241
msgid "Subscription Name"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:245
msgid "Subscription Url"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:125
msgid "Subscription:"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:283
msgid "TCP Keep Alive Idle"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:287
msgid "TCP Keep Alive Interval"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:147
msgid "TCP Proxy Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:149
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:153
msgid "TPROXY Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:333
msgid "TPROXY Port"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:357
msgid "TUN Config"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:150
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:154
msgid "TUN Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:134
msgid "Test Profile"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:142
msgid "Transparent Proxy"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:45
msgid "Transparent Proxy with Mihomo on OpenWrt."
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:465
msgid "Type"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:152
msgid "UDP Proxy Mode"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:293
msgid "UI Name"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:296
msgid "UI Url"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:89
msgid "Update Dashboard"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:128
msgid "Upload Profile"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:429
msgid "Use Hosts"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:426
msgid "Use System Hosts"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:248
msgid "User Agent"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:351
msgid "Username"
msgstr ""

View File

@ -1,419 +1,583 @@
msgid "MihomoTProxy"
msgstr "MihomoTProxy"
msgid "Transparent Proxy with Mihomo on OpenWrt."
msgstr "在 OpenWrt 上使用 Mihomo 进行透明代理。"
msgid "How To Use"
msgstr "使用说明"
msgid "Config"
msgstr "配置"
msgid "Status"
msgstr "状态"
msgid "App Version"
msgstr "插件版本"
msgid "Core Version"
msgstr "核心版本"
msgid "Core Status"
msgstr "核心状态"
msgid "Running"
msgstr "运行中"
msgid "Not Running"
msgstr "未在运行"
msgid "Reload Service"
msgstr "重载服务"
msgid "Restart Service"
msgstr "重启服务"
msgid "Update Dashboard"
msgstr "更新面板"
msgid "Open Dashboard"
msgstr "打开面板"
msgid "Basic Config"
msgstr "基础配置"
msgid "Enable"
msgstr "启用"
msgid "Disable"
msgstr "禁用"
msgid "Auto"
msgstr "自动"
msgid "Mode"
msgstr "模式"
msgid "Type"
msgstr "类型"
msgid "Value"
msgstr "值"
msgid "Scheduled Restart"
msgstr "定时重启"
msgid "Cron Expression"
msgstr "Cron 表达式"
msgid "Choose Profile"
msgstr "选择配置文件"
msgid "File:"
msgstr "文件:"
msgid "Subscription:"
msgstr "订阅:"
msgid "Upload Profile"
msgstr "上传配置文件"
msgid "Mixin"
msgstr "混入"
msgid "Test Profile"
msgstr "检查配置文件"
msgid "Fast Reload"
msgstr "快速重载"
msgid "Proxy Config"
msgstr "代理配置"
msgid "Transparent Proxy"
msgstr "透明代理"
msgid "TCP Proxy Mode"
msgstr "TCP 代理模式"
msgid "UDP Proxy Mode"
msgstr "UDP 代理模式"
msgid "Redirect Mode"
msgstr "Redirect 模式"
msgid "TPROXY Mode"
msgstr "TPROXY 模式"
msgid "TUN Mode"
msgstr "TUN 模式"
msgid "IPv4 DNS Hijack"
msgstr "IPv4 DNS 劫持"
msgid "IPv6 DNS Hijack"
msgstr "IPv6 DNS 劫持"
msgid "IPv4 Proxy"
msgstr "IPv4 代理"
msgid "IPv6 Proxy"
msgstr "IPv6 代理"
msgid "Router Proxy"
msgstr "路由器代理"
msgid "Lan Proxy"
msgstr "局域网代理"
msgid "Access Control"
msgstr "访问控制"
msgid "All Mode"
msgstr "全部模式"
msgid "Allow Mode"
msgstr "白名单模式"
msgid "Block Mode"
msgstr "黑名单模式"
msgid "Bypass"
msgstr "绕过"
msgid "Bypass China Mainland IP"
msgstr "绕过中国大陆 IP"
msgid "Destination TCP Port to Proxy"
msgstr "要代理的 TCP 目标端口"
msgid "Destination UDP Port to Proxy"
msgstr "要代理的 UDP 目标端口"
msgid "All Port"
msgstr "全部端口"
msgid "Commonly Used Port"
msgstr "常用端口"
msgid "Subscription Config"
msgstr "订阅配置"
msgid "Subscription Name"
msgstr "订阅名称"
msgid "Subscription Url"
msgstr "订阅链接"
msgid "User Agent"
msgstr "用户代理UA"
msgid "Mixin Config"
msgstr "混入配置"
msgid "General Config"
msgstr "全局配置"
msgid "Proxy Mode"
msgstr "代理模式"
msgid "Global Mode"
msgstr "全局模式"
msgid "Rule Mode"
msgstr "规则模式"
msgid "Direct Mode"
msgstr "直连模式"
msgid "Match Process"
msgstr "匹配进程"
msgid "Outbound Interface"
msgstr "出站接口"
msgid "TCP Keep Alive Idle"
msgstr "TCP Keep Alive 空闲"
msgid "TCP Keep Alive Interval"
msgstr "TCP Keep Alive 间隔"
msgid "Log Level"
msgstr "日志级别"
msgid "External Control Config"
msgstr "外部控制配置"
msgid "UI Name"
msgstr "UI 名称"
msgid "UI Url"
msgstr "UI 下载地址"
msgid "Service is not running."
msgstr "服务未在运行。"
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: PACKAGE VERSION\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: zh_Hans\n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:302
msgid "API Port"
msgstr "API 端口"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:306
msgid "API Secret"
msgstr "API 密钥"
msgid "Save Proxy Selection"
msgstr "保存节点/策略组选择"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:174
msgid "Access Control"
msgstr "访问控制"
msgid "Inbound Config"
msgstr "入站配置"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:177
msgid "All Mode"
msgstr "全部模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:228
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:233
msgid "All Port"
msgstr "全部端口"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:314
msgid "Allow Lan"
msgstr "允许局域网访问"
msgid "HTTP Port"
msgstr "HTTP 端口"
msgid "SOCKS Port"
msgstr "SOCKS 端口"
msgid "Mixed Port"
msgstr "混合端口"
msgid "Redirect Port"
msgstr "Redirect 端口"
msgid "TPROXY Port"
msgstr "TPROXY 端口"
msgid "Overwrite Authentication"
msgstr "覆盖身份验证"
msgid "Edit Authentications"
msgstr "编辑身份验证"
msgid "username"
msgstr "用户名"
msgid "password"
msgstr "密码"
msgid "TUN Config"
msgstr "TUN 配置"
msgid "Stack"
msgstr "栈"
msgid "Device"
msgstr "设备"
msgid "MTU"
msgstr "最大传输单元"
msgid "GSO"
msgstr "通用分段卸载"
msgid "GSO Max Size"
msgstr "分段最大长度"
msgid "Endpoint Independent NAT"
msgstr "独立于端点的 NAT"
msgid "DNS Config"
msgstr "DNS 配置"
msgid "DNS Port"
msgstr "DNS 端口"
msgid "DNS Mode"
msgstr "DNS 模式"
msgid "Fake-IP Range"
msgstr "Fake-IP 范围"
msgid "Overwrite Fake-IP Filter"
msgstr "覆盖 Fake-IP 过滤列表"
msgid "Edit Fake-IP Filters"
msgstr "编辑 Fake-IP 过滤列表"
msgid "Fake-IP Filter Mode"
msgstr "Fake-IP 过滤模式"
msgid "Fake-IP Cache"
msgstr "Fake-IP 缓存"
msgid "Respect Rules"
msgstr "遵循分流规则"
msgid "DoH Prefer HTTP/3"
msgstr "DoH 优先 HTTP/3"
msgid "Use System Hosts"
msgstr "使用系统的 Hosts"
msgid "Use Hosts"
msgstr "使用 Hosts"
msgid "Overwrite Hosts"
msgstr "覆盖 Hosts"
msgid "Edit Hosts"
msgstr "编辑 Hosts"
msgid "Domain Name"
msgstr "域名"
msgid "Overwrite Nameserver"
msgstr "覆盖 DNS 服务器"
msgid "Edit Nameservers"
msgstr "编辑 DNS 服务器"
msgid "Nameserver"
msgstr "DNS 服务器"
msgid "Overwrite Fallback Filter"
msgstr "覆盖 Fallback 过滤列表"
msgid "Edit Fallback Filters"
msgstr "编辑 Fallback 过滤列表"
msgid "Overwrite Nameserver Policy"
msgstr "覆盖 DNS 服务器查询策略"
msgid "Edit Nameserver Policies"
msgstr "编辑 DNS 服务器查询策略"
msgid "Matcher"
msgstr "匹配"
msgid "GeoX Config"
msgstr "GeoX 配置"
msgid "GeoIP Format"
msgstr "GeoIP 格式"
msgid "GeoData Loader"
msgstr "GeoData 加载器"
msgid "Standard Loader"
msgstr "标准加载器"
msgid "Memory Conservative Loader"
msgstr "为内存受限设备优化的加载器"
msgid "GeoSite Url"
msgstr "GeoSite 下载地址"
msgid "GeoIP(MMDB) Url"
msgstr "GeoIP(MMDB) 下载地址"
msgid "GeoIP(DAT) Url"
msgstr "GeoIP(DAT) 下载地址"
msgid "GeoIP(ASN) Url"
msgstr "GeoIP(ASN) 下载地址"
msgid "GeoX Auto Update"
msgstr "定时更新GeoX文件"
msgid "GeoX Update Interval"
msgstr "GeoX 文件更新间隔"
msgid "Hour"
msgstr "小时"
msgid "Mixin File Content"
msgstr "混入文件内容"
msgid "Please go to the editor tab to edit the file for mixin"
msgstr "请前往编辑器标签编辑用于混入的文件"
msgid "Editor"
msgstr "编辑器"
msgid "File for Mixin"
msgstr "用于混入的文件"
msgid "Profile for Startup"
msgstr "用于启动的配置文件"
msgid "File for Reserved IP"
msgstr "IPv4 保留地址"
msgid "File for Reserved IP6"
msgstr "IPv6 保留地址"
msgid "Log"
msgstr "日志"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:178
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:409
msgid "Allow Mode"
msgstr "白名单模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/log.js:27
msgid "App Log"
msgstr "应用日志"
msgstr "插件日志"
msgid "Core Log"
msgstr "核心日志"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:49
msgid "App Version"
msgstr "插件版本"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:273
msgid "Auto"
msgstr "自动"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:100
msgid "Basic Config"
msgstr "基础配置"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:179
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:408
msgid "Block Mode"
msgstr "黑名单模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:221
msgid "Bypass"
msgstr "绕过"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:223
msgid "Bypass China Mainland IP"
msgstr "绕过中国大陆 IP"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:117
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:24
msgid "Choose Profile"
msgstr "选择配置文件"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/log.js:31
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/log.js:64
msgid "Clear Log"
msgstr "清空日志"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:229
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:234
msgid "Commonly Used Port"
msgstr "常用端口"
#: mihomo/luci-app-mihomo/root/usr/share/luci/menu.d/luci-app-mihomo.json:14
msgid "Config"
msgstr "配置"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/log.js:60
msgid "Core Log"
msgstr "核心日志"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:63
msgid "Core Status"
msgstr "核心状态"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:56
msgid "Core Version"
msgstr "核心版本"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:112
msgid "Cron Expression"
msgstr "Cron 表达式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:380
msgid "DNS Config"
msgstr "DNS 配置"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:386
msgid "DNS Mode"
msgstr "DNS 模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:382
msgid "DNS Port"
msgstr "DNS 端口"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:226
msgid "Destination TCP Port to Proxy"
msgstr "要代理的 TCP 目标端口"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:231
msgid "Destination UDP Port to Proxy"
msgstr "要代理的 UDP 目标端口"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:270
msgid "Direct Mode"
msgstr "直连模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:275
msgid "Disable"
msgstr "禁用"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:420
msgid "DoH Prefer HTTP/3"
msgstr "DoH 优先 HTTP/3"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:446
msgid "Domain Name"
msgstr "域名"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:340
msgid "Edit Authentications"
msgstr "编辑身份验证"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:402
msgid "Edit Fake-IP Filters"
msgstr "编辑 Fake-IP 过滤列表"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:435
msgid "Edit Hosts"
msgstr "编辑 Hosts"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:477
msgid "Edit Nameserver Policies"
msgstr "编辑 DNS 服务器查询策略"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:454
msgid "Edit Nameservers"
msgstr "编辑 DNS 服务器"
#: mihomo/luci-app-mihomo/root/usr/share/luci/menu.d/luci-app-mihomo.json:22
msgid "Editor"
msgstr "编辑器"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:102
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:144
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:274
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:348
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:443
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:462
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:485
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:526
msgid "Enable"
msgstr "启用"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:377
msgid "Endpoint Independent NAT"
msgstr "独立于端点的 NAT"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:291
msgid "External Control Config"
msgstr "外部控制配置"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:412
msgid "Fake-IP Cache"
msgstr "Fake-IP 缓存"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:406
msgid "Fake-IP Filter Mode"
msgstr "Fake-IP 过滤模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:391
msgid "Fake-IP Range"
msgstr "Fake-IP 范围"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:137
msgid "Fast Reload"
msgstr "快速重载"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:30
msgid "File for Mixin"
msgstr "用于混入的文件"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:32
msgid "File for Reserved IP"
msgstr "IPv4 保留地址"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:33
msgid "File for Reserved IP6"
msgstr "IPv6 保留地址"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:121
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:28
msgid "File:"
msgstr "文件:"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:368
msgid "GSO"
msgstr "通用分段卸载"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:371
msgid "GSO Max Size"
msgstr "分段最大长度"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:258
msgid "General Config"
msgstr "全局配置"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:499
msgid "GeoData Loader"
msgstr "GeoData 加载器"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:495
msgid "GeoIP Format"
msgstr "GeoIP 格式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:512
msgid "GeoIP(ASN) Url"
msgstr "GeoIP(ASN) 下载地址"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:509
msgid "GeoIP(DAT) Url"
msgstr "GeoIP(DAT) 下载地址"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:506
msgid "GeoIP(MMDB) Url"
msgstr "GeoIP(MMDB) 下载地址"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:503
msgid "GeoSite Url"
msgstr "GeoSite 下载地址"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:515
msgid "GeoX Auto Update"
msgstr "定时更新GeoX文件"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:493
msgid "GeoX Config"
msgstr "GeoX 配置"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:518
msgid "GeoX Update Interval"
msgstr "GeoX 文件更新间隔"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:268
msgid "Global Mode"
msgstr "全局模式"
#: mihomo/luci-app-mihomo/root/usr/share/rpcd/acl.d/luci-app-mihomo.json:3
msgid "Grant access to mihomo procedures"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:317
msgid "HTTP Port"
msgstr "HTTP 端口"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:45
msgid "How To Use"
msgstr "使用说明"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:449
msgid "IP"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:156
msgid "IPv4 DNS Hijack"
msgstr "IPv4 DNS 劫持"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:162
msgid "IPv4 Proxy"
msgstr "IPv4 代理"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:280
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:423
msgid "IPv6"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:159
msgid "IPv6 DNS Hijack"
msgstr "IPv6 DNS 劫持"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:165
msgid "IPv6 Proxy"
msgstr "IPv6 代理"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:312
msgid "Inbound Config"
msgstr "入站配置"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:171
msgid "Lan Proxy"
msgstr "局域网代理"
#: mihomo/luci-app-mihomo/root/usr/share/luci/menu.d/luci-app-mihomo.json:30
msgid "Log"
msgstr "日志"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:260
msgid "Log Level"
msgstr "日志级别"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:364
msgid "MTU"
msgstr "最大传输单元"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:272
msgid "Match Process"
msgstr "匹配进程"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:488
msgid "Matcher"
msgstr "匹配"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:501
msgid "Memory Conservative Loader"
msgstr "为内存受限设备优化的加载器"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:45
#: mihomo/luci-app-mihomo/root/usr/share/luci/menu.d/luci-app-mihomo.json:3
msgid "MihomoTProxy"
msgstr ""
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:325
msgid "Mixed Port"
msgstr "混合端口"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:131
msgid "Mixin"
msgstr "混入"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:256
msgid "Mixin Config"
msgstr "混入配置"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:524
msgid "Mixin File Content"
msgstr "混入文件内容"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:176
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:267
msgid "Mode"
msgstr "模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:472
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:491
msgid "Nameserver"
msgstr "DNS 服务器"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:19
msgid "Not Running"
msgstr "未在运行"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:95
msgid "Open Dashboard"
msgstr "打开面板"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:277
msgid "Outbound Interface"
msgstr "出站接口"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:337
msgid "Overwrite Authentication"
msgstr "覆盖身份验证"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:397
msgid "Overwrite Fake-IP Filter"
msgstr "覆盖 Fake-IP 过滤列表"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:432
msgid "Overwrite Hosts"
msgstr "覆盖 Hosts"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:451
msgid "Overwrite Nameserver"
msgstr "覆盖 DNS 服务器"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:474
msgid "Overwrite Nameserver Policy"
msgstr "覆盖 DNS 服务器查询策略"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:354
msgid "Password"
msgstr "密码"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:526
msgid "Please go to the editor tab to edit the file for mixin"
msgstr "请前往编辑器标签编辑用于混入的文件"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:31
msgid "Profile for Startup"
msgstr "用于启动的配置文件"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:140
msgid "Proxy Config"
msgstr "代理配置"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:148
msgid "Redirect Mode"
msgstr "Redirect 模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:329
msgid "Redirect Port"
msgstr "Redirect 端口"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:75
msgid "Reload Service"
msgstr "重载服务"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:417
msgid "Respect Rules"
msgstr "遵循分流规则"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:82
msgid "Restart Service"
msgstr "重启服务"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:168
msgid "Router Proxy"
msgstr "路由器代理"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:269
msgid "Rule Mode"
msgstr "规则模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:19
msgid "Running"
msgstr "运行中"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:321
msgid "SOCKS Port"
msgstr "SOCKS 端口"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:309
msgid "Save Proxy Selection"
msgstr "保存节点/策略组选择"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:109
msgid "Scheduled Restart"
msgstr "定时重启"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/log.js:54
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/log.js:87
msgid "Scroll To Bottom"
msgstr "滚动到底部"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/tools/mihomo.js:93
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/tools/mihomo.js:111
msgid "Service is not running."
msgstr "服务未在运行。"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:359
msgid "Stack"
msgstr "栈"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:500
msgid "Standard Loader"
msgstr "标准加载器"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:105
msgid "Start Delay"
msgstr "启动延迟"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:47
msgid "Status"
msgstr "状态"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:236
msgid "Subscription Config"
msgstr "订阅配置"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:241
msgid "Subscription Name"
msgstr "订阅名称"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:245
msgid "Subscription Url"
msgstr "订阅链接"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:125
msgid "Subscription:"
msgstr "订阅:"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:283
msgid "TCP Keep Alive Idle"
msgstr "TCP Keep Alive 空闲"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:287
msgid "TCP Keep Alive Interval"
msgstr "TCP Keep Alive 间隔"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:147
msgid "TCP Proxy Mode"
msgstr "TCP 代理模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:149
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:153
msgid "TPROXY Mode"
msgstr "TPROXY 模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:333
msgid "TPROXY Port"
msgstr "TPROXY 端口"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:357
msgid "TUN Config"
msgstr "TUN 配置"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:150
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:154
msgid "TUN Mode"
msgstr "TUN 模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:134
msgid "Test Profile"
msgstr "检查配置文件"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:142
msgid "Transparent Proxy"
msgstr "透明代理"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:45
msgid "Transparent Proxy with Mihomo on OpenWrt."
msgstr "在 OpenWrt 上使用 Mihomo 进行透明代理。"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:465
msgid "Type"
msgstr "类型"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:152
msgid "UDP Proxy Mode"
msgstr "UDP 代理模式"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:293
msgid "UI Name"
msgstr "UI 名称"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:296
msgid "UI Url"
msgstr "UI 下载地址"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:89
msgid "Update Dashboard"
msgstr "更新面板"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:128
msgid "Upload Profile"
msgstr "上传配置文件"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:429
msgid "Use Hosts"
msgstr "使用 Hosts"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:426
msgid "Use System Hosts"
msgstr "使用系统的 Hosts"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:248
msgid "User Agent"
msgstr "用户代理UA"
#: mihomo/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:351
msgid "Username"
msgstr "用户名"

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mihomo
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/MetaCubeX/mihomo.git

View File

@ -3,6 +3,7 @@ config status 'status'
config config 'config'
option 'init' '1'
option 'enabled' '0'
option 'start_delay' '0'
option 'scheduled_restart' '0'
option 'cron_expression' '0 3 * * *'
option 'profile' 'subscription:subscription'

View File

@ -7,6 +7,23 @@ USE_PROCD=1
. "$IPKG_INSTROOT/lib/functions/network.sh"
. "$IPKG_INSTROOT/etc/mihomo/scripts/constants.sh"
boot() {
# init log
init_log
# load config
config_load mihomo
# start delay
local enabled start_delay
config_get_bool enabled "config" "enabled" 0
config_get start_delay "config" "start_delay" 0
if [[ "$enabled" == 1 && "$start_delay" > 0 ]]; then
log "App will start after $start_delay seconds."
sleep "$start_delay"
fi
# start
start
}
start_service() {
# clear log
clear_log
@ -20,6 +37,7 @@ start_service() {
log "Exiting..."
return
fi
# start
log "App is enabled."
log "Starting..."
# get config
@ -462,18 +480,21 @@ cleanup() {
/etc/init.d/cron restart
}
log() {
echo "[$(date '+%Y-%m-%d %H:%M:%S')] $1" >> "$APP_LOG_PATH"
init_log() {
mkdir "$LOG_DIR"
touch "$APP_LOG_PATH"
touch "$CORE_LOG_PATH"
}
clear_log() {
if [ ! -d "$LOG_DIR" ]; then
mkdir "$LOG_DIR"
fi
echo -n > "$APP_LOG_PATH"
echo -n > "$CORE_LOG_PATH"
}
log() {
echo "[$(date '+%Y-%m-%d %H:%M:%S')] $1" >> "$APP_LOG_PATH"
}
mixin_authentications() {
local section="$1"

View File

@ -10,6 +10,10 @@ dns_doh_prefer_http3=$(uci -q get mihomo.mixin.dns_doh_prefer_http3); [ -z "$dns
mixin_file_content=$(uci -q get mihomo.mixin.mixin_file_content); [ -z "$mixin_file_content" ] && uci set mihomo.mixin.mixin_file_content=$(uci -q get mihomo.config.mixin)
# since v1.9.3
start_delay=$(uci -q get mihomo.config.start_delay); [ -z "$start_delay" ] && uci set mihomo.config.start_delay=0
# commit
uci commit mihomo