mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 13:27:36 +08:00
update 2024-10-31 20:39:01
This commit is contained in:
parent
6e886f5979
commit
7e340d1508
@ -222,7 +222,7 @@ return view.extend({
|
||||
o = s.taboption('bypass', form.Value, 'acl_tcp_dport', _('Destination TCP Port to Proxy'));
|
||||
o.rmempty = false;
|
||||
o.value('0-65535', _('All Port'));
|
||||
o.value('21 22 80 110 143 194 443 465 993 995 8080 8443', _('Commonly Used Port'));
|
||||
o.value('21 22 80 110 143 194 443 465 853 993 995 8080 8443', _('Commonly Used Port'));
|
||||
|
||||
o = s.taboption('bypass', form.Value, 'acl_udp_dport', _('Destination UDP Port to Proxy'));
|
||||
o.rmempty = false;
|
||||
|
BIN
luci-app-nekobox/htdocs/nekobox/geosite/netflix
Normal file
BIN
luci-app-nekobox/htdocs/nekobox/geosite/netflix
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
proxies:
|
@ -1 +1 @@
|
||||
proxies:
|
||||
proxies:
|
||||
|
@ -0,0 +1 @@
|
||||
proxies:
|
@ -332,6 +332,30 @@ install_puernya() {
|
||||
echo "Puernya core installation completed successfully."
|
||||
}
|
||||
|
||||
download_ruleset() {
|
||||
local ruleset_url="https://github.com/Thaolga/openwrt-nekobox/releases/download/1.5.0/nekobox.zip"
|
||||
local temp_file="/tmp/nekobox.zip"
|
||||
local extract_dir="/www/nekobox"
|
||||
|
||||
echo "正在下载 Sing-box 规则集..."
|
||||
wget -O "$temp_file" "$ruleset_url"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "${RED}下载失败!${NC}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "正在解压规则集到 $extract_dir..."
|
||||
mkdir -p "$extract_dir"
|
||||
unzip -o "$temp_file" -d "$extract_dir"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "${RED}解压失败!${NC}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "规则集下载和解压完成!"
|
||||
rm -f "$temp_file"
|
||||
}
|
||||
|
||||
install_ui() {
|
||||
GREEN='\033[0;32m'
|
||||
RED='\033[0;31m'
|
||||
@ -453,13 +477,15 @@ install_core_menu() {
|
||||
if [ "$language" = "cn" ]; then
|
||||
printf "${CLCyan} %-54s ${NC}\n" "1. 安装 Sing-box 核心"
|
||||
printf "${CLCyan} %-54s ${NC}\n" "2. 安装 puernya 核心"
|
||||
printf "${CLCyan} %-54s ${NC}\n" "3. 返回主菜单"
|
||||
printf "${CLCyan} %-54s ${NC}\n" "3. 下载 Sing-box 规则集"
|
||||
printf "${CLCyan} %-54s ${NC}\n" "4. 返回主菜单"
|
||||
echo -e "${CLCyan}╚════════════════════════════════════════════════════════╝"
|
||||
read -p "请选择要安装的核心: " core_choice
|
||||
else
|
||||
printf "${CLCyan} %-54s ${NC}\n" "1. Install Sing-box Core"
|
||||
printf "${CLCyan} %-54s ${NC}\n" "2. Install puernya Core"
|
||||
printf "${CLCyan} %-54s ${NC}\n" "3. Return to Main Menu"
|
||||
printf "${CLCyan} %-54s ${NC}\n" "3. Download Sing-box Ruleset"
|
||||
printf "${CLCyan} %-54s ${NC}\n" "4. Return to Main Menu"
|
||||
echo -e "${CLCyan}╚════════════════════════════════════════════════════════╝"
|
||||
read -p "Please select a core to install: " core_choice
|
||||
fi
|
||||
@ -471,6 +497,9 @@ install_core_menu() {
|
||||
install_puernya
|
||||
;;
|
||||
3)
|
||||
download_ruleset
|
||||
;;
|
||||
4)
|
||||
return
|
||||
;;
|
||||
*)
|
||||
|
@ -1,8 +1,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"PO-Revision-Date: 2023-09-30 22:00+0000\n"
|
||||
"Last-Translator: David Rapaň <david@rapan.cz>\n"
|
||||
"PO-Revision-Date: 2024-10-22 12:00+0000\n"
|
||||
"Last-Translator: Ondřej Vajda <g3n371k@gmail.com>\n"
|
||||
"Language-Team: Czech <https://hosted.weblate.org/projects/openwrt/"
|
||||
"luciapplicationstransmission/cs/>\n"
|
||||
"Language: cs\n"
|
||||
@ -10,11 +10,11 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 5.1-dev\n"
|
||||
"X-Generator: Weblate 5.8.2-dev\n"
|
||||
|
||||
#: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:65
|
||||
msgid "Alternative download speed"
|
||||
msgstr "Alternativní rychlost download"
|
||||
msgstr "Alternativní rychlost stahování"
|
||||
|
||||
#: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:59
|
||||
msgid "Alternative speed enabled"
|
||||
|
@ -2,8 +2,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: LuCI: transmission\n"
|
||||
"POT-Creation-Date: 2012-08-15 17:35+0300\n"
|
||||
"PO-Revision-Date: 2024-10-16 19:05+0000\n"
|
||||
"Last-Translator: Lorekin <lorekine@outlook.com>\n"
|
||||
"PO-Revision-Date: 2024-10-30 02:45+0000\n"
|
||||
"Last-Translator: sergio <sergio+it@outerface.net>\n"
|
||||
"Language-Team: Russian <https://hosted.weblate.org/projects/openwrt/"
|
||||
"luciapplicationstransmission/ru/>\n"
|
||||
"Language: ru\n"
|
||||
@ -12,7 +12,7 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 5.8-rc\n"
|
||||
"X-Generator: Weblate 5.8.2-dev\n"
|
||||
"Project-Info: Это технический перевод, не дословный. Главное-удобный русский "
|
||||
"интерфейс, все проверялось в графическом режиме, совместим с другими apps\n"
|
||||
|
||||
@ -409,7 +409,7 @@ msgid ""
|
||||
"Transmission daemon is a simple bittorrent client, here you can configure "
|
||||
"the settings."
|
||||
msgstr ""
|
||||
"Демон Transmission — это простой bittorrent-клиент. Здесь вы сможете его "
|
||||
"Демон Transmission — это простой bittorrent-клиент. Здесь можно его "
|
||||
"настроить.<br />Установить пакеты веб-интерфейса недостаточно, выберите и "
|
||||
"установите необходимый для работы пакет демона transmission-daemon-openssl "
|
||||
"или transmission-daemon-mbedtls."
|
||||
|
@ -1,7 +1,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"PO-Revision-Date: 2024-02-15 22:09+0000\n"
|
||||
"PO-Revision-Date: 2024-10-23 12:34+0000\n"
|
||||
"Last-Translator: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>\n"
|
||||
"Language-Team: Swedish <https://hosted.weblate.org/projects/openwrt/"
|
||||
"luciapplicationstransmission/sv/>\n"
|
||||
@ -10,7 +10,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 5.4\n"
|
||||
"X-Generator: Weblate 5.8.2-dev\n"
|
||||
|
||||
#: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:65
|
||||
msgid "Alternative download speed"
|
||||
@ -87,7 +87,7 @@ msgstr "DHT aktiverat"
|
||||
|
||||
#: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:151
|
||||
msgid "Debug"
|
||||
msgstr "Felsökning"
|
||||
msgstr "Avlusa"
|
||||
|
||||
#: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:97
|
||||
msgid "Download directory"
|
||||
@ -107,7 +107,7 @@ msgstr "Aktivera övervakningsmapp"
|
||||
|
||||
#: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:47
|
||||
msgid "Enabled"
|
||||
msgstr "Aktiverad"
|
||||
msgstr "Aktiverat"
|
||||
|
||||
#: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:136
|
||||
msgid "Encryption"
|
||||
|
Loading…
Reference in New Issue
Block a user