Commit graph

3673 commits

Author SHA1 Message Date
Jo-Philipp Wich
7d9ab8d4a7 luci-base: fix off-by-one in cbi_update_table()
Fixes: #5189
Fixes: f919635310 ("luci-base: batch DOM updates to prevent slowdown")
Ref: f919635310 (commitcomment-53495580)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-15 08:13:31 +02:00
Olli Asikainen
f919635310 luci-base: batch DOM updates to prevent slowdown
Signed-off-by: Olli Asikainen <olli.asikainen@gmail.com>
2021-07-13 19:55:26 +02:00
Hosted Weblate
862227b253 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (180 of 180 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/zh_Hans/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (180 of 180 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pt_BR/

Translated using Weblate (Ukrainian)

Currently translated at 13.7% (4 of 29 strings)

Translation: OpenWrt/LuCI/applications/acl
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacl/uk/

Added translation using Weblate (Dutch)

Translated using Weblate (Turkish)

Currently translated at 100.0% (1744 of 1744 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/tr/

Translated using Weblate (Russian)

Currently translated at 100.0% (1744 of 1744 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/

Translated using Weblate (Turkish)

Currently translated at 100.0% (195 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/tr/

Translated using Weblate (Bulgarian)

Currently translated at 2.3% (5 of 211 strings)

Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/bg/

Translated using Weblate (Russian)

Currently translated at 40.7% (86 of 211 strings)

Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/ru/

Translated using Weblate (Russian)

Currently translated at 25.6% (10 of 39 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/ru/

Translated using Weblate (Turkish)

Currently translated at 100.0% (39 of 39 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/tr/

Translated using Weblate (Russian)

Currently translated at 21.2% (14 of 66 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/ru/

Translated using Weblate (Turkish)

Currently translated at 100.0% (66 of 66 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/tr/

Translated using Weblate (Russian)

Currently translated at 35.8% (28 of 78 strings)

Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/ru/

Translated using Weblate (Turkish)

Currently translated at 100.0% (78 of 78 strings)

Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/tr/

Translated using Weblate (Russian)

Currently translated at 47.0% (8 of 17 strings)

Translation: OpenWrt/LuCI/applications/omcproxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsomcproxy/ru/

Translated using Weblate (Bulgarian)

Currently translated at 2.6% (47 of 1744 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/bg/

Translated using Weblate (Bulgarian)

Currently translated at 0.5% (1 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/bg/

Translated using Weblate (Bulgarian)

Currently translated at 2.3% (4 of 169 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/bg/

Translated using Weblate (Bulgarian)

Currently translated at 1.2% (1 of 82 strings)

Translated using Weblate (Bulgarian)

Currently translated at 0.8% (1 of 116 strings)

Translation: OpenWrt/LuCI/applications/radicale
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale/bg/

Translated using Weblate (Bulgarian)

Currently translated at 69.4% (50 of 72 strings)

Translated using Weblate (Bulgarian)

Currently translated at 1.0% (2 of 191 strings)

Translated using Weblate (Bulgarian)

Currently translated at 1.7% (1 of 57 strings)

Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/bg/

Translated using Weblate (Bulgarian)

Currently translated at 1.5% (1 of 65 strings)

Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/bg/

Translated using Weblate (Bulgarian)

Currently translated at 8.0% (2 of 25 strings)

Translation: OpenWrt/LuCI/applications/cshark
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscshark/bg/

Translated using Weblate (Bulgarian)

Currently translated at 1.0% (2 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/bg/

Translated using Weblate (Bulgarian)

Currently translated at 4.8% (2 of 41 strings)

Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/bg/

Translated using Weblate (Bulgarian)

Currently translated at 1.1% (2 of 173 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/bg/

Translated using Weblate (Turkish)

Currently translated at 100.0% (123 of 123 strings)

Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/tr/

Translated using Weblate (Turkish)

Currently translated at 97.9% (191 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (173 of 173 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/tr/

Translated using Weblate (Russian)

Currently translated at 39.2% (73 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/ru/

Translated using Weblate (Russian)

Currently translated at 39.2% (73 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/ru/

Translated using Weblate (Russian)

Currently translated at 50.0% (28 of 56 strings)

Translation: OpenWrt/LuCI/applications/dump1090
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdump1090/ru/

Translated using Weblate (Russian)

Currently translated at 97.9% (47 of 48 strings)

Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/ru/

Translated using Weblate (Russian)

Currently translated at 70.5% (122 of 173 strings)

Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (125 of 125 strings)

Translation: OpenWrt/LuCI/applications/privoxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsprivoxy/ru/

Translated using Weblate (Russian)

Currently translated at 33.1% (56 of 169 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/ru/

Translated using Weblate (Russian)

Currently translated at 50.3% (67 of 133 strings)

Translated using Weblate (Russian)

Currently translated at 50.3% (67 of 133 strings)

Translated using Weblate (Russian)

Currently translated at 61.2% (19 of 31 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1744 of 1744 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/

Translated using Weblate (Spanish)

Currently translated at 98.9% (1725 of 1744 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/

Translated using Weblate (Russian)

Currently translated at 46.4% (26 of 56 strings)

Translation: OpenWrt/LuCI/applications/dump1090
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdump1090/ru/

Translated using Weblate (Russian)

Currently translated at 33.9% (19 of 56 strings)

Translation: OpenWrt/LuCI/applications/dump1090
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdump1090/ru/

Translated using Weblate (Russian)

Currently translated at 23.0% (9 of 39 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/ru/

Co-authored-by: Anton Kikin <a.a.kikin@gmail.com>
Co-authored-by: Artem <KovalevArtem.ru@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Iskren Mihaylov <iskren.mihaylov91@gmail.com>
Co-authored-by: Mikhail <frol185@mail.ru>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: ToldYouThat <itoldyouthat@protonmail.com>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: Yevgeniy B <jberezhnoy@gmail.com>
Co-authored-by: floris <fdbrunetderochebrune+weblate@gmail.com>
Co-authored-by: masta0f1eave <lomskoff.dima@gmail.com>
Co-authored-by: webweblate <webweblate@riseup.net>
Co-authored-by: xiazhang <xz@xia.plus>
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Signed-off-by: Artem <KovalevArtem.ru@gmail.com>
Signed-off-by: Eric <spice2wolf@gmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Iskren Mihaylov <iskren.mihaylov91@gmail.com>
Signed-off-by: Mikhail <frol185@mail.ru>
Signed-off-by: Oğuz Ersen <oguzersen@protonmail.com>
Signed-off-by: ToldYouThat <itoldyouthat@protonmail.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: Yevgeniy B <jberezhnoy@gmail.com>
Signed-off-by: masta0f1eave <lomskoff.dima@gmail.com>
Signed-off-by: webweblate <webweblate@riseup.net>
Signed-off-by: xiazhang <xz@xia.plus>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/bg/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/bg/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/bg/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/ru/
Translation: OpenWrt/LuCI/applications/nut
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/opkg
Translation: OpenWrt/LuCI/applications/splash
Translation: OpenWrt/LuCI/applications/watchcat
2021-07-10 23:45:23 +03:00
Jo-Philipp Wich
e5626ece12 luci-mod-network: fix 60GHz radio frequency configuration
Fix incorrect minimum 60GHz frequency value and ensure that a 60GHz band
choice option is available once corresponding channels are found on the
system.

Ref: http://lists.openwrt.org/pipermail/openwrt-devel/2021-July/035810.html
Suggested-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-09 21:39:45 +02:00
Jo-Philipp Wich
f57d20bfff luci-mod-network: dhcp.js: don't fail on not existing interface
Fixes: #5177
Fixes: 7e56289538 ("luci-mod-network: improve static DHCP lease validation")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-08 18:56:23 +02:00
Jo-Philipp Wich
a6d957d6f5 luci-mod-status: disable "Set static" lease action on readonly view
Fixes: f6b6a12927 ("luci-mod-status: add support for one-click static lease")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-07 17:15:37 +02:00
DeYu Liu
0e4b4c5b42 luci-base: Fix time display error
Signed-off-by: DeYu Liu <vito_sam@outlook.com>
2021-07-06 13:57:54 +08:00
Hosted Weblate
c244cd3e8e Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (66 of 66 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/zh_Hans/

Translated using Weblate (Polish)

Currently translated at 100.0% (66 of 66 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/pl/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (66 of 66 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/pt_BR/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (78 of 78 strings)

Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/zh_Hans/

Translated using Weblate (Polish)

Currently translated at 100.0% (78 of 78 strings)

Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/pl/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (78 of 78 strings)

Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/pt_BR/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1744 of 1744 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (1744 of 1744 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/

Translated using Weblate (Polish)

Currently translated at 100.0% (1744 of 1744 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/

Translated using Weblate (Spanish)

Currently translated at 98.9% (1725 of 1744 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/

Translated using Weblate (Swedish)

Currently translated at 42.4% (739 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/sv/

Translated using Weblate (Spanish)

Currently translated at 97.6% (169 of 173 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/es/

Translated using Weblate (Russian)

Currently translated at 100.0% (123 of 123 strings)

Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/ru/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (173 of 173 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pt_BR/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (212 of 212 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (173 of 173 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pl/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (173 of 173 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (173 of 173 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (173 of 173 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1740 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/

Co-authored-by: Anton Kikin <a.a.kikin@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Meano Lee <meanocat@gmail.com>
Co-authored-by: Tianling Shen <i@cnsztl.eu.org>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Signed-off-by: Eric <spice2wolf@gmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Meano Lee <meanocat@gmail.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/zh_Hans/
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
2021-07-04 11:29:04 +03:00
Jo-Philipp Wich
9d15a4e70c luci-mod-network: fixes to DHCP lease validation
- validate current form value IP instead of stored uci one
 - ensure to not pass non-string values to the validator
 - remove leftover debug code
 - simplify obtaining formvalues

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-03 20:40:29 +02:00
Jo-Philipp Wich
00e41c3c49 luci-base: validation: disallow mutlicast MACs by default
Extend the MAC address validator to disallow multicast MAC addresses and
add a new optional validator option to require multicast MACs instead of
unicast ones.

Fixes: #5166
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-03 20:12:33 +02:00
Jo-Philipp Wich
38400c484e treewide: resync translations
Also complete german base translation while we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-03 19:03:44 +02:00
Jo-Philipp Wich
7e56289538 luci-mod-network: improve static DHCP lease validation
- Ensure that MAC addresses are unique within the same pool
 - Ensure that IP addresses are globally unique
 - Ensure that IP addresses are within any DHCP pool range

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-03 18:54:14 +02:00
Jo-Philipp Wich
91f46d765b Revert "luci-mod-network: issue with breakdown of dnsmasq after duplication of static IP was fixed"
This reverts commit 463e910119.

This change causes the entire static lease to get deleted when attempting
to change the MAC address.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-03 07:20:37 +02:00
Jo-Philipp Wich
f1f566bfe2 luci-mod-network: fix saving bridge VLANs without member ports
Calling `uci.set()` with an empty array yields an invalid argument error,
make sure to pass `null` instead in this case.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-02 20:47:11 +02:00
Jo-Philipp Wich
2869c9cf32 luci-mod-network: work around jsmin bug
The jsmin minifier incorrectly transforms the expression `/\*/.test(...)`
into `/\* /.test(...)`, causing the VLAN filter dialog to not recognize
PVID settings in the configuration.

Work around the issue by using an equivalent `\x2a` escape sequence instead.

Ref: https://forum.openwrt.org/t/x/99222/28
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-02 20:43:31 +02:00
Florian Eckert
1a2b7fef6c luci-base: do not add validation for named section if readonly is set
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-07-01 15:54:51 +02:00
Florian Eckert
3358516e1f
Merge pull request #5137 from TDT-AG/pr/20210621-luci-base
luci-base: minor fixes and improvments
2021-07-01 13:12:33 +02:00
Helge Mader
87215e3d1b luci-base: prevent empty field for adding new named section in JavaScript
Suggested-by: Helge Mader <ma@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-07-01 13:10:15 +02:00
Florian Eckert
80262bb9a7 luci-base: change css class btn to cbi-button
The css class btn is only a valid input element on lua rendered pages.
Use instead cbi-button for javascript rendered pages.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-07-01 13:10:15 +02:00
Florian Eckert
97e673b72c luci-base: use button tag instead of input tag on named section add
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-07-01 13:09:37 +02:00
Jo-Philipp Wich
e3357deb7d luci-mod-status: don't set '-' hostname when creating static lease
Fixes: #5153
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-30 17:26:07 +02:00
Jo-Philipp Wich
c4f4294615 luci-mod-network: enforce IPv4 mode for traceroute call
Recent busybox traceroute applet versions support both IPv4 and IPv6 and
default to IPv6 when running a route trace to an IPv6 enabled target
host. Pass the `-4` flag to enforce IPv4 mode in this case.

Fixes: #5155
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-30 17:23:55 +02:00
Hosted Weblate
81c26a8eb3 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (41 of 41 strings)

Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (196 of 196 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1740 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (212 of 212 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1740 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/

Translated using Weblate (Russian)

Currently translated at 20.6% (13 of 63 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (25 of 25 strings)

Translation: OpenWrt/LuCI/applications/ksmbd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsksmbd/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (94 of 94 strings)

Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/ru/

Translated using Weblate (Russian)

Currently translated at 28.3% (23 of 81 strings)

Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/ru/

Translated using Weblate (Russian)

Currently translated at 87.5% (21 of 24 strings)

Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (191 of 191 strings)

Translated using Weblate (French)

Currently translated at 58.5% (48 of 82 strings)

Translated using Weblate (French)

Currently translated at 86.5% (1506 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/fr/

Translated using Weblate (Polish)

Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (20 of 20 strings)

Translation: OpenWrt/LuCI/applications/ltqtapi
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsltqtapi/pl/

Translated using Weblate (Russian)

Currently translated at 61.3% (27 of 44 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (195 of 195 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (1740 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (1740 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/

Co-authored-by: Adam Stańczyk <a.stanczyk@onet.pl>
Co-authored-by: Artem <KovalevArtem.ru@gmail.com>
Co-authored-by: ButterflyOfFire <ButterflyOfFire@protonmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Wojtek Sobczak <mister.adalbert@gmail.com>
Co-authored-by: masta0f1eave <lomskoff.dima@gmail.com>
Co-authored-by: xiazhang <xz@xia.plus>
Signed-off-by: Adam Stańczyk <a.stanczyk@onet.pl>
Signed-off-by: Artem <KovalevArtem.ru@gmail.com>
Signed-off-by: ButterflyOfFire <ButterflyOfFire@protonmail.com>
Signed-off-by: Wojtek Sobczak <mister.adalbert@gmail.com>
Signed-off-by: masta0f1eave <lomskoff.dima@gmail.com>
Signed-off-by: xiazhang <xz@xia.plus>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/pl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/pl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/fr/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsupnp/pl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/pl/
Translation: OpenWrt/LuCI/applications/commands
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/fwknopd
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/splash
Translation: OpenWrt/LuCI/applications/upnp
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
2021-06-29 21:09:15 +03:00
Hosted Weblate
80e402a9d8 Translated using Weblate (English)
Currently translated at 3.1% (2 of 64 strings)

Translation: OpenWrt/LuCI/applications/xinetd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsxinetd/en/

Translated using Weblate (English)

Currently translated at 1.9% (1 of 52 strings)

Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/en/

Translated using Weblate (English)

Currently translated at 11.7% (2 of 17 strings)

Translation: OpenWrt/LuCI/applications/udpxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsudpxy/en/

Translated using Weblate (English)

Currently translated at 28.5% (2 of 7 strings)

Translation: OpenWrt/LuCI/applications/squid
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssquid/en/

Translated using Weblate (English)

Currently translated at 15.3% (2 of 13 strings)

Translation: OpenWrt/LuCI/applications/shairplay
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshairplay/en/

Translated using Weblate (English)

Currently translated at 1.6% (1 of 62 strings)

Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/en/

Translated using Weblate (English)

Currently translated at 6.2% (3 of 48 strings)

Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/en/

Translated using Weblate (English)

Currently translated at 1.5% (1 of 65 strings)

Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/en/

Translated using Weblate (English)

Currently translated at 77.0% (37 of 48 strings)

Translated using Weblate (English)

Currently translated at 12.2% (6 of 49 strings)

Translated using Weblate (English)

Currently translated at 25.6% (50 of 195 strings)

Translated using Weblate (English)

Currently translated at 77.4% (148 of 191 strings)

Translated using Weblate (English)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (English)

Currently translated at 92.8% (13 of 14 strings)

Translated using Weblate (English)

Currently translated at 36.3% (4 of 11 strings)

Translated using Weblate (English)

Currently translated at 35.1% (120 of 341 strings)

Translated using Weblate (English)

Currently translated at 99.2% (132 of 133 strings)

Translated using Weblate (English)

Currently translated at 17.8% (310 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/en/

Co-authored-by: Hannu Nyman <hannu.nyman@iki.fi>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsminidlna/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsntpc/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsupnp/en/
Translation: OpenWrt/LuCI/applications/ahcp
Translation: OpenWrt/LuCI/applications/minidlna
Translation: OpenWrt/LuCI/applications/ntpc
Translation: OpenWrt/LuCI/applications/nut
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/p910nd
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/upnp
2021-06-24 13:25:02 +03:00
Hosted Weblate
739d455177 Translated using Weblate (English)
Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (English)

Currently translated at 16.6% (3 of 18 strings)

Translation: OpenWrt/LuCI/applications/nextdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnextdns/en/

Translated using Weblate (English)

Currently translated at 1.7% (1 of 57 strings)

Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/en/

Translated using Weblate (English)

Currently translated at 6.2% (3 of 48 strings)

Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/en/

Translated using Weblate (English)

Currently translated at 3.8% (1 of 26 strings)

Translation: OpenWrt/LuCI/applications/dcwapd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/en/

Translated using Weblate (English)

Currently translated at 25.6% (50 of 195 strings)

Translated using Weblate (English)

Currently translated at 92.8% (13 of 14 strings)

Translated using Weblate (English)

Currently translated at 35.1% (120 of 341 strings)

Translated using Weblate (English)

Currently translated at 2.4% (2 of 82 strings)

Translated using Weblate (English)

Currently translated at 17.8% (310 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/en/

Translated using Weblate (Japanese)

Currently translated at 74.0% (37 of 50 strings)

Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/ja/

Translated using Weblate (Japanese)

Currently translated at 100.0% (38 of 38 strings)

Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/ja/

Co-authored-by: Hannu Nyman <hannu.nyman@iki.fi>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Satoru Yoshida <ramat@ram.ne.jp>
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Satoru Yoshida <ramat@ram.ne.jp>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsntpc/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/en/
Translation: OpenWrt/LuCI/applications/ntpc
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/splash
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
2021-06-24 10:52:24 +03:00
Hosted Weblate
98415a1622
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (39 of 39 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (39 of 39 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/zh_Hans/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (39 of 39 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/pt_BR/

Translated using Weblate (Polish)

Currently translated at 100.0% (39 of 39 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/pl/

Translated using Weblate (Spanish)

Currently translated at 100.0% (39 of 39 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/es/

Translated using Weblate (Polish)

Currently translated at 100.0% (123 of 123 strings)

Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (195 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/pl/

Translated using Weblate (Portuguese)

Currently translated at 97.9% (191 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/pt/

Translated using Weblate (Polish)

Currently translated at 100.0% (171 of 171 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pl/

Translated using Weblate (Portuguese)

Currently translated at 100.0% (171 of 171 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pt/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (123 of 123 strings)

Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/pt_BR/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (195 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/zh_Hans/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (195 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/pt_BR/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (171 of 171 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/zh_Hans/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (171 of 171 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pt_BR/

Translated using Weblate (Spanish)

Currently translated at 98.2% (168 of 171 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/es/

Translated using Weblate (Spanish)

Currently translated at 99.4% (194 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/es/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (123 of 123 strings)

Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (341 of 341 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (341 of 341 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1740 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/

Translated using Weblate (Russian)

Currently translated at 100.0% (1740 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (1740 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/

Translated using Weblate (Polish)

Currently translated at 100.0% (1740 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/

Translated using Weblate (Spanish)

Currently translated at 98.9% (1721 of 1740 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/

Co-authored-by: Anton Kikin <a.a.kikin@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: xiazhang <xz@xia.plus>
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Signed-off-by: Eric <spice2wolf@gmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: ssantos <ssantos@web.de>
Signed-off-by: xiazhang <xz@xia.plus>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/zh_Hans/
Translation: OpenWrt/LuCI/applications/statistics
2021-06-22 19:33:34 +02:00
Florian Eckert
b88157e69a
Merge pull request #4965 from tano-systems/pr/20210406-disable-routes-support
luci-mod-network: Support for disabling routes
2021-06-21 12:44:36 +02:00
Florian Eckert
8f8ce8613f luci-mod-status: switch to html table for wlan channel analysis
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-06-21 12:18:25 +02:00
Florian Eckert
bada415c4b luci-base: i18n sync translations
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-06-21 11:52:25 +02:00
Jo-Philipp Wich
c48d8f4a2c treewide: fix typo in "Enable VLAN filtering" label
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-21 08:27:14 +02:00
Hosted Weblate
d8f8167b74 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (3 of 3 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (195 of 195 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (211 of 211 strings)

Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/zh_Hant/

Translated using Weblate (Chinese (Traditional))

Currently translated at 19.6% (38 of 193 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/zh_Hant/

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (169 of 169 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/zh_Hant/

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (29 of 29 strings)

Translation: OpenWrt/LuCI/applications/vpnbypass
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/zh_Hant/

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (38 of 38 strings)

Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/zh_Hant/

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (164 of 164 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/zh_Hant/

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (196 of 196 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/zh_Hant/

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (169 of 169 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/zh_Hant/

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (191 of 191 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (341 of 341 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 91.0% (1584 of 1739 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hant/

Added translation using Weblate (Chinese (Traditional))

Added translation using Weblate (Chinese (Traditional))

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1739 of 1739 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/

Translated using Weblate (English)

Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (German)

Currently translated at 73.4% (36 of 49 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (3 of 3 strings)

Translated using Weblate (German)

Currently translated at 100.0% (3 of 3 strings)

Translated using Weblate (Slovak)

Currently translated at 100.0% (13 of 13 strings)

Translation: OpenWrt/LuCI/applications/hd-idle
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshd-idle/sk/

Translated using Weblate (English)

Currently translated at 3.1% (2 of 64 strings)

Translation: OpenWrt/LuCI/applications/xinetd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsxinetd/en/

Translated using Weblate (German)

Currently translated at 85.9% (55 of 64 strings)

Translation: OpenWrt/LuCI/applications/xinetd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsxinetd/de/

Translated using Weblate (Finnish)

Currently translated at 17.0% (36 of 211 strings)

Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/fi/

Translated using Weblate (Finnish)

Currently translated at 11.5% (13 of 113 strings)

Translated using Weblate (Finnish)

Currently translated at 13.0% (16 of 123 strings)

Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/fi/

Translated using Weblate (Finnish)

Currently translated at 20.7% (34 of 164 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/fi/

Translated using Weblate (Finnish)

Currently translated at 97.3% (37 of 38 strings)

Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/fi/

Translated using Weblate (Finnish)

Currently translated at 10.6% (7 of 66 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/fi/

Translated using Weblate (Finnish)

Currently translated at 12.1% (9 of 74 strings)

Translated using Weblate (Finnish)

Currently translated at 12.5% (2 of 16 strings)

Translated using Weblate (Finnish)

Currently translated at 10.1% (11 of 108 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/fi/

Translated using Weblate (Finnish)

Currently translated at 18.5% (15 of 81 strings)

Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/fi/

Translated using Weblate (Finnish)

Currently translated at 25.0% (7 of 28 strings)

Translation: OpenWrt/LuCI/applications/vnstat2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat2/fi/

Translated using Weblate (Finnish)

Currently translated at 4.8% (2 of 41 strings)

Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/fi/

Translated using Weblate (Finnish)

Currently translated at 10.3% (6 of 58 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Finnish)

Currently translated at 30.3% (10 of 33 strings)

Translated using Weblate (Finnish)

Currently translated at 12.8% (25 of 195 strings)

Translated using Weblate (Finnish)

Currently translated at 20.9% (13 of 62 strings)

Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/fi/

Translated using Weblate (Finnish)

Currently translated at 16.3% (32 of 196 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/fi/

Translated using Weblate (Finnish)

Currently translated at 8.7% (5 of 57 strings)

Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/fi/

Translated using Weblate (Finnish)

Currently translated at 90.0% (18 of 20 strings)

Translation: OpenWrt/LuCI/applications/ltqtapi
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsltqtapi/fi/

Translated using Weblate (Finnish)

Currently translated at 100.0% (17 of 17 strings)

Translation: OpenWrt/LuCI/applications/udpxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsudpxy/fi/

Translated using Weblate (Finnish)

Currently translated at 7.5% (13 of 173 strings)

Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/fi/

Translated using Weblate (Finnish)

Currently translated at 100.0% (13 of 13 strings)

Translation: OpenWrt/LuCI/applications/pagekitec
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspagekitec/fi/

Translated using Weblate (Finnish)

Currently translated at 100.0% (26 of 26 strings)

Translation: OpenWrt/LuCI/applications/wireguard
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswireguard/fi/

Translated using Weblate (Finnish)

Currently translated at 3.1% (2 of 63 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/fi/

Translated using Weblate (Finnish)

Currently translated at 15.9% (15 of 94 strings)

Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/fi/

Translated using Weblate (Finnish)

Currently translated at 100.0% (18 of 18 strings)

Translation: OpenWrt/LuCI/applications/nextdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnextdns/fi/

Translated using Weblate (Finnish)

Currently translated at 25.0% (13 of 52 strings)

Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/fi/

Translated using Weblate (Finnish)

Currently translated at 5.6% (11 of 193 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/fi/

Translated using Weblate (Finnish)

Currently translated at 19.3% (6 of 31 strings)

Translation: OpenWrt/LuCI/applications/dynapoint
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdynapoint/fi/

Translated using Weblate (Finnish)

Currently translated at 88.4% (1538 of 1739 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/fi/

Translated using Weblate (Slovak)

Currently translated at 12.7% (12 of 94 strings)

Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/sk/

Translated using Weblate (Slovak)

Currently translated at 6.0% (4 of 66 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/sk/

Translated using Weblate (English)

Currently translated at 16.6% (3 of 18 strings)

Translation: OpenWrt/LuCI/applications/nextdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnextdns/en/

Translated using Weblate (Slovak)

Currently translated at 13.4% (7 of 52 strings)

Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/sk/

Translated using Weblate (English)

Currently translated at 1.9% (1 of 52 strings)

Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/en/

Translated using Weblate (Slovak)

Currently translated at 8.8% (3 of 34 strings)

Translation: OpenWrt/LuCI/applications/wifischedule
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswifischedule/sk/

Translated using Weblate (Slovak)

Currently translated at 13.7% (4 of 29 strings)

Translation: OpenWrt/LuCI/applications/vpnbypass
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/sk/

Translated using Weblate (Slovak)

Currently translated at 3.7% (7 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/sk/

Translated using Weblate (English)

Currently translated at 11.7% (2 of 17 strings)

Translation: OpenWrt/LuCI/applications/udpxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsudpxy/en/

Translated using Weblate (Slovak)

Currently translated at 8.2% (14 of 169 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/sk/

Translated using Weblate (English)

Currently translated at 28.5% (2 of 7 strings)

Translation: OpenWrt/LuCI/applications/squid
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssquid/en/

Translated using Weblate (Slovak)

Currently translated at 6.4% (7 of 108 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/sk/

Translated using Weblate (English)

Currently translated at 15.3% (2 of 13 strings)

Translation: OpenWrt/LuCI/applications/shairplay
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshairplay/en/

Translated using Weblate (English)

Currently translated at 1.6% (1 of 62 strings)

Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/en/

Translated using Weblate (English)

Currently translated at 1.7% (1 of 57 strings)

Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/en/

Translated using Weblate (English)

Currently translated at 6.2% (3 of 48 strings)

Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/en/

Translated using Weblate (English)

Currently translated at 1.5% (1 of 65 strings)

Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/en/

Translated using Weblate (Slovak)

Currently translated at 23.0% (6 of 26 strings)

Translation: OpenWrt/LuCI/applications/dcwapd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/sk/

Translated using Weblate (English)

Currently translated at 3.8% (1 of 26 strings)

Translation: OpenWrt/LuCI/applications/dcwapd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/en/

Translated using Weblate (Slovak)

Currently translated at 16.6% (2 of 12 strings)

Translation: OpenWrt/LuCI/applications/bcp38
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbcp38/sk/

Translated using Weblate (Slovak)

Currently translated at 3.6% (7 of 193 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/sk/

Translated using Weblate (German)

Currently translated at 100.0% (41 of 41 strings)

Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/de/

Translated using Weblate (German)

Currently translated at 95.7% (157 of 164 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/de/

Translated using Weblate (Slovak)

Currently translated at 4.5% (6 of 133 strings)

Translated using Weblate (English)

Currently translated at 77.0% (37 of 48 strings)

Translated using Weblate (English)

Currently translated at 12.2% (6 of 49 strings)

Translated using Weblate (Slovak)

Currently translated at 11.2% (22 of 195 strings)

Translated using Weblate (English)

Currently translated at 40.0% (2 of 5 strings)

Translated using Weblate (English)

Currently translated at 25.6% (50 of 195 strings)

Translated using Weblate (English)

Currently translated at 77.4% (148 of 191 strings)

Translated using Weblate (English)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (English)

Currently translated at 96.9% (32 of 33 strings)

Translated using Weblate (English)

Currently translated at 100.0% (14 of 14 strings)

Translated using Weblate (English)

Currently translated at 36.3% (4 of 11 strings)

Translated using Weblate (Slovak)

Currently translated at 5.5% (19 of 341 strings)

Translated using Weblate (English)

Currently translated at 35.1% (120 of 341 strings)

Translated using Weblate (English)

Currently translated at 2.4% (2 of 82 strings)

Translated using Weblate (English)

Currently translated at 99.2% (132 of 133 strings)

Translated using Weblate (Slovak)

Currently translated at 44.2% (770 of 1739 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/sk/

Translated using Weblate (English)

Currently translated at 17.8% (310 of 1739 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/en/

Translated using Weblate (German)

Currently translated at 99.8% (1736 of 1739 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/de/

Co-authored-by: Demian Wright <wright.demian+weblate@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Hulen <shift0106@gmail.com>
Co-authored-by: Juraj Šášik <juraj.sasik@gmail.com>
Co-authored-by: Martin <martin.hubner@web.de>
Co-authored-by: xiazhang <xz@xia.plus>
Signed-off-by: Demian Wright <wright.demian+weblate@gmail.com>
Signed-off-by: Hulen <shift0106@gmail.com>
Signed-off-by: Juraj Šášik <juraj.sasik@gmail.com>
Signed-off-by: Martin <martin.hubner@web.de>
Signed-off-by: xiazhang <xz@xia.plus>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/fi/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/fi/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscoovachilli/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsminidlna/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsntpc/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/fi/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/fi/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/fi/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/fi/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsupnp/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat/fi/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-battstatus/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-battstatus/fi/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-battstatus/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/zh_Hant/
Translation: OpenWrt/LuCI/applications/ahcp
Translation: OpenWrt/LuCI/applications/commands
Translation: OpenWrt/LuCI/applications/coovachilli
Translation: OpenWrt/LuCI/applications/minidlna
Translation: OpenWrt/LuCI/applications/ntpc
Translation: OpenWrt/LuCI/applications/nut
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/p910nd
Translation: OpenWrt/LuCI/applications/polipo
Translation: OpenWrt/LuCI/applications/radicale2
Translation: OpenWrt/LuCI/applications/splash
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/applications/upnp
Translation: OpenWrt/LuCI/applications/vnstat
Translation: OpenWrt/LuCI/applications/watchcat
Translation: OpenWrt/LuCI/modules/luci-mod-battstatus
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
2021-06-20 19:45:53 +03:00
Jo-Philipp Wich
e57f8663af luci-mod-network: parse ports without tag/pvid annotation as well
Fixes: 01eac366f6 ("luci-mod-network: fix tagging/pvid state parsing in bridge-vlan ports")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-17 17:44:21 +02:00
Jo-Philipp Wich
01eac366f6 luci-mod-network: fix tagging/pvid state parsing in bridge-vlan ports
The previous code naively looked for a `t` in the entire port spec,
wrongly matching untagged ports having a `t` in their name, such
as `eth0`.

Rework the logic to be more strict when parsing the port member
specification to avoid this issue.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-17 17:33:49 +02:00
Jo-Philipp Wich
f689d0d208 luci-mod-network: refactor device configuration
Since all netifd device types inherit generic device settings, we can
simplify various aspects of the device configuration ui and drop unused
code while we're at it.

 - Remove setIfActive() helper, superseded by commit
   f3f74bd0fe ("luci-base: form.js: consider aliased options in AbstractValue.remove()")

 - Remove most dependency constraints to make all generic device settings
   available for all device types

 - Add MTU value validation to disallow exceeding parent device MTU for
   VLAN interfaces

 - Dynamically update placeholder values when changing base or parent
   device options

 - Undo VLAN network config hack since all options are available now.
   Reverts commit
   3c6b59504a ("luci-mod-interfaces: simplify configuring MAC address of 802.1q devices")

 - Do not suggest inactive wireless networks as existing device or base
   device choices

 - Disallow specifying names of already existing network devices when
   creating new device settings

 - Fix a number of multicast dependency specifications

 - Drop now unused functions

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-17 12:40:43 +02:00
Jo-Philipp Wich
36350e9867 luci-mod-network: change port status layout in vlan filter config
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-17 09:45:48 +02:00
Jo-Philipp Wich
f6f1eacb01 luci-mod-network: only consider bridge vlans belonging to the current device
In case multiple bridges with bridge vlans are declared, LuCI did not
correctly filter the VLANs to show only the ones belonging to the
bridge being configured currently.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-17 09:22:16 +02:00
Hosted Weblate
6ce2678c13 Translated using Weblate (Chinese (Traditional))
Currently translated at 19.1% (37 of 193 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/zh_Hant/

Translated using Weblate (Chinese (Traditional))

Currently translated at 95.2% (161 of 169 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/zh_Hant/

Translated using Weblate (Portuguese)

Currently translated at 100.0% (196 of 196 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pt/

Translated using Weblate (Portuguese)

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (1739 of 1739 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/tr/

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: semih <semiht@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: 曹恩逢 <nelson22768384@gmail.com>
Signed-off-by: semih <semiht@gmail.com>
Signed-off-by: ssantos <ssantos@web.de>
Signed-off-by: 曹恩逢 <nelson22768384@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/pt/
Translation: OpenWrt/LuCI/applications/watchcat
2021-06-15 08:46:01 +03:00
Jo-Philipp Wich
4286c84825 luci-mod-network: wireless.js: recognize HE* htmodes
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3856#comment9797
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-14 09:06:20 +02:00
Jo-Philipp Wich
cbf2cc396a luci-mod-network: small styling fixes for vlan filter matrix
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-13 21:48:11 +02:00
Rafał Miłecki
fa51d04459 luci-mod-network: migrate more device options
Include mtu and igmp_snooping while migrating.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-06-12 23:01:28 +02:00
Jo-Philipp Wich
bb3269945c luci-mod-network: reset bridge VLANs on cancelling modal dialog
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-12 22:54:51 +02:00
Jo-Philipp Wich
7a781d9cd8 luci-mod-network: fix vlan filter matrix overflow after redraw
Ensure that the overflow styles are reapplied after a redraw. This also
simplifies the code as a side-effect.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-12 22:08:13 +02:00
Jo-Philipp Wich
1bcb12570c luci-base: network.js: add link status information accessors
Fixes: #5121
Fixes: 8c71b1d01e ("luci-mod-network: add port status to bridge vlan filter matrix")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-12 18:42:37 +02:00
Jo-Philipp Wich
8c71b1d01e luci-mod-network: add port status to bridge vlan filter matrix
Also ensure that port devices are ordered numerically.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-11 10:19:06 +02:00
Hosted Weblate
08ca25fe9c Translated using Weblate (Japanese)
Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Japanese)

Currently translated at 68.0% (34 of 50 strings)

Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/ja/

Translated using Weblate (Japanese)

Currently translated at 89.6% (26 of 29 strings)

Translation: OpenWrt/LuCI/applications/acl
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacl/ja/

Translated using Weblate (Japanese)

Currently translated at 94.5% (155 of 164 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/ja/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (1739 of 1739 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1739 of 1739 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/

Translated using Weblate (Korean)

Currently translated at 62.0% (31 of 50 strings)

Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/ko/

Translated using Weblate (Korean)

Currently translated at 34.1% (593 of 1739 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ko/

Translated using Weblate (Spanish)

Currently translated at 98.9% (1720 of 1739 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/

Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Meano Lee <meanocat@gmail.com>
Co-authored-by: Satoru Yoshida <ramat@ram.ne.jp>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: asdf1234 <cydyellowgreen@gmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Meano Lee <meanocat@gmail.com>
Signed-off-by: Satoru Yoshida <ramat@ram.ne.jp>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: asdf1234 <cydyellowgreen@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/ja/
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
2021-06-11 10:21:47 +03:00
Jo-Philipp Wich
ded6e53bcd luci-mod-network: fix horizontal scrolling in the bridge vlan filter matrix
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-09 21:55:43 +02:00
Jo-Philipp Wich
e3bf521edb luci-base: ui.js: determine dropdown position relative to overflow parent
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-09 21:55:43 +02:00
Jo-Philipp Wich
fb82e03635
Merge pull request #5110 from jow-/wireless-band-option
luci-mod-network: support newer wireless.wifi-device.band option
2021-06-09 19:26:04 +02:00
Lukasz Baj
c6a5c809ed luci-mod-status: fix NaN errors in realtime graphs
When I use Realtime Graphs I see following NaN errors:

    Error: <polyline> attribute points: Expected number, "0,298 0,NaN 5,NaN 10,NaN…".
    Error: <polyline> attribute points: Expected number, "0,298 0,NaN 5,NaN 10,NaN…".
    wireless.js?v=git-21.105.40538-2da37c2:19 Error: <polyline> attribute points: Expected number, "0,298 0,NaN 5,NaN 10,NaN…".
    eval @ wireless.js?v=git-21.105.40538-2da37c2:19
    Promise.then (async)
    eval @ wireless.js?v=git-21.105.40538-2da37c2:8
    step @ luci.js?v=git-21.105.40538-2da37c2:91
    start @ luci.js?v=git-21.105.40538-2da37c2:87
    add @ luci.js?v=git-21.105.40538-2da37c2:82
    pollData @ wireless.js?v=git-21.105.40538-2da37c2:7
    render @ wireless.js?v=git-21.105.40538-2da37c2:24
    Promise.then (async)
    __init__ @ luci.js?v=git-21.105.40538-2da37c2:148
    super @ luci.js?v=git-21.105.40538-2da37c2:22
    Anonymous42Class @ luci.js?v=git-21.105.40538-2da37c2:12
    (anonymous) @ luci.js?v=git-21.105.40538-2da37c2:181
    Promise.then (async)
    compileClass @ luci.js?v=git-21.105.40538-2da37c2:177
    Promise.then (async)
    require @ luci.js?v=git-21.105.40538-2da37c2:183
    instantiateView @ ui.js?v=git-21.105.40538-2da37c2:311
    (anonymous) @ wireless:47
    Promise.then (async)
    (anonymous) @ wireless:46

Signed-off-by: Lukasz Baj <l.baj@celerway.com>
[adjust subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-09 11:08:36 +02:00
Jo-Philipp Wich
e13d82a202 luci-mod-network: interfaces.js: fix ifname migration in device sections
The migration code attempted to add new device sections instead of moving
the ifname option to a ports list within the existing ones.

Fixes: #5108
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-09 11:01:36 +02:00