diff options
Diffstat (limited to 'applications/luci-app-shadowsocks-libev')
5 files changed, 17 insertions, 11 deletions
diff --git a/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/shadowsocks-libev.js b/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/shadowsocks-libev.js index c0f1ced553..d0b06f2429 100644 --- a/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/shadowsocks-libev.js +++ b/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/shadowsocks-libev.js @@ -170,7 +170,7 @@ return baseclass.extend({ o.datatype = 'base64'; o.password = true; o.size = 12; - o.modalonly = true;; + o.modalonly = true; optfunc(form.Value, 'plugin', _('Plugin')).modalonly = true; diff --git a/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js b/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js index 671f17a9e4..cc59cfe318 100644 --- a/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js +++ b/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js @@ -108,6 +108,12 @@ return view.extend({ o.datatype = 'hostport'; } } + if (stype === 'ss_local' || stype === 'ss_server') { + o = s.taboption('advanced', form.FileUpload, 'acl', + _('ACL file'), + _('File containing Access Control List')); + o.root_directory = '/etc/shadowsocks-libev'; + } }, this)); } }; diff --git a/applications/luci-app-shadowsocks-libev/po/da/shadowsocks-libev.po b/applications/luci-app-shadowsocks-libev/po/da/shadowsocks-libev.po index 36b961e164..fec77265d3 100644 --- a/applications/luci-app-shadowsocks-libev/po/da/shadowsocks-libev.po +++ b/applications/luci-app-shadowsocks-libev/po/da/shadowsocks-libev.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"PO-Revision-Date: 2022-11-25 14:34+0000\n" +"PO-Revision-Date: 2023-04-24 17:51+0000\n" "Last-Translator: drax red <drax@outlook.dk>\n" "Language-Team: Danish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsshadowsocks-libev/da/>\n" @@ -8,7 +8,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 4.15-dev\n" +"X-Generator: Weblate 4.18-dev\n" #: applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js:45 msgid "-- instance type --" @@ -114,7 +114,7 @@ msgstr "" #: applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js:142 msgid "Enabled" -msgstr "Aktiveret" +msgstr "Aktiver" #: applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/rules.js:69 msgid "" diff --git a/applications/luci-app-shadowsocks-libev/po/ro/shadowsocks-libev.po b/applications/luci-app-shadowsocks-libev/po/ro/shadowsocks-libev.po index a636b8c731..52766717b8 100644 --- a/applications/luci-app-shadowsocks-libev/po/ro/shadowsocks-libev.po +++ b/applications/luci-app-shadowsocks-libev/po/ro/shadowsocks-libev.po @@ -1,7 +1,7 @@ msgid "" msgstr "" -"PO-Revision-Date: 2022-11-04 20:04+0000\n" -"Last-Translator: Simona Iacob <s@zp1.net>\n" +"PO-Revision-Date: 2023-04-23 07:04+0000\n" +"Last-Translator: olimpiumarius <oliver_magnum44@yahoo.com>\n" "Language-Team: Romanian <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsshadowsocks-libev/ro/>\n" "Language: ro\n" @@ -9,7 +9,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" -"X-Generator: Weblate 4.14.2-dev\n" +"X-Generator: Weblate 4.18-dev\n" #: applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js:45 msgid "-- instance type --" @@ -123,7 +123,7 @@ msgstr "Activare/Dezactivare" #: applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js:142 msgid "Enabled" -msgstr "Activat" +msgstr "activat" #: applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/rules.js:69 msgid "" diff --git a/applications/luci-app-shadowsocks-libev/po/ru/shadowsocks-libev.po b/applications/luci-app-shadowsocks-libev/po/ru/shadowsocks-libev.po index 8e7319eb70..4d3f5bd6ee 100644 --- a/applications/luci-app-shadowsocks-libev/po/ru/shadowsocks-libev.po +++ b/applications/luci-app-shadowsocks-libev/po/ru/shadowsocks-libev.po @@ -1,7 +1,7 @@ msgid "" msgstr "" -"PO-Revision-Date: 2023-04-03 07:17+0000\n" -"Last-Translator: AHOHNMYC <lqwh2h2cwa@protonmail.com>\n" +"PO-Revision-Date: 2023-04-10 02:49+0000\n" +"Last-Translator: st7105 <st7105@gmail.com>\n" "Language-Team: Russian <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsshadowsocks-libev/ru/>\n" "Language: ru\n" @@ -21,7 +21,7 @@ msgstr "<скрытый>" #: applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js:78 msgid "Advanced Settings" -msgstr "Дополнительные настройки" +msgstr "Расширенные настройки" #: applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/rules.js:90 msgid "Bypass ss-redir for packets with dst address in this list" |