update 2023-01-15 08:51:40

This commit is contained in:
github-actions[bot] 2023-01-15 08:51:40 +08:00
parent 2262f88061
commit 0a2f821524
6 changed files with 466 additions and 51 deletions

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,6 @@ return view.extend({
}, },
render: function(data) { render: function(data) {
var m, s, o; var m, s, o;
var has_wifi = false; var has_wifi = false;
@ -26,7 +25,7 @@ return view.extend({
has_wifi = true; has_wifi = true;
} }
m = new form.Map('wizard', [_('Inital Router Setup')], m = new form.Map('wizard', [_('Initial Router Setup')],
_('If you are using this router for the first time, please configure it here.')); _('If you are using this router for the first time, please configure it here.'));
s = m.section(form.NamedSection, 'default', 'wizard'); s = m.section(form.NamedSection, 'default', 'wizard');
@ -55,26 +54,28 @@ return view.extend({
o.value('255.0.0.0'); o.value('255.0.0.0');
o.default = '255.255.255.0'; o.default = '255.255.255.0';
o = s.taboption('netsetup', form.DynamicList, 'lan_dns', _('Use custom DNS servers'), _('留空则使用阿里DNS 223.5.5.5')); o = s.taboption('netsetup', form.DynamicList, 'lan_dns', _('Use custom DNS servers'), _('Leave empty to use ISP DNS'));
o.datatype = 'ip4addr'; o.datatype = 'ip4addr';
o.cast = 'string'; o.cast = 'string';
o = s.taboption('netsetup', form.Flag, 'siderouter', _('Siderouter')); o = s.taboption('netsetup', form.Flag, 'siderouter', _('Siderouter'),
_('Use as downstream router i.e. it will work like a switch'));
o.rmempty = false; o.rmempty = false;
o = s.taboption('netsetup', form.Value, 'lan_gateway', _('IPv4 gateway')); o = s.taboption('netsetup', form.Value, 'lan_gateway', _('IPv4 gateway'));
o.depends('siderouter', '1'); o.depends('siderouter', '1');
o.datatype = 'ip4addr'; o.datatype = 'ip4addr';
o.placeholder = '请输入主路由IP'; o.placeholder = _('Enter the main router IP');
o.rmempty = false; o.rmempty = false;
o = s.taboption('netsetup', form.Flag, 'dhcp', _('DHCP Server'), _('开启此DHCP则需要关闭主路由的DHCP, 关闭此DHCP则需要手动将所有上网设备的网关和DNS改为此旁路由的IP')); o = s.taboption('netsetup', form.Flag, 'dhcp', _('DHCP Server'),
_('To turn on this DHCP, you need to turn off the DHCP of the main router, and to turn off this DHCP, you need to manually change the gateway and DNS of all Internet devices to the IP of this bypass router'));
o.depends('siderouter', '1'); o.depends('siderouter', '1');
o.default = o.enabled; o.default = o.enabled;
o = s.taboption('netsetup', form.Flag, 'ipv6', _('Enable IPv6'), _('Enable/Disable IPv6')); o = s.taboption('netsetup', form.Flag, 'ipv6', _('Enable IPv6'), _('Enable/Disable IPv6'));
o.default = o.enabled; o.default = o.enabled;
s.tab('firmware', _('Firmware Settings')); s.tab('firmware', _('Firmware Settings'));
// o = s.taboption('firmware', form.Flag, 'autoupgrade_pkg', _('Packages Auto Upgrade'),_('谨慎开启')); // o = s.taboption('firmware', form.Flag, 'autoupgrade_pkg', _('Packages Auto Upgrade'),_('谨慎开启'));
@ -82,13 +83,14 @@ return view.extend({
o = s.taboption('firmware', form.Flag, 'autoupgrade_fm', _('Firmware Upgrade Notice')); o = s.taboption('firmware', form.Flag, 'autoupgrade_fm', _('Firmware Upgrade Notice'));
o.rmempty = false; o.rmempty = false;
o = s.taboption('firmware', form.Flag, 'coremark', _('CoreMark'),_('第一次开机后是否运行CPU跑分测试')); o = s.taboption('firmware', form.Flag, 'coremark', _('CoreMark'), _('第一次开机后是否运行CPU跑分测试'));
o.rmempty = false; o.rmempty = false;
o = s.taboption('firmware', form.Flag, 'cookie_p', _('Persistent cookies'),_('保持后台登录状态,避免每次关闭浏览器后都需要重新登录')); o = s.taboption('firmware', form.Flag, 'cookie_p', _('Persistent cookies'),
_('Keep the background login state to avoid the need to log in again every time the browser is closed'));
o.default = o.enabled; o.default = o.enabled;
if (has_wifi) { if (has_wifi) {
s.tab('wifisetup', _('Wireless Settings'), _('Set the router\'s wireless name and password. For more advanced settings, please go to the Network-Wireless page.')); s.tab('wifisetup', _('Wireless Settings'), _('Set the router\'s wireless name and password. For more advanced settings, please go to the Network-Wireless page.'));
o = s.taboption('wifisetup', form.Value, 'wifi_ssid', _('<abbr title=\"Extended Service Set Identifier\">ESSID</abbr>')); o = s.taboption('wifisetup', form.Value, 'wifi_ssid', _('<abbr title=\"Extended Service Set Identifier\">ESSID</abbr>'));
@ -98,9 +100,9 @@ return view.extend({
o.datatype = 'wpakey'; o.datatype = 'wpakey';
o.password = true; o.password = true;
} }
setTimeout("document.getElementsByClassName('cbi-button-apply')[0].children[3].children[0].value='1'",1000) setTimeout("document.getElementsByClassName('cbi-button-apply')[0].children[3].children[0].value='1'", 1000)
return m.render(); return m.render();
} }
}); });

View File

@ -0,0 +1,44 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8\n"
msgid "Wizard"
msgstr "Мастер настройки"
msgid "Initial Router Setup"
msgstr "Мастер настройки маршрутизатора"
msgid "Net Settings"
msgstr "Сетевые настройки"
msgid "Wireless Settings"
msgstr "Настройки беспроводной связи"
msgid "If you are using this router for the first time, please configure it here."
msgstr "Если вы используете этот маршрутизатор в первый раз, пожалуйста, просто настройте его здесь."
msgid "Three different ways to access the Internet, please choose according to your own situation."
msgstr "Существует два различных способа серфинга в Интернете, пожалуйста, выбирайте в соответствии с вашей собственной ситуацией."
msgid "Set the router's wireless name and password. For more advanced settings, please go to the Network-Wireless page."
msgstr "Задайте имя беспроводной сети и пароль маршрутизатора. для получения более подробных настроек, пожалуйста, перейдите на страницу Cеть-Беспроводная связь."
msgid "Siderouter"
msgstr "Вторичный роутер"
msgid "Enable IPv6"
msgstr "Включить IPv6"
msgid "Enable/Disable IPv6"
msgstr "Включение/Отключение IPv6"
msgid "Firmware Settings"
msgstr "Настройки встроенного ПО"
msgid "Packages Auto Upgrade"
msgstr "Автоматическое обновление пакета"
msgid "Firmware Upgrade Notice"
msgstr "Напоминание об обновлении прошивки"
msgid "Persistent cookies"
msgstr "Постоянный вход в систему"

View File

@ -4,7 +4,7 @@ msgstr "Content-Type: text/plain; charset=UTF-8\n"
msgid "Wizard" msgid "Wizard"
msgstr "设置向导" msgstr "设置向导"
msgid "Inital Router Setup" msgid "Initial Router Setup"
msgstr "路由器设置向导" msgstr "路由器设置向导"
msgid "Net Settings" msgid "Net Settings"
@ -22,9 +22,18 @@ msgstr "二种不同的上网方式,请您根据自身情况进行选择。"
msgid "Set the router's wireless name and password. For more advanced settings, please go to the Network-Wireless page." msgid "Set the router's wireless name and password. For more advanced settings, please go to the Network-Wireless page."
msgstr "设置路由器的无线名字和密码,更多高级设置请进入 网络-无线 页面。" msgstr "设置路由器的无线名字和密码,更多高级设置请进入 网络-无线 页面。"
msgid "Leave empty to use ISP DNS"
msgstr "留空则使用阿里DNS"
msgid "Enter the main router IP"
msgstr "请输入主路由IP"
msgid "Siderouter" msgid "Siderouter"
msgstr "旁路由模式" msgstr "旁路由模式"
msgid "To turn on this DHCP, you need to turn off the DHCP of the main router, and to turn off this DHCP, you need to manually change the gateway and DNS of all Internet devices to the IP of this bypass router"
msgstr "开启此DHCP则需要关闭主路由的DHCP, 关闭此DHCP则需要手动将所有上网设备的网关和DNS改为此旁路由的IP"
msgid "Enable IPv6" msgid "Enable IPv6"
msgstr "启用IPv6" msgstr "启用IPv6"
@ -42,3 +51,7 @@ msgstr "固件更新提醒"
msgid "Persistent cookies" msgid "Persistent cookies"
msgstr "持久化登录" msgstr "持久化登录"
msgid "Keep the background login state to avoid the need to log in again every time the browser is closed"
msgstr "保持后台登录状态,避免每次关闭浏览器后都需要重新登录"

View File

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=mosdns PKG_NAME:=mosdns
PKG_VERSION:=f130472 PKG_VERSION:=81fff0b
PKG_RELEASE:=$(AUTORELEASE) PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=mosdns-$(PKG_VERSION).tar.gz PKG_SOURCE:=mosdns-$(PKG_VERSION).tar.gz

View File

@ -5,12 +5,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=v2ray-core PKG_NAME:=v2ray-core
PKG_VERSION:=5.2.0 PKG_VERSION:=5.2.1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/v2fly/v2ray-core/tar.gz/v$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/v2fly/v2ray-core/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=3594fcec033706cbc94ff76ecf86a44f025164baa5da9b2286dea32f2b6029f9 PKG_HASH:=97bc872e798fed51c23c39f8f63ee25984658e2b252b0ec2c8ec469c00a4d77a
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE