mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 11:17:34 +08:00
update 2024-11-22 20:39:46
This commit is contained in:
parent
b5c2305f94
commit
fc2943ba4b
@ -7,13 +7,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=alist
|
||||
PKG_VERSION:=3.39.4
|
||||
PKG_VERSION:=3.40.0
|
||||
PKG_WEB_VERSION:=3.39.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/alist-org/alist/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=7dd11b1d4213d8992b5058bc00ee6f22be96659a450ada3f2e6389c94840490c
|
||||
PKG_HASH:=350f6d0610cebb70c645e52a87aaf0e8cb5bb275593ee22778ed8348da48b005
|
||||
|
||||
PKG_LICENSE:=GPL-3.0
|
||||
PKG_LICENSE_FILE:=LICENSE
|
||||
|
@ -1,6 +1,6 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_VERSION:=1.12.0
|
||||
PKG_VERSION:=1.13.0
|
||||
|
||||
LUCI_TITLE:=LuCI Support for mihomo
|
||||
LUCI_DEPENDS:=+luci-base +mihomo
|
||||
|
@ -112,7 +112,7 @@ return baseclass.extend({
|
||||
} else {
|
||||
url = `http://${window.location.hostname}:${apiPort}/ui/?host=${window.location.hostname}&hostname=${window.location.hostname}&port=${apiPort}&secret=${apiSecret}`;
|
||||
}
|
||||
setTimeout(() => window.open(url, '_blank'), 0);
|
||||
setTimeout(function () { window.open(url, '_blank') }, 0);
|
||||
} else {
|
||||
alert(_('Service is not running.'));
|
||||
}
|
||||
|
@ -280,38 +280,62 @@ return view.extend({
|
||||
o.value('0-65535', _('All Port'));
|
||||
o.value('123 443 8443', _('Commonly Used Port'));
|
||||
|
||||
s = m.section(form.TableSection, 'subscription', _('Subscription Config'));
|
||||
s = m.section(form.GridSection, 'subscription', _('Subscription Config'));
|
||||
s.addremove = true;
|
||||
s.anonymous = true;
|
||||
s.sortable = true;
|
||||
s.modaltitle = _('Edit Subscription');
|
||||
|
||||
o = s.option(form.Value, 'name', _('Subscription Name'));
|
||||
o.rmempty = false;
|
||||
o.width = '15%';
|
||||
|
||||
o = s.option(form.Value, 'used', _('Used'));
|
||||
o.modalonly = false;
|
||||
o.optional = true;
|
||||
o.readonly = true;
|
||||
|
||||
o = s.option(form.Value, 'total', _('Total'));
|
||||
o.modalonly = false;
|
||||
o.optional = true;
|
||||
o.readonly = true;
|
||||
|
||||
o = s.option(form.Value, 'expire', _('Expire At'));
|
||||
o.modalonly = false;
|
||||
o.optional = true;
|
||||
o.readonly = true;
|
||||
|
||||
o = s.option(form.Value, 'update', _('Update At'));
|
||||
o.modalonly = false;
|
||||
o.optional = true;
|
||||
o.readonly = true;
|
||||
|
||||
o = s.option(form.Button, 'update_subscription');
|
||||
o.editable = true;
|
||||
o.inputstyle = 'positive';
|
||||
o.inputtitle = _('Update');
|
||||
o.modalonly = false;
|
||||
o.onclick = function (_, section_id) {
|
||||
return mihomo.updateSubscription(section_id);
|
||||
};
|
||||
|
||||
o = s.option(form.Value, 'url', _('Subscription Url'));
|
||||
o.modalonly = true;
|
||||
o.rmempty = false;
|
||||
|
||||
o = s.option(form.Value, 'user_agent', _('User Agent'));
|
||||
o.default = 'clash';
|
||||
o.modalonly = true;
|
||||
o.rmempty = false;
|
||||
o.width = '15%';
|
||||
o.value('mihomo');
|
||||
o.value('clash.meta');
|
||||
o.value('clash');
|
||||
|
||||
o = s.option(form.ListValue, 'prefer', _('Prefer'));
|
||||
o.default = 'remote';
|
||||
o.modalonly = true;
|
||||
o.value('remote', _('Remote'));
|
||||
o.value('local', _('Local'));
|
||||
|
||||
o = s.option(form.Button, 'update_subscription');
|
||||
o.inputstyle = 'positive';
|
||||
o.inputtitle = _('Update');
|
||||
o.onclick = function (_, section_id) {
|
||||
return mihomo.updateSubscription(section_id);
|
||||
};
|
||||
|
||||
s = m.section(form.NamedSection, 'mixin', 'mixin', _('Mixin Config'));
|
||||
|
||||
s.tab('general', _('General Config'));
|
||||
@ -357,6 +381,7 @@ return view.extend({
|
||||
o.value('https://mirror.ghproxy.com/https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip', 'MetaCubeXD');
|
||||
o.value('https://mirror.ghproxy.com/https://github.com/MetaCubeX/Yacd-meta/archive/refs/heads/gh-pages.zip', 'YACD');
|
||||
o.value('https://mirror.ghproxy.com/https://github.com/MetaCubeX/Razord-meta/archive/refs/heads/gh-pages.zip', 'Razord');
|
||||
o.value('https://mirror.ghproxy.com/https://github.com/Zephyruso/sing-box-dashboard/archive/refs/heads/gh-pages.zip', 'SD');
|
||||
|
||||
o = s.taboption('external_control', form.Value, 'api_port', '*' + ' ' + _('API Port'));
|
||||
o.datatype = 'port';
|
||||
|
@ -1,33 +1,33 @@
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=UTF-8"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:359
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:386
|
||||
msgid "API Port"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:363
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:390
|
||||
msgid "API Secret"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:198
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:200
|
||||
msgid "Access Control"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:201
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:203
|
||||
msgid "All Mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:273
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:278
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:275
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:280
|
||||
msgid "All Port"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:372
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:399
|
||||
msgid "Allow Lan"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:202
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:468
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:204
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:495
|
||||
msgid "Allow Mode"
|
||||
msgstr ""
|
||||
|
||||
@ -43,7 +43,7 @@ msgstr ""
|
||||
msgid "App Version"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:330
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:356
|
||||
msgid "Auto"
|
||||
msgstr ""
|
||||
|
||||
@ -51,28 +51,28 @@ msgstr ""
|
||||
msgid "Basic Config"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:203
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:467
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:205
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:494
|
||||
msgid "Block Mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:252
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:254
|
||||
msgid "Bypass"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:268
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:270
|
||||
msgid "Bypass China Mainland IP"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:261
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:263
|
||||
msgid "Bypass Group"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:254
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:256
|
||||
msgid "Bypass User"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:113
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:111
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:25
|
||||
msgid "Choose Profile"
|
||||
msgstr ""
|
||||
@ -82,8 +82,8 @@ msgstr ""
|
||||
msgid "Clear Log"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:274
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:279
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:276
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:281
|
||||
msgid "Commonly Used Port"
|
||||
msgstr ""
|
||||
|
||||
@ -91,7 +91,7 @@ msgstr ""
|
||||
msgid "Config"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:108
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:148
|
||||
msgid "Core Environment Variable Config"
|
||||
msgstr ""
|
||||
|
||||
@ -111,110 +111,118 @@ msgstr ""
|
||||
msgid "Cron Expression"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:439
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:466
|
||||
msgid "DNS Config"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:445
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:472
|
||||
msgid "DNS Mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:441
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:468
|
||||
msgid "DNS Port"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:271
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:273
|
||||
msgid "Destination TCP Port to Proxy"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:276
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:278
|
||||
msgid "Destination UDP Port to Proxy"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:327
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:353
|
||||
msgid "Direct Mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:332
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:358
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:160
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:162
|
||||
msgid "Disable ECN of quic-go"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:156
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:158
|
||||
msgid "Disable GSO of quic-go"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:152
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:154
|
||||
msgid "Disable Loopback Detector"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:148
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:150
|
||||
msgid "Disable Safe Path Check"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:479
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:506
|
||||
msgid "DoH Prefer HTTP/3"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:505
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:532
|
||||
msgid "Domain Name"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:398
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:425
|
||||
msgid "Edit Authentications"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:461
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:488
|
||||
msgid "Edit Fake-IP Filters"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:494
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:521
|
||||
msgid "Edit Hosts"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:536
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:563
|
||||
msgid "Edit Nameserver Policies"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:513
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:540
|
||||
msgid "Edit Nameservers"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:287
|
||||
msgid "Edit Subscription"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/root/usr/share/luci/menu.d/luci-app-mihomo.json:22
|
||||
msgid "Editor"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:110
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:168
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:331
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:406
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:502
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:521
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:544
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:585
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:108
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:170
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:357
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:433
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:529
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:548
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:571
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:612
|
||||
msgid "Enable"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:436
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:463
|
||||
msgid "Endpoint Independent NAT"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:348
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:302
|
||||
msgid "Expire At"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:374
|
||||
msgid "External Control Config"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:471
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:498
|
||||
msgid "Fake-IP Cache"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:465
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:492
|
||||
msgid "Fake-IP Filter Mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:450
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:477
|
||||
msgid "Fake-IP Range"
|
||||
msgstr ""
|
||||
|
||||
@ -234,60 +242,60 @@ msgstr ""
|
||||
msgid "File for Reserved IP6"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:117
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:115
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:29
|
||||
msgid "File:"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:427
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:454
|
||||
msgid "GSO"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:430
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:457
|
||||
msgid "GSO Max Size"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:315
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:341
|
||||
msgid "General Config"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:558
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:585
|
||||
msgid "GeoData Loader"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:554
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:581
|
||||
msgid "GeoIP Format"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:571
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:598
|
||||
msgid "GeoIP(ASN) Url"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:568
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:595
|
||||
msgid "GeoIP(DAT) Url"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:565
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:592
|
||||
msgid "GeoIP(MMDB) Url"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:562
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:589
|
||||
msgid "GeoSite Url"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:574
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:601
|
||||
msgid "GeoX Auto Update"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:552
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:579
|
||||
msgid "GeoX Config"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:577
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:604
|
||||
msgid "GeoX Update Interval"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:325
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:351
|
||||
msgid "Global Mode"
|
||||
msgstr ""
|
||||
|
||||
@ -295,7 +303,7 @@ msgstr ""
|
||||
msgid "Grant access to mihomo procedures"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:375
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:402
|
||||
msgid "HTTP Port"
|
||||
msgstr ""
|
||||
|
||||
@ -303,44 +311,44 @@ msgstr ""
|
||||
msgid "How To Use"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:508
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:535
|
||||
msgid "IP"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:180
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:182
|
||||
msgid "IPv4 DNS Hijack"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:186
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:188
|
||||
msgid "IPv4 Proxy"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:337
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:482
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:363
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:509
|
||||
msgid "IPv6"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:183
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:185
|
||||
msgid "IPv6 DNS Hijack"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:189
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:191
|
||||
msgid "IPv6 Proxy"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:370
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:397
|
||||
msgid "Inbound Config"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:245
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:247
|
||||
msgid "Interface"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:195
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:197
|
||||
msgid "Lan Proxy"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:304
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:337
|
||||
msgid "Local"
|
||||
msgstr ""
|
||||
|
||||
@ -348,23 +356,23 @@ msgstr ""
|
||||
msgid "Log"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:317
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:343
|
||||
msgid "Log Level"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:423
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:450
|
||||
msgid "MTU"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:329
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:355
|
||||
msgid "Match Process"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:547
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:574
|
||||
msgid "Matcher"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:560
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:587
|
||||
msgid "Memory Conservative Loader"
|
||||
msgstr ""
|
||||
|
||||
@ -373,29 +381,29 @@ msgstr ""
|
||||
msgid "MihomoTProxy"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:383
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:410
|
||||
msgid "Mixed Port"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:127
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:125
|
||||
msgid "Mixin"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:313
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:339
|
||||
msgid "Mixin Config"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:583
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:610
|
||||
msgid "Mixin File Content"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:200
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:324
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:202
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:350
|
||||
msgid "Mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:531
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:550
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:558
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:577
|
||||
msgid "Nameserver"
|
||||
msgstr ""
|
||||
|
||||
@ -407,39 +415,39 @@ msgstr ""
|
||||
msgid "Open Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:334
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:360
|
||||
msgid "Outbound Interface"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:395
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:422
|
||||
msgid "Overwrite Authentication"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:456
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:483
|
||||
msgid "Overwrite Fake-IP Filter"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:491
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:518
|
||||
msgid "Overwrite Hosts"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:510
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:537
|
||||
msgid "Overwrite Nameserver"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:533
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:560
|
||||
msgid "Overwrite Nameserver Policy"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:412
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:439
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:585
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:612
|
||||
msgid "Please go to the editor tab to edit the file for mixin"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:301
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:333
|
||||
msgid "Prefer"
|
||||
msgstr ""
|
||||
|
||||
@ -447,15 +455,15 @@ msgstr ""
|
||||
msgid "Profile for Startup"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:164
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:166
|
||||
msgid "Proxy Config"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:172
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:174
|
||||
msgid "Redirect Mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:387
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:414
|
||||
msgid "Redirect Port"
|
||||
msgstr ""
|
||||
|
||||
@ -463,11 +471,11 @@ msgstr ""
|
||||
msgid "Reload Service"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:303
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:336
|
||||
msgid "Remote"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:476
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:503
|
||||
msgid "Respect Rules"
|
||||
msgstr ""
|
||||
|
||||
@ -475,11 +483,11 @@ msgstr ""
|
||||
msgid "Restart Service"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:192
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:194
|
||||
msgid "Router Proxy"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:326
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:352
|
||||
msgid "Rule Mode"
|
||||
msgstr ""
|
||||
|
||||
@ -487,11 +495,11 @@ msgstr ""
|
||||
msgid "Running"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:379
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:406
|
||||
msgid "SOCKS Port"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:367
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:394
|
||||
msgid "Save Proxy Selection"
|
||||
msgstr ""
|
||||
|
||||
@ -509,11 +517,11 @@ msgstr ""
|
||||
msgid "Service is not running."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:418
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:445
|
||||
msgid "Stack"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:559
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:586
|
||||
msgid "Standard Loader"
|
||||
msgstr ""
|
||||
|
||||
@ -521,7 +529,7 @@ msgstr ""
|
||||
msgid "Start Delay"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:107
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:128
|
||||
msgid "Startup Config"
|
||||
msgstr ""
|
||||
|
||||
@ -529,50 +537,50 @@ msgstr ""
|
||||
msgid "Status"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:281
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:283
|
||||
msgid "Subscription Config"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:286
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:289
|
||||
msgid "Subscription Name"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:290
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:321
|
||||
msgid "Subscription Url"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:121
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:119
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:33
|
||||
msgid "Subscription:"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:340
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:366
|
||||
msgid "TCP Keep Alive Idle"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:344
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:370
|
||||
msgid "TCP Keep Alive Interval"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:171
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:173
|
||||
msgid "TCP Proxy Mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:173
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:177
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:175
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:179
|
||||
msgid "TPROXY Mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:391
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:418
|
||||
msgid "TPROXY Port"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:416
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:443
|
||||
msgid "TUN Config"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:174
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:178
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:176
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:180
|
||||
msgid "TUN Mode"
|
||||
msgstr ""
|
||||
|
||||
@ -580,7 +588,11 @@ msgstr ""
|
||||
msgid "Test Profile"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:166
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:297
|
||||
msgid "Total"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:168
|
||||
msgid "Transparent Proxy"
|
||||
msgstr ""
|
||||
|
||||
@ -588,19 +600,19 @@ msgstr ""
|
||||
msgid "Transparent Proxy with Mihomo on OpenWrt."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:524
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:551
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:176
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:178
|
||||
msgid "UDP Proxy Mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:350
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:376
|
||||
msgid "UI Name"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:353
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:379
|
||||
msgid "UI Url"
|
||||
msgstr ""
|
||||
|
||||
@ -609,30 +621,38 @@ msgstr ""
|
||||
msgid "Unknown"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:308
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:315
|
||||
msgid "Update"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:307
|
||||
msgid "Update At"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:93
|
||||
msgid "Update Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:124
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:122
|
||||
msgid "Upload Profile"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:488
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:515
|
||||
msgid "Use Hosts"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:485
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:512
|
||||
msgid "Use System Hosts"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:293
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:292
|
||||
msgid "Used"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:325
|
||||
msgid "User Agent"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:409
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:436
|
||||
msgid "Username"
|
||||
msgstr ""
|
||||
|
@ -8,33 +8,33 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:359
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:386
|
||||
msgid "API Port"
|
||||
msgstr "API 端口"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:363
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:390
|
||||
msgid "API Secret"
|
||||
msgstr "API 密钥"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:198
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:200
|
||||
msgid "Access Control"
|
||||
msgstr "访问控制"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:201
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:203
|
||||
msgid "All Mode"
|
||||
msgstr "全部模式"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:273
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:278
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:275
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:280
|
||||
msgid "All Port"
|
||||
msgstr "全部端口"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:372
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:399
|
||||
msgid "Allow Lan"
|
||||
msgstr "允许局域网访问"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:202
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:468
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:204
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:495
|
||||
msgid "Allow Mode"
|
||||
msgstr "白名单模式"
|
||||
|
||||
@ -50,7 +50,7 @@ msgstr "插件日志"
|
||||
msgid "App Version"
|
||||
msgstr "插件版本"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:330
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:356
|
||||
msgid "Auto"
|
||||
msgstr "自动"
|
||||
|
||||
@ -58,28 +58,28 @@ msgstr "自动"
|
||||
msgid "Basic Config"
|
||||
msgstr "基础配置"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:203
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:467
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:205
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:494
|
||||
msgid "Block Mode"
|
||||
msgstr "黑名单模式"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:252
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:254
|
||||
msgid "Bypass"
|
||||
msgstr "绕过"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:268
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:270
|
||||
msgid "Bypass China Mainland IP"
|
||||
msgstr "绕过中国大陆 IP"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:261
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:263
|
||||
msgid "Bypass Group"
|
||||
msgstr "绕过用户组"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:254
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:256
|
||||
msgid "Bypass User"
|
||||
msgstr "绕过用户"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:113
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:111
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:25
|
||||
msgid "Choose Profile"
|
||||
msgstr "选择配置文件"
|
||||
@ -89,8 +89,8 @@ msgstr "选择配置文件"
|
||||
msgid "Clear Log"
|
||||
msgstr "清空日志"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:274
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:279
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:276
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:281
|
||||
msgid "Commonly Used Port"
|
||||
msgstr "常用端口"
|
||||
|
||||
@ -98,7 +98,7 @@ msgstr "常用端口"
|
||||
msgid "Config"
|
||||
msgstr "配置"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:108
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:148
|
||||
msgid "Core Environment Variable Config"
|
||||
msgstr "核心环境变量配置"
|
||||
|
||||
@ -118,110 +118,118 @@ msgstr "核心版本"
|
||||
msgid "Cron Expression"
|
||||
msgstr "Cron 表达式"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:439
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:466
|
||||
msgid "DNS Config"
|
||||
msgstr "DNS 配置"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:445
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:472
|
||||
msgid "DNS Mode"
|
||||
msgstr "DNS 模式"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:441
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:468
|
||||
msgid "DNS Port"
|
||||
msgstr "DNS 端口"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:271
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:273
|
||||
msgid "Destination TCP Port to Proxy"
|
||||
msgstr "要代理的 TCP 目标端口"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:276
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:278
|
||||
msgid "Destination UDP Port to Proxy"
|
||||
msgstr "要代理的 UDP 目标端口"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:327
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:353
|
||||
msgid "Direct Mode"
|
||||
msgstr "直连模式"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:332
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:358
|
||||
msgid "Disable"
|
||||
msgstr "禁用"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:160
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:162
|
||||
msgid "Disable ECN of quic-go"
|
||||
msgstr "禁用 quic-go 的显式拥塞通告"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:156
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:158
|
||||
msgid "Disable GSO of quic-go"
|
||||
msgstr "禁用 quic-go 的通用分段卸载"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:152
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:154
|
||||
msgid "Disable Loopback Detector"
|
||||
msgstr "禁用回环检测"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:148
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:150
|
||||
msgid "Disable Safe Path Check"
|
||||
msgstr "禁用安全路径检查"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:479
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:506
|
||||
msgid "DoH Prefer HTTP/3"
|
||||
msgstr "DoH 优先 HTTP/3"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:505
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:532
|
||||
msgid "Domain Name"
|
||||
msgstr "域名"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:398
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:425
|
||||
msgid "Edit Authentications"
|
||||
msgstr "编辑身份验证"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:461
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:488
|
||||
msgid "Edit Fake-IP Filters"
|
||||
msgstr "编辑 Fake-IP 过滤列表"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:494
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:521
|
||||
msgid "Edit Hosts"
|
||||
msgstr "编辑 Hosts"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:536
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:563
|
||||
msgid "Edit Nameserver Policies"
|
||||
msgstr "编辑 DNS 服务器查询策略"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:513
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:540
|
||||
msgid "Edit Nameservers"
|
||||
msgstr "编辑 DNS 服务器"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:287
|
||||
msgid "Edit Subscription"
|
||||
msgstr "编辑订阅"
|
||||
|
||||
#: applications/luci-app-mihomo/root/usr/share/luci/menu.d/luci-app-mihomo.json:22
|
||||
msgid "Editor"
|
||||
msgstr "编辑器"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:110
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:168
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:331
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:406
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:502
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:521
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:544
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:585
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:108
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:170
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:357
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:433
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:529
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:548
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:571
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:612
|
||||
msgid "Enable"
|
||||
msgstr "启用"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:436
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:463
|
||||
msgid "Endpoint Independent NAT"
|
||||
msgstr "独立于端点的 NAT"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:348
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:302
|
||||
msgid "Expire At"
|
||||
msgstr "到期时间"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:374
|
||||
msgid "External Control Config"
|
||||
msgstr "外部控制配置"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:471
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:498
|
||||
msgid "Fake-IP Cache"
|
||||
msgstr "Fake-IP 缓存"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:465
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:492
|
||||
msgid "Fake-IP Filter Mode"
|
||||
msgstr "Fake-IP 过滤模式"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:450
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:477
|
||||
msgid "Fake-IP Range"
|
||||
msgstr "Fake-IP 范围"
|
||||
|
||||
@ -241,60 +249,60 @@ msgstr "IPv4 保留地址"
|
||||
msgid "File for Reserved IP6"
|
||||
msgstr "IPv6 保留地址"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:117
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:115
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:29
|
||||
msgid "File:"
|
||||
msgstr "文件:"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:427
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:454
|
||||
msgid "GSO"
|
||||
msgstr "通用分段卸载"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:430
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:457
|
||||
msgid "GSO Max Size"
|
||||
msgstr "分段最大长度"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:315
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:341
|
||||
msgid "General Config"
|
||||
msgstr "全局配置"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:558
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:585
|
||||
msgid "GeoData Loader"
|
||||
msgstr "GeoData 加载器"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:554
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:581
|
||||
msgid "GeoIP Format"
|
||||
msgstr "GeoIP 格式"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:571
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:598
|
||||
msgid "GeoIP(ASN) Url"
|
||||
msgstr "GeoIP(ASN) 下载地址"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:568
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:595
|
||||
msgid "GeoIP(DAT) Url"
|
||||
msgstr "GeoIP(DAT) 下载地址"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:565
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:592
|
||||
msgid "GeoIP(MMDB) Url"
|
||||
msgstr "GeoIP(MMDB) 下载地址"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:562
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:589
|
||||
msgid "GeoSite Url"
|
||||
msgstr "GeoSite 下载地址"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:574
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:601
|
||||
msgid "GeoX Auto Update"
|
||||
msgstr "定时更新GeoX文件"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:552
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:579
|
||||
msgid "GeoX Config"
|
||||
msgstr "GeoX 配置"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:577
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:604
|
||||
msgid "GeoX Update Interval"
|
||||
msgstr "GeoX 文件更新间隔"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:325
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:351
|
||||
msgid "Global Mode"
|
||||
msgstr "全局模式"
|
||||
|
||||
@ -302,7 +310,7 @@ msgstr "全局模式"
|
||||
msgid "Grant access to mihomo procedures"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:375
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:402
|
||||
msgid "HTTP Port"
|
||||
msgstr "HTTP 端口"
|
||||
|
||||
@ -310,44 +318,44 @@ msgstr "HTTP 端口"
|
||||
msgid "How To Use"
|
||||
msgstr "使用说明"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:508
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:535
|
||||
msgid "IP"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:180
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:182
|
||||
msgid "IPv4 DNS Hijack"
|
||||
msgstr "IPv4 DNS 劫持"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:186
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:188
|
||||
msgid "IPv4 Proxy"
|
||||
msgstr "IPv4 代理"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:337
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:482
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:363
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:509
|
||||
msgid "IPv6"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:183
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:185
|
||||
msgid "IPv6 DNS Hijack"
|
||||
msgstr "IPv6 DNS 劫持"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:189
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:191
|
||||
msgid "IPv6 Proxy"
|
||||
msgstr "IPv6 代理"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:370
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:397
|
||||
msgid "Inbound Config"
|
||||
msgstr "入站配置"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:245
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:247
|
||||
msgid "Interface"
|
||||
msgstr "接口"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:195
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:197
|
||||
msgid "Lan Proxy"
|
||||
msgstr "局域网代理"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:304
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:337
|
||||
msgid "Local"
|
||||
msgstr "本地"
|
||||
|
||||
@ -355,23 +363,23 @@ msgstr "本地"
|
||||
msgid "Log"
|
||||
msgstr "日志"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:317
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:343
|
||||
msgid "Log Level"
|
||||
msgstr "日志级别"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:423
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:450
|
||||
msgid "MTU"
|
||||
msgstr "最大传输单元"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:329
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:355
|
||||
msgid "Match Process"
|
||||
msgstr "匹配进程"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:547
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:574
|
||||
msgid "Matcher"
|
||||
msgstr "匹配"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:560
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:587
|
||||
msgid "Memory Conservative Loader"
|
||||
msgstr "为内存受限设备优化的加载器"
|
||||
|
||||
@ -380,29 +388,29 @@ msgstr "为内存受限设备优化的加载器"
|
||||
msgid "MihomoTProxy"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:383
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:410
|
||||
msgid "Mixed Port"
|
||||
msgstr "混合端口"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:127
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:125
|
||||
msgid "Mixin"
|
||||
msgstr "混入"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:313
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:339
|
||||
msgid "Mixin Config"
|
||||
msgstr "混入配置"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:583
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:610
|
||||
msgid "Mixin File Content"
|
||||
msgstr "混入文件内容"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:200
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:324
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:202
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:350
|
||||
msgid "Mode"
|
||||
msgstr "模式"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:531
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:550
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:558
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:577
|
||||
msgid "Nameserver"
|
||||
msgstr "DNS 服务器"
|
||||
|
||||
@ -414,39 +422,39 @@ msgstr "未在运行"
|
||||
msgid "Open Dashboard"
|
||||
msgstr "打开面板"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:334
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:360
|
||||
msgid "Outbound Interface"
|
||||
msgstr "出站接口"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:395
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:422
|
||||
msgid "Overwrite Authentication"
|
||||
msgstr "覆盖身份验证"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:456
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:483
|
||||
msgid "Overwrite Fake-IP Filter"
|
||||
msgstr "覆盖 Fake-IP 过滤列表"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:491
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:518
|
||||
msgid "Overwrite Hosts"
|
||||
msgstr "覆盖 Hosts"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:510
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:537
|
||||
msgid "Overwrite Nameserver"
|
||||
msgstr "覆盖 DNS 服务器"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:533
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:560
|
||||
msgid "Overwrite Nameserver Policy"
|
||||
msgstr "覆盖 DNS 服务器查询策略"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:412
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:439
|
||||
msgid "Password"
|
||||
msgstr "密码"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:585
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:612
|
||||
msgid "Please go to the editor tab to edit the file for mixin"
|
||||
msgstr "请前往编辑器标签编辑用于混入的文件"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:301
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:333
|
||||
msgid "Prefer"
|
||||
msgstr "优先"
|
||||
|
||||
@ -454,15 +462,15 @@ msgstr "优先"
|
||||
msgid "Profile for Startup"
|
||||
msgstr "用于启动的配置文件"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:164
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:166
|
||||
msgid "Proxy Config"
|
||||
msgstr "代理配置"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:172
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:174
|
||||
msgid "Redirect Mode"
|
||||
msgstr "Redirect 模式"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:387
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:414
|
||||
msgid "Redirect Port"
|
||||
msgstr "Redirect 端口"
|
||||
|
||||
@ -470,11 +478,11 @@ msgstr "Redirect 端口"
|
||||
msgid "Reload Service"
|
||||
msgstr "重载服务"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:303
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:336
|
||||
msgid "Remote"
|
||||
msgstr "远程"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:476
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:503
|
||||
msgid "Respect Rules"
|
||||
msgstr "遵循分流规则"
|
||||
|
||||
@ -482,11 +490,11 @@ msgstr "遵循分流规则"
|
||||
msgid "Restart Service"
|
||||
msgstr "重启服务"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:192
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:194
|
||||
msgid "Router Proxy"
|
||||
msgstr "路由器代理"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:326
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:352
|
||||
msgid "Rule Mode"
|
||||
msgstr "规则模式"
|
||||
|
||||
@ -494,11 +502,11 @@ msgstr "规则模式"
|
||||
msgid "Running"
|
||||
msgstr "运行中"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:379
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:406
|
||||
msgid "SOCKS Port"
|
||||
msgstr "SOCKS 端口"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:367
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:394
|
||||
msgid "Save Proxy Selection"
|
||||
msgstr "保存节点/策略组选择"
|
||||
|
||||
@ -516,11 +524,11 @@ msgstr "滚动到底部"
|
||||
msgid "Service is not running."
|
||||
msgstr "服务未在运行。"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:418
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:445
|
||||
msgid "Stack"
|
||||
msgstr "栈"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:559
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:586
|
||||
msgid "Standard Loader"
|
||||
msgstr "标准加载器"
|
||||
|
||||
@ -528,7 +536,7 @@ msgstr "标准加载器"
|
||||
msgid "Start Delay"
|
||||
msgstr "启动延迟"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:107
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:128
|
||||
msgid "Startup Config"
|
||||
msgstr "启动配置"
|
||||
|
||||
@ -536,50 +544,50 @@ msgstr "启动配置"
|
||||
msgid "Status"
|
||||
msgstr "状态"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:281
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:283
|
||||
msgid "Subscription Config"
|
||||
msgstr "订阅配置"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:286
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:289
|
||||
msgid "Subscription Name"
|
||||
msgstr "订阅名称"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:290
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:321
|
||||
msgid "Subscription Url"
|
||||
msgstr "订阅链接"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:121
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:119
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/editor.js:33
|
||||
msgid "Subscription:"
|
||||
msgstr "订阅:"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:340
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:366
|
||||
msgid "TCP Keep Alive Idle"
|
||||
msgstr "TCP Keep Alive 空闲"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:344
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:370
|
||||
msgid "TCP Keep Alive Interval"
|
||||
msgstr "TCP Keep Alive 间隔"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:171
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:173
|
||||
msgid "TCP Proxy Mode"
|
||||
msgstr "TCP 代理模式"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:173
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:177
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:175
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:179
|
||||
msgid "TPROXY Mode"
|
||||
msgstr "TPROXY 模式"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:391
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:418
|
||||
msgid "TPROXY Port"
|
||||
msgstr "TPROXY 端口"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:416
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:443
|
||||
msgid "TUN Config"
|
||||
msgstr "TUN 配置"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:174
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:178
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:176
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:180
|
||||
msgid "TUN Mode"
|
||||
msgstr "TUN 模式"
|
||||
|
||||
@ -587,7 +595,11 @@ msgstr "TUN 模式"
|
||||
msgid "Test Profile"
|
||||
msgstr "检查配置文件"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:166
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:297
|
||||
msgid "Total"
|
||||
msgstr "总量"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:168
|
||||
msgid "Transparent Proxy"
|
||||
msgstr "透明代理"
|
||||
|
||||
@ -595,19 +607,19 @@ msgstr "透明代理"
|
||||
msgid "Transparent Proxy with Mihomo on OpenWrt."
|
||||
msgstr "在 OpenWrt 上使用 Mihomo 进行透明代理。"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:524
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:551
|
||||
msgid "Type"
|
||||
msgstr "类型"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:176
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:178
|
||||
msgid "UDP Proxy Mode"
|
||||
msgstr "UDP 代理模式"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:350
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:376
|
||||
msgid "UI Name"
|
||||
msgstr "UI 名称"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:353
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:379
|
||||
msgid "UI Url"
|
||||
msgstr "UI 下载地址"
|
||||
|
||||
@ -616,30 +628,38 @@ msgstr "UI 下载地址"
|
||||
msgid "Unknown"
|
||||
msgstr "未知"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:308
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:315
|
||||
msgid "Update"
|
||||
msgstr "更新"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:307
|
||||
msgid "Update At"
|
||||
msgstr "更新时间"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:93
|
||||
msgid "Update Dashboard"
|
||||
msgstr "更新面板"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:124
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:122
|
||||
msgid "Upload Profile"
|
||||
msgstr "上传配置文件"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:488
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:515
|
||||
msgid "Use Hosts"
|
||||
msgstr "使用 Hosts"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:485
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:512
|
||||
msgid "Use System Hosts"
|
||||
msgstr "使用系统的 Hosts"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:293
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:292
|
||||
msgid "Used"
|
||||
msgstr "已使用"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:325
|
||||
msgid "User Agent"
|
||||
msgstr "用户代理(UA)"
|
||||
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:409
|
||||
#: applications/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js:436
|
||||
msgid "Username"
|
||||
msgstr "用户名"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. $IPKG_INSTROOT/etc/mihomo/scripts/constants.sh
|
||||
. $IPKG_INSTROOT/etc/mihomo/scripts/include.sh
|
||||
|
||||
action=$1
|
||||
shift
|
||||
|
@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mihomo
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/MetaCubeX/mihomo.git
|
||||
@ -59,8 +59,8 @@ define Package/mihomo/install
|
||||
|
||||
$(INSTALL_DATA) $(CURDIR)/files/mixin.yaml $(1)/etc/mihomo/mixin.yaml
|
||||
|
||||
$(INSTALL_BIN) $(CURDIR)/files/scripts/constants.sh $(1)/etc/mihomo/scripts/constants.sh
|
||||
$(INSTALL_BIN) $(CURDIR)/files/scripts/tun.sh $(1)/etc/mihomo/scripts/tun.sh
|
||||
$(INSTALL_BIN) $(CURDIR)/files/scripts/include.sh $(1)/etc/mihomo/scripts/include.sh
|
||||
$(INSTALL_BIN) $(CURDIR)/files/scripts/firewall_include.sh $(1)/etc/mihomo/scripts/firewall_include.sh
|
||||
|
||||
$(INSTALL_BIN) $(CURDIR)/files/nftables/hijack.nft $(1)/etc/mihomo/nftables/hijack.nft
|
||||
$(INSTALL_BIN) $(CURDIR)/files/nftables/reserved_ip.nft $(1)/etc/mihomo/nftables/reserved_ip.nft
|
||||
|
@ -5,7 +5,7 @@ STOP=10
|
||||
USE_PROCD=1
|
||||
|
||||
. "$IPKG_INSTROOT/lib/functions/network.sh"
|
||||
. "$IPKG_INSTROOT/etc/mihomo/scripts/constants.sh"
|
||||
. "$IPKG_INSTROOT/etc/mihomo/scripts/include.sh"
|
||||
|
||||
extra_command 'update_subscription' 'Update subscription by section id'
|
||||
|
||||
@ -18,7 +18,7 @@ boot() {
|
||||
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
|
||||
if [[ "$enabled" == 1 && "$start_delay" -gt 0 ]]; then
|
||||
log "App will start after $start_delay seconds."
|
||||
sleep "$start_delay"
|
||||
fi
|
||||
@ -159,22 +159,8 @@ start_service() {
|
||||
cp -f "$profile_file" "$RUN_PROFILE_PATH"
|
||||
elif [[ "$profile" == "subscription:"* ]]; then
|
||||
local subscription_section; subscription_section="${profile/subscription:/}"
|
||||
local subscription_name subscription_url subscription_user_agent subscription_prefer
|
||||
config_get subscription_name "$subscription_section" "name"
|
||||
config_get subscription_url "$subscription_section" "url"
|
||||
config_get subscription_user_agent "$subscription_section" "user_agent"
|
||||
config_get subscription_prefer "$subscription_section" "prefer" "remote"
|
||||
log "Use Subscription: $subscription_name."
|
||||
local subscription_tmpfile; subscription_tmpfile="/tmp/$subscription_section.yaml"
|
||||
local subscription_file; subscription_file="$SUBSCRIPTIONS_DIR/$subscription_section.yaml"
|
||||
if [ "$subscription_prefer" == "remote" ] || [[ "$subscription_prefer" == "local" && ! -f "$subscription_file" ]]; then
|
||||
if (curl -s -f --connect-timeout 15 --retry 3 -o "$subscription_tmpfile" -L -H "User-Agent: $subscription_user_agent" "$subscription_url"); then
|
||||
log "Subscription download succeed."
|
||||
cp -f "$subscription_tmpfile" "$subscription_file"
|
||||
else
|
||||
log "Subscription download failed, fallback to subscription file."
|
||||
fi
|
||||
fi
|
||||
update_subscription "$subscription_section"
|
||||
if [ ! -f "$subscription_file" ]; then
|
||||
log "Subscription file not found."
|
||||
log "Exiting..."
|
||||
@ -244,8 +230,7 @@ start_service() {
|
||||
fi
|
||||
yq -M -i 'del (.bind-address)' "$RUN_PROFILE_PATH"
|
||||
if [ -n "$outbound_interface" ]; then
|
||||
local outbound_device
|
||||
network_get_device outbound_device "$outbound_interface"
|
||||
local outbound_device; network_get_device outbound_device "$outbound_interface"
|
||||
if [ -n "$outbound_device" ]; then
|
||||
outbound_device="$outbound_device" yq -M -i '.interface-name = env(outbound_device)' "$RUN_PROFILE_PATH"
|
||||
fi
|
||||
@ -313,7 +298,7 @@ start_service() {
|
||||
if [ "$ipv6_proxy" == 1 ]; then
|
||||
ip -6 route add unicast default dev "$TUN_DEVICE" table "$TUN_ROUTE_TABLE"
|
||||
fi
|
||||
$TUN_SH
|
||||
$FIREWALL_INCLUDE_SH
|
||||
fi
|
||||
local tcp_route_table
|
||||
if [ "$tcp_transparent_proxy_mode" == "tproxy" ]; then
|
||||
@ -635,14 +620,56 @@ add_acl_interface() {
|
||||
|
||||
update_subscription() {
|
||||
local subscription_section; subscription_section="$1"
|
||||
if [ -n "$subscription_section" ]; then
|
||||
config_load mihomo
|
||||
local profile subscription_name subscription_url subscription_user_agent
|
||||
config_get profile "config" "profile"
|
||||
config_get subscription_name "$subscription_section" "name"
|
||||
config_get subscription_url "$subscription_section" "url"
|
||||
config_get subscription_user_agent "$subscription_section" "user_agent"
|
||||
local subscription_file; subscription_file="$SUBSCRIPTIONS_DIR/$subscription_section.yaml"
|
||||
curl -s -f --connect-timeout 15 --retry 3 -o "$subscription_file" -L -H "User-Agent: $subscription_user_agent" "$subscription_url"
|
||||
if [ -z "$subscription_section" ]; then
|
||||
return
|
||||
fi
|
||||
config_load mihomo
|
||||
local subscription_name subscription_url subscription_user_agent
|
||||
config_get subscription_name "$subscription_section" "name"
|
||||
config_get subscription_url "$subscription_section" "url"
|
||||
config_get subscription_user_agent "$subscription_section" "user_agent"
|
||||
log "Update Subscription: $subscription_name."
|
||||
local subscription_header_tmpfile; subscription_header_tmpfile="/tmp/$subscription_section.header"
|
||||
local subscription_tmpfile; subscription_tmpfile="/tmp/$subscription_section.yaml"
|
||||
local subscription_file; subscription_file="$SUBSCRIPTIONS_DIR/$subscription_section.yaml"
|
||||
if (curl -s -f --connect-timeout 15 --retry 3 -L -X GET -H "User-Agent: $subscription_user_agent" -D "$subscription_header_tmpfile" -o "$subscription_tmpfile" "$subscription_url"); then
|
||||
log "Subscription update succeed."
|
||||
local subscription_expire subscription_upload subscription_download subscription_total subscription_used subscription_avaliable
|
||||
subscription_expire=$(grep "subscription-userinfo: " "$subscription_header_tmpfile" | grep -o -E "expire=[[:digit:]]+" | cut -d '=' -f 2)
|
||||
subscription_upload=$(grep "subscription-userinfo: " "$subscription_header_tmpfile" | grep -o -E "upload=[[:digit:]]+" | cut -d '=' -f 2)
|
||||
subscription_download=$(grep "subscription-userinfo: " "$subscription_header_tmpfile" | grep -o -E "download=[[:digit:]]+" | cut -d '=' -f 2)
|
||||
subscription_total=$(grep "subscription-userinfo: " "$subscription_header_tmpfile" | grep -o -E "total=[[:digit:]]+" | cut -d '=' -f 2)
|
||||
if [[ -n "$subscription_upload" && -n "$subscription_download" ]]; then
|
||||
subscription_used=$((subscription_upload + subscription_download))
|
||||
if [ -n "$subscription_total" ]; then
|
||||
subscription_avaliable=$((subscription_total - subscription_upload - subscription_download))
|
||||
fi
|
||||
fi
|
||||
if [ -n "$subscription_expire" ]; then
|
||||
uci_set "mihomo" "$subscription_section" "expire" "$(date "+%Y-%m-%d %H:%M:%S" -d @$subscription_expire)"
|
||||
fi
|
||||
if [ -n "$subscription_upload" ]; then
|
||||
uci_set "mihomo" "$subscription_section" "upload" "$(format_filesize $subscription_upload)"
|
||||
fi
|
||||
if [ -n "$subscription_download" ]; then
|
||||
uci_set "mihomo" "$subscription_section" "download" "$(format_filesize $subscription_download)"
|
||||
fi
|
||||
if [ -n "$subscription_total" ]; then
|
||||
uci_set "mihomo" "$subscription_section" "total" "$(format_filesize $subscription_total)"
|
||||
fi
|
||||
if [ -n "$subscription_used" ]; then
|
||||
uci_set "mihomo" "$subscription_section" "used" "$(format_filesize $subscription_used)"
|
||||
fi
|
||||
if [ -n "$subscription_avaliable" ]; then
|
||||
uci_set "mihomo" "$subscription_section" "avaliable" "$(format_filesize $subscription_avaliable)"
|
||||
fi
|
||||
uci_set "mihomo" "$subscription_section" "update" "$(date "+%Y-%m-%d %H:%M:%S")"
|
||||
uci_commit "mihomo"
|
||||
rm -f "$subscription_header_tmpfile"
|
||||
mv -f "$subscription_tmpfile" "$subscription_file"
|
||||
else
|
||||
log "Subscription update failed."
|
||||
rm -f "$subscription_header_tmpfile"
|
||||
rm -f "$subscription_tmpfile"
|
||||
fi
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
. "$IPKG_INSTROOT/lib/functions.sh"
|
||||
. "$IPKG_INSTROOT/etc/mihomo/scripts/constants.sh"
|
||||
. "$IPKG_INSTROOT/etc/mihomo/scripts/include.sh"
|
||||
|
||||
config_load mihomo
|
||||
config_get enabled "config" "enabled" 0
|
@ -29,7 +29,8 @@ CORE_LOG_PATH="$LOG_DIR/core.log"
|
||||
|
||||
# scripts
|
||||
SH_DIR="$HOME_DIR/scripts"
|
||||
TUN_SH="$SH_DIR/tun.sh"
|
||||
INCLUDE_SH="$SH_DIR/include.sh"
|
||||
FIREWALL_INCLUDE_SH="$SH_DIR/firewall_include.sh"
|
||||
|
||||
# nftables
|
||||
NFT_DIR="$HOME_DIR/nftables"
|
||||
@ -38,3 +39,28 @@ RESERVED_IP_NFT="$NFT_DIR/reserved_ip.nft"
|
||||
RESERVED_IP6_NFT="$NFT_DIR/reserved_ip6.nft"
|
||||
GEOIP_CN_NFT="$NFT_DIR/geoip_cn.nft"
|
||||
GEOIP6_CN_NFT="$NFT_DIR/geoip6_cn.nft"
|
||||
|
||||
# functions
|
||||
format_filesize() {
|
||||
local kb; kb=1024
|
||||
local mb; mb=$((kb * 1024))
|
||||
local gb; gb=$((mb * 1024))
|
||||
local tb; tb=$((gb * 1024))
|
||||
local pb; pb=$((tb * 1024))
|
||||
local size; size="$1"
|
||||
if [ -z "$size" ]; then
|
||||
echo ""
|
||||
elif [ "$size" -lt "$kb" ]; then
|
||||
echo "$size B"
|
||||
elif [ "$size" -lt "$mb" ]; then
|
||||
echo "$(awk "BEGIN {print $size / $kb}") KB"
|
||||
elif [ "$size" -lt "$gb" ]; then
|
||||
echo "$(awk "BEGIN {print $size / $mb}") MB"
|
||||
elif [ "$size" -lt "$tb" ]; then
|
||||
echo "$(awk "BEGIN {print $size / $gb}") GB"
|
||||
elif [ "$size" -lt "$pb" ]; then
|
||||
echo "$(awk "BEGIN {print $size / $tb}") TB"
|
||||
else
|
||||
echo "$(awk "BEGIN {print $size / $pb}") PB"
|
||||
fi
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
. "$IPKG_INSTROOT/etc/mihomo/scripts/constants.sh"
|
||||
. "$IPKG_INSTROOT/etc/mihomo/scripts/include.sh"
|
||||
|
||||
uci -q batch <<-EOF > /dev/null
|
||||
del firewall.mihomo
|
||||
set firewall.mihomo=include
|
||||
set firewall.mihomo.type=script
|
||||
set firewall.mihomo.path=$TUN_SH
|
||||
set firewall.mihomo.path=$FIREWALL_INCLUDE_SH
|
||||
set firewall.mihomo.fw4_compatible=1
|
||||
commit firewall
|
||||
EOF
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. "$IPKG_INSTROOT/etc/mihomo/scripts/constants.sh"
|
||||
. "$IPKG_INSTROOT/etc/mihomo/scripts/include.sh"
|
||||
|
||||
# check mihomo.config.init
|
||||
init=$(uci -q get mihomo.config.init); [ -z "$init" ] && return
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. "$IPKG_INSTROOT/etc/mihomo/scripts/constants.sh"
|
||||
. "$IPKG_INSTROOT/etc/mihomo/scripts/include.sh"
|
||||
|
||||
# since v1.8.4
|
||||
|
||||
|
@ -10,11 +10,11 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_ARCH_quickstart:=$(ARCH)
|
||||
|
||||
PKG_NAME:=quickstart
|
||||
PKG_VERSION:=0.9.4
|
||||
PKG_VERSION:=0.9.5
|
||||
PKG_RELEASE:=1
|
||||
PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/linkease/istore-packages/releases/download/prebuilt/
|
||||
PKG_HASH:=11da47a32c15dffcf44ee04e2156dc305b8354985bf1551b24d735fe56777c0b
|
||||
PKG_HASH:=a8ddffdf0f7b46decb6e95c6c1b6ef72bd639e8cd693eeb34a07fb581a4cea99
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION)
|
||||
|
||||
|
@ -6,12 +6,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=sing-box
|
||||
PKG_VERSION:=1.10.1
|
||||
PKG_VERSION:=1.10.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/SagerNet/sing-box/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=7ec6bfe18522f34c0c53aad7b2de2e1967f66c4091baf5674acecd78f0b81aac
|
||||
PKG_HASH:=cae964985e6f27a1ddefc074849a950437e27ef5bfb44847d5ce5d5b2a1b7a27
|
||||
|
||||
PKG_LICENSE:=GPL-3.0-or-later
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user