project/luci.git
2 years agoMerge pull request #5887 from jempatel/luci-app-apinger
Florian Eckert [Mon, 1 Aug 2022 05:53:57 +0000 (07:53 +0200)]
Merge pull request #5887 from jempatel/luci-app-apinger

luci-app-apinger: Add LuCI for Apinger

2 years agoluci-app-apinger: Add LuCI for Apinger 5887/head
Jaymin Patel [Sat, 16 Jul 2022 13:12:47 +0000 (18:42 +0530)]
luci-app-apinger: Add LuCI for Apinger

LuCI Support for Apinger

Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
2 years agoMerge pull request #5905 from ldir-EDB0/dashboard
Jo-Philipp Wich [Sat, 30 Jul 2022 11:58:45 +0000 (13:58 +0200)]
Merge pull request #5905 from ldir-EDB0/dashboard

luci-mod-dashboard: show IPv6 connection uptime

2 years agoluci-app-attendedsysupgrade: s/res/response/
Paul Spooren [Fri, 29 Jul 2022 14:16:48 +0000 (16:16 +0200)]
luci-app-attendedsysupgrade: s/res/response/

The variable was party called `res` or `response`, always call it
`response` from now on. This also solves a typo where
`data.request_hash` is never set to a correct value.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2 years agoluci-mod-dashboard: show IPv6 connection uptime 5905/head
Kevin Darbyshire-Bryant [Thu, 28 Jul 2022 18:09:33 +0000 (19:09 +0100)]
luci-mod-dashboard: show IPv6 connection uptime

Show connection uptime for both IPv4 & IPv6 interfaces.
Rename display field from 'Connected since' to 'Uptime' as this makes
more sense to me.  You could say 'Connected for' or 'Connection
duration'.  After a lot of thought decided that 'Uptime' is what I'm
most comfortable saying.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2 years agoluci-app-attendedsysupgrade: report used client version
Paul Spooren [Thu, 28 Jul 2022 20:43:46 +0000 (22:43 +0200)]
luci-app-attendedsysupgrade: report used client version

This allows the backend to track popular app versions and drop support for
unsed version in case of API changes.

Specifically the app sends a version string in the format "luci/GIT_HASH" to
the backend.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2 years agoMerge pull request #5824 from jtkohl/luci-app-watchcat-RunScript
Florian Eckert [Fri, 29 Jul 2022 06:15:35 +0000 (08:15 +0200)]
Merge pull request #5824 from jtkohl/luci-app-watchcat-RunScript

luci-app-watchcat: add support for run_script mode

2 years agoMerge pull request #5903 from Jalakas/master
Jo-Philipp Wich [Thu, 28 Jul 2022 18:04:27 +0000 (20:04 +0200)]
Merge pull request #5903 from Jalakas/master

luci-proto-ncm: adds missing error messages, removes 'dialnumber' opt…

2 years agoluci-proto-ncm: adds missing error messages, removes 'dialnumber' option, changes... 5903/head
Jalakas [Thu, 28 Jul 2022 16:23:21 +0000 (19:23 +0300)]
luci-proto-ncm: adds missing error messages, removes 'dialnumber' option, changes 'delay' according to real behavior
This commit:
Adds missing error messages and harmonizes message texts with comgt-ncm script. [1]
Removes option 'dialnumber' not used in comgt-ncm. [1][2]
Fixes option 'delay' according to comgt-ncm script real behavior. (No default value, if parameter is set, then there's always sleep) [1]

[1] https://github.com/openwrt/openwrt/blob/master/package/network/utils/comgt/files/ncm.sh
[2] https://github.com/openwrt/openwrt/blob/master/package/network/utils/comgt/files/ncm.json

Signed-off-by: Anari Jalakas <anari.jalakas@gmail.com>
2 years agoluci-mod-network: ensure consistent bridge port and network interface order
Jo-Philipp Wich [Wed, 27 Jul 2022 15:33:59 +0000 (17:33 +0200)]
luci-mod-network: ensure consistent bridge port and network interface order

Ref: #5899
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: revise array sorting
Jo-Philipp Wich [Wed, 27 Jul 2022 15:19:08 +0000 (17:19 +0200)]
luci-base: revise array sorting

Refactor various sort operations throughout luci-base to use the new
L.naturalCompare() comparator function.

This primarily ensures that embedded numbers are sorted numerically and
not in a lexicographical way.

It also simplifies some code as a side effect.

Ref: #5899
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: luci.js: add array sort utilities
Jo-Philipp Wich [Wed, 27 Jul 2022 14:31:10 +0000 (16:31 +0200)]
luci-base: luci.js: add array sort utilities

Add two new utility functions L.naturalCompare() and L.sortedArray() to
simplify sorting arrays naturally.

Ref: #5899
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoucode-mod-lua: add workaround for dynamic Lua extension loading
Jo-Philipp Wich [Wed, 27 Jul 2022 14:18:52 +0000 (16:18 +0200)]
ucode-mod-lua: add workaround for dynamic Lua extension loading

Reopen self with dlopen(RTLD_GLOBAL) in order to export liblua symbols for
runtime loading of dynamic Lua extensions.

Reported-by: Stijn Tintel <stijn@linux-ipv6.be>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoTranslated using Weblate (Chinese (Simplified))
Hosted Weblate [Wed, 27 Jul 2022 13:32:50 +0000 (15:32 +0200)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2029 of 2029 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2029 of 2029 strings)

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

Translated using Weblate (Danish)

Currently translated at 100.0% (60 of 60 strings)

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

Translated using Weblate (Danish)

Currently translated at 100.0% (62 of 62 strings)

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

Translated using Weblate (French)

Currently translated at 18.0% (38 of 211 strings)

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

Translated using Weblate (French)

Currently translated at 99.4% (185 of 186 strings)

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

Translated using Weblate (French)

Currently translated at 20.3% (38 of 187 strings)

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

Translated using Weblate (French)

Currently translated at 98.9% (184 of 186 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Catalan)

Currently translated at 4.7% (10 of 211 strings)

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

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (50 of 50 strings)

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

Translated using Weblate (Russian)

Currently translated at 27.2% (18 of 66 strings)

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

Translated using Weblate (Russian)

Currently translated at 36.9% (31 of 84 strings)

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

Translated using Weblate (Catalan)

Currently translated at 9.0% (4 of 44 strings)

Translation: OpenWrt/LuCI/applications/ser2net
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsser2net/ca/

Translated using Weblate (Catalan)

Currently translated at 20.0% (5 of 25 strings)

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

Translated using Weblate (Catalan)

Currently translated at 7.4% (7 of 94 strings)

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

Translated using Weblate (Russian)

Currently translated at 63.9% (71 of 111 strings)

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

Translated using Weblate (Russian)

Currently translated at 57.6% (30 of 52 strings)

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

Translated using Weblate (Catalan)

Currently translated at 6.8% (2 of 29 strings)

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

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (24 of 24 strings)

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

Translated using Weblate (Catalan)

Currently translated at 15.3% (4 of 26 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (62 of 62 strings)

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

Translated using Weblate (Ukrainian)

Currently translated at 85.0% (153 of 180 strings)

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

Translated using Weblate (Russian)

Currently translated at 59.6% (37 of 62 strings)

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

Translated using Weblate (Russian)

Currently translated at 71.1% (121 of 170 strings)

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

Translated using Weblate (Catalan)

Currently translated at 12.0% (16 of 133 strings)

Translated using Weblate (Russian)

Currently translated at 63.6% (28 of 44 strings)

Translated using Weblate (Catalan)

Currently translated at 43.2% (16 of 37 strings)

Translated using Weblate (French)

Currently translated at 99.0% (2006 of 2025 strings)

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

Co-authored-by: Alexey Carterline <consulive@live.com>
Co-authored-by: Artem <artem@molotov.work>
Co-authored-by: Christophe Blancon <christophe.blancon@gmail.com>
Co-authored-by: Eric <alchemillatruth@purelymail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: drax red <drax@outlook.dk>
Co-authored-by: dtalens <databio@gmail.com>
Signed-off-by: Alexey Carterline <consulive@live.com>
Signed-off-by: Artem <artem@molotov.work>
Signed-off-by: Christophe Blancon <christophe.blancon@gmail.com>
Signed-off-by: Eric <alchemillatruth@purelymail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: drax red <drax@outlook.dk>
Signed-off-by: dtalens <databio@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/ca/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/ca/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/fr/
Translation: OpenWrt/LuCI/applications/fwknopd
Translation: OpenWrt/LuCI/applications/nut
Translation: OpenWrt/LuCI/applications/samba4
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard

2 years agoMerge pull request #5898 from musashino205/i18n/material_fix_msg
Florian Eckert [Wed, 27 Jul 2022 06:38:12 +0000 (08:38 +0200)]
Merge pull request #5898 from musashino205/i18n/material_fix_msg

luci-theme-material: fix typo in recovery mode message

2 years agoluci-base: sync translations 5898/head
INAGAKI Hiroshi [Wed, 27 Jul 2022 02:26:32 +0000 (11:26 +0900)]
luci-base: sync translations

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2 years agoluci-theme-material: fix typo in recovery mode message
INAGAKI Hiroshi [Wed, 27 Jul 2022 01:57:50 +0000 (10:57 +0900)]
luci-theme-material: fix typo in recovery mode message

Fix the message from "Sytem" to "System" and merge with the existing
message on the other themes.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2 years agoTranslated using Weblate (German)
Hosted Weblate [Sun, 24 Jul 2022 16:12:06 +0000 (18:12 +0200)]
Translated using Weblate (German)

Currently translated at 100.0% (84 of 84 strings)

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

Translated using Weblate (French)

Currently translated at 96.2% (1950 of 2025 strings)

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

Translated using Weblate (German)

Currently translated at 99.9% (2024 of 2025 strings)

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

Translated using Weblate (French)

Currently translated at 92.8% (78 of 84 strings)

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

Translated using Weblate (French)

Currently translated at 22.4% (26 of 116 strings)

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

Translated using Weblate (French)

Currently translated at 47.7% (54 of 113 strings)

Translated using Weblate (French)

Currently translated at 95.7% (1938 of 2025 strings)

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

Translated using Weblate (Urdu)

Currently translated at 87.5% (63 of 72 strings)

Translated using Weblate (Urdu)

Currently translated at 0.6% (14 of 2025 strings)

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

Translated using Weblate (French)

Currently translated at 98.9% (184 of 186 strings)

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

Translated using Weblate (French)

Currently translated at 37.4% (73 of 195 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (62 of 62 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (180 of 180 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (195 of 195 strings)

Translated using Weblate (French)

Currently translated at 71.4% (245 of 343 strings)

Translated using Weblate (French)

Currently translated at 86.7% (1757 of 2025 strings)

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

Added translation using Weblate (Urdu)

Added translation using Weblate (Urdu)

Translated using Weblate (Japanese)

Currently translated at 81.1% (1644 of 2025 strings)

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

Translated using Weblate (German)

Currently translated at 99.9% (2024 of 2025 strings)

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

Translated using Weblate (German)

Currently translated at 97.9% (48 of 49 strings)

Translated using Weblate (German)

Currently translated at 96.6% (58 of 60 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 100.0% (66 of 66 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 100.0% (84 of 84 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 100.0% (17 of 17 strings)

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

Translated using Weblate (German)

Currently translated at 94.1% (16 of 17 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 100.0% (60 of 60 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 100.0% (168 of 168 strings)

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

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 (German)

Currently translated at 99.4% (195 of 196 strings)

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

Translated using Weblate (German)

Currently translated at 93.7% (30 of 32 strings)

Co-authored-by: Christophe Blancon <christophe.blancon@gmail.com>
Co-authored-by: Hannu Nyman <hannu.nyman@iki.fi>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Co-authored-by: Usama Khursheed <Usamakhursheedkhan@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Signed-off-by: Christophe Blancon <christophe.blancon@gmail.com>
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: Usama Khursheed <Usamakhursheedkhan@gmail.com>
Signed-off-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/fr/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/ur/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/fr/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/fr/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/de/
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/opkg
Translation: OpenWrt/LuCI/applications/radicale2
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/watchcat
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard

2 years agoluci-proto-wireguard: configuration import improvements
Jo-Philipp Wich [Sat, 23 Jul 2022 18:24:09 +0000 (20:24 +0200)]
luci-proto-wireguard: configuration import improvements

 - Reword texts in import dialogs for better clarity, use different
   descriptions for full import and peer import

 - Allow importing configurations without [Peer] section

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-proto-ncm: rename `service` option to `mode`
Jo-Philipp Wich [Mon, 11 Jul 2022 09:23:57 +0000 (11:23 +0200)]
luci-proto-ncm: rename `service` option to `mode`

Package luci-proto-ncm depends on comgt-ncm which uses an option
called 'mode' to set the radiomode of the modem. There is no option
'service' in the comgt-ncm scripts.

Suggested-by: breenstorm <49235337+breenstorm@users.noreply.github.com>
[fix commit subject, add commit message, rebase onto master branch]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: uci.js: prevent sending empty uci set operations
Jo-Philipp Wich [Fri, 22 Jul 2022 22:10:17 +0000 (00:10 +0200)]
luci-base: uci.js: prevent sending empty uci set operations

Under certain circumstances, a staged uci option value might get unset
again before saving the config, leaving an empty section change set
behind, causing the save call to send an empty uci set request via rpc,
triggering an ubus code 4 (Resource not found) error.

In particular this prevented bridge VLANs from getting saved properly.

Fixes: #5876
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: form.js: fix removing just created named GridSection
Jo-Philipp Wich [Fri, 22 Jul 2022 21:41:05 +0000 (23:41 +0200)]
luci-base: form.js: fix removing just created named GridSection

Since the `handleModalSave()` handler of the GridSection class invokes
`handleModalCancel()` after saving the data but before removing the
`addedSection` property, the `handleModalCancel` handler incorrectly
removed the uci section that has just been created.

This bug didn't affect anonymous GridSections because after saving the
id of the created section changes, causing the remove command to fail,
but for named ones with stable section IDs, the bug manifested.

Solve the issue by passing a flag to `handleModalCancel()` indicating
whether the method was called from a safe operation and use it do
decide whether to delete the new staged uci section or not.

Fixes: #5760
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci.mk: disable english translation packages
Jo-Philipp Wich [Fri, 22 Jul 2022 14:14:55 +0000 (16:14 +0200)]
luci.mk: disable english translation packages

Since english is the implementation language of LuCI, it makes no sense to
ship translation packages for it.

Ref: #5860
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci.mk: ignore language directories not explicitly mentioned
Jo-Philipp Wich [Fri, 22 Jul 2022 14:11:42 +0000 (16:11 +0200)]
luci.mk: ignore language directories not explicitly mentioned

Only create translation packages for languages mentioned in luci.mk

Fixes: #5886
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoTranslated using Weblate (Dutch)
Hosted Weblate [Mon, 18 Jul 2022 23:40:05 +0000 (01:40 +0200)]
Translated using Weblate (Dutch)

Currently translated at 6.4% (12 of 186 strings)

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

Translated using Weblate (Spanish)

Currently translated at 96.4% (1953 of 2025 strings)

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

Added translation using Weblate (Dutch)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (74 of 74 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (17 of 17 strings)

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

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (168 of 168 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (211 of 211 strings)

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

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (66 of 66 strings)

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

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (84 of 84 strings)

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

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (62 of 62 strings)

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

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (170 of 170 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% (60 of 60 strings)

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

Translated using Weblate (Chinese (Traditional))

Currently translated at 99.5% (2016 of 2025 strings)

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

Translated using Weblate (Spanish)

Currently translated at 96.4% (1953 of 2025 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2025 of 2025 strings)

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

Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Hulen <shift0106@gmail.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: croissantpetrichor <pierollsporkoctopus@proton.me>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Hulen <shift0106@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: croissantpetrichor <pierollsporkoctopus@proton.me>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/zh_Hant/
Translation: OpenWrt/LuCI/applications/ahcp
Translation: OpenWrt/LuCI/applications/tinyproxy

2 years agoMerge pull request #5885 from andrewbartolo/fix
Stan Grishin [Mon, 18 Jul 2022 23:38:44 +0000 (02:38 +0300)]
Merge pull request #5885 from andrewbartolo/fix

luci-app-advanced-reboot: Fix Linksys EA4500 descriptor file

2 years agoluci-app-advanced-reboot: Fix Linksys EA4500 descriptor file 5885/head
Andy Bartolo [Fri, 15 Jul 2022 00:57:11 +0000 (18:57 -0600)]
luci-app-advanced-reboot: Fix Linksys EA4500 descriptor file

Signed-off-by: Andy Bartolo <andrew.bartolo@gmail.com>
2 years agoMerge pull request #5881 from weblate/weblate-openwrt-luci
Florian Eckert [Thu, 14 Jul 2022 06:12:20 +0000 (08:12 +0200)]
Merge pull request #5881 from weblate/weblate-openwrt-luci

Translations update from Hosted Weblate

2 years agoAdded translation using Weblate (Urdu) 5881/head
Hosted Weblate [Wed, 13 Jul 2022 22:32:17 +0000 (00:32 +0200)]
Added translation using Weblate (Urdu)

Translated using Weblate (Spanish)

Currently translated at 96.6% (58 of 60 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (196 of 196 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (196 of 196 strings)

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

Translated using Weblate (Spanish)

Currently translated at 90.6% (29 of 32 strings)

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 (Polish)

Currently translated at 100.0% (60 of 60 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (60 of 60 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (60 of 60 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 96.6% (58 of 60 strings)

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

Co-authored-by: Eric <alchemillatruth@purelymail.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: Paul Spooren <mail@aparcar.org>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: Eric <alchemillatruth@purelymail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/es/
Translation: OpenWrt/LuCI/applications/watchcat

2 years agoMerge pull request #5883 from arbolitoloco1/patch-3
Jo-Philipp Wich [Wed, 13 Jul 2022 06:46:45 +0000 (08:46 +0200)]
Merge pull request #5883 from arbolitoloco1/patch-3

luci-mod-dashboard: improve label's display

2 years agoluci-mod-dashboard: improve label's display 5883/head
Santiago Kozak [Tue, 12 Jul 2022 23:10:02 +0000 (20:10 -0300)]
luci-mod-dashboard: improve label's display

Removing overflow and position, adding padding and increasing font size for the label.

Signed-off-by: Santiago Kozak <santikzk1406@gmail.com>
2 years agoluci-mod-network: demote WPA-PSK to "low" security in the choice list
Jo-Philipp Wich [Tue, 12 Jul 2022 14:12:30 +0000 (16:12 +0200)]
luci-mod-network: demote WPA-PSK to "low" security in the choice list

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-app-ddns: fix broken translation call
Jo-Philipp Wich [Tue, 12 Jul 2022 13:43:34 +0000 (15:43 +0200)]
luci-app-ddns: fix broken translation call

Fixes: #5874
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-app-nft-qos: rebase translation
Florian Eckert [Tue, 12 Jul 2022 07:16:39 +0000 (09:16 +0200)]
luci-app-nft-qos: rebase translation

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2 years agoluci-appnft-qos: add missing translation wrapper
Florian Eckert [Tue, 12 Jul 2022 07:12:06 +0000 (09:12 +0200)]
luci-appnft-qos: add missing translation wrapper

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2 years agoMerge pull request #5878 from weblate/weblate-openwrt-luci
Florian Eckert [Tue, 12 Jul 2022 07:13:54 +0000 (09:13 +0200)]
Merge pull request #5878 from weblate/weblate-openwrt-luci

Translations update from Hosted Weblate

2 years agoTranslated using Weblate (Dutch) 5878/head
Hosted Weblate [Mon, 11 Jul 2022 09:22:29 +0000 (11:22 +0200)]
Translated using Weblate (Dutch)

Currently translated at 12.5% (43 of 343 strings)

Translated using Weblate (Dutch)

Currently translated at 45.9% (17 of 37 strings)

Translated using Weblate (Dutch)

Currently translated at 8.3% (170 of 2025 strings)

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

Co-authored-by: Fabrice Delahaij <fdelahaij@extreemhost.nl>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Signed-off-by: Fabrice Delahaij <fdelahaij@extreemhost.nl>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/nl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/nl/
Translation: OpenWrt/LuCI/applications/samba4
Translation: OpenWrt/LuCI/applications/statistics

2 years agoTranslated using Weblate (Chinese (Simplified))
Hosted Weblate [Sat, 9 Jul 2022 20:58:30 +0000 (22:58 +0200)]
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% (32 of 32 strings)

Translated using Weblate (German)

Currently translated at 99.9% (2024 of 2025 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Spanish)

Currently translated at 84.6% (94 of 111 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2025 of 2025 strings)

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

Translated using Weblate (German)

Currently translated at 30.7% (32 of 104 strings)

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

Translated using Weblate (German)

Currently translated at 95.2% (201 of 211 strings)

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

Translated using Weblate (German)

Currently translated at 45.1% (14 of 31 strings)

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

Translated using Weblate (German)

Currently translated at 37.8% (42 of 111 strings)

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

Translated using Weblate (German)

Currently translated at 94.1% (16 of 17 strings)

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

Translated using Weblate (German)

Currently translated at 88.7% (166 of 187 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (29 of 29 strings)

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

Translated using Weblate (German)

Currently translated at 99.4% (195 of 196 strings)

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

Translated using Weblate (German)

Currently translated at 90.6% (29 of 32 strings)

Translated using Weblate (Chinese (Simplified))

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_Hans/

Co-authored-by: Arbolito Loco <santikzk1406@gmail.com>
Co-authored-by: Christian Sch <pr0byt3@web.de>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: MkQtS <onewordwrong@aliyun.com>
Co-authored-by: Zheng Qian <sotux82@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Signed-off-by: Arbolito Loco <santikzk1406@gmail.com>
Signed-off-by: Christian Sch. <pr0byt3@web.de>
Signed-off-by: MkQtS <onewordwrong@aliyun.com>
Signed-off-by: Zheng Qian <sotux82@gmail.com>
Signed-off-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/zh_Hans/
Translation: OpenWrt/LuCI/applications/watchcat

2 years agoluci-mod-network: fix sort operations
Jo-Philipp Wich [Fri, 8 Jul 2022 14:03:14 +0000 (16:03 +0200)]
luci-mod-network: fix sort operations

Ensure to return [-1, 0, 1] from the sort callback instead of [0, 1]
which fails in non-FF browsers.

Fixes: #5859
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: use different cookie names for HTTP and HTTPS
Jo-Philipp Wich [Fri, 8 Jul 2022 13:38:53 +0000 (15:38 +0200)]
luci-base: use different cookie names for HTTP and HTTPS

Since HTTP cookies may not overwrite HTTPS ("secure") ones, users are
frequently unable to log into LuCI when a stale, "secure" `sysauth` cookie
is still present in the browser as it commonly happens after e.g. a
sysupgrade operation or when frequently jumping between HTTP and HTTPS
access.

Rework the dispatcher to set either a `sysauth_http` or `sysauth_https`
cookie, depending on the HTTPS state of the server connection and accept
both cookie names when verifying the session ID.

This allows users to log into a HTTP-only LuCI instance while a stale,
"secure" HTTPS cookie is still present.

Requires commit 2b0539ef9d ("lucihttp: update to latest Git HEAD") to
function properly.

Fixes: #5843
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agolucihttp: update to latest Git HEAD
Jo-Philipp Wich [Fri, 8 Jul 2022 13:26:23 +0000 (15:26 +0200)]
lucihttp: update to latest Git HEAD

6e68a10 utils: also compare attribute name length in lh_header_attribute()
7b721af testcases: adjust urldecode tests

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoMerge pull request #5852 from y04/master
Jo-Philipp Wich [Tue, 5 Jul 2022 21:52:24 +0000 (23:52 +0200)]
Merge pull request #5852 from y04/master

Optimized PNG filesizes

2 years agoMerge pull request #5869 from galeksandrp/status-fix-oom-nftables
Jo-Philipp Wich [Tue, 5 Jul 2022 21:50:06 +0000 (23:50 +0200)]
Merge pull request #5869 from galeksandrp/status-fix-oom-nftables

luci-mod-status: nftables.js: fix OOM on big nftables IP sets

2 years agoluci-mod-status: nftables.js: fix OOM on big nftables IP sets 5869/head
Alexander Georgievskiy [Tue, 5 Jul 2022 11:13:50 +0000 (14:13 +0300)]
luci-mod-status: nftables.js: fix OOM on big nftables IP sets

Signed-off-by: Alexander Georgievskiy <galeksandrp@gmail.com>
2 years agoTranslated using Weblate (English)
Hosted Weblate [Sun, 3 Jul 2022 10:26:34 +0000 (12:26 +0200)]
Translated using Weblate (English)

Currently translated at 0.0% (0 of 211 strings)

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

Translated using Weblate (English)

Currently translated at 11.1% (2 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 0.0% (0 of 187 strings)

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

Translated using Weblate (English)

Currently translated at 2.5% (2 of 80 strings)

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

Translated using Weblate (English)

Currently translated at 0.5% (1 of 170 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/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 0.0% (0 of 195 strings)

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

Translated using Weblate (English)

Currently translated at 0.0% (0 of 62 strings)

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

Translated using Weblate (English)

Currently translated at 0.5% (1 of 180 strings)

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

Translated using Weblate (English)

Currently translated at 25.1% (49 of 195 strings)

Translated using Weblate (English)

Currently translated at 77.4% (148 of 191 strings)

Translated using Weblate (English)

Currently translated at 0.0% (0 of 72 strings)

Translated using Weblate (English)

Currently translated at 98.2% (111 of 113 strings)

Translated using Weblate (English)

Currently translated at 34.9% (120 of 343 strings)

Translated using Weblate (English)

Currently translated at 84.0% (21 of 25 strings)

Translated using Weblate (English)

Currently translated at 0.0% (0 of 2025 strings)

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

Translated using Weblate (English)

Currently translated at 2.7% (2 of 72 strings)

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

Translated using Weblate (English)

Currently translated at 0.4% (1 of 211 strings)

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

Translated using Weblate (English)

Currently translated at 0.0% (0 of 33 strings)

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

Translated using Weblate (English)

Currently translated at 1.0% (1 of 94 strings)

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

Translated using Weblate (English)

Currently translated at 0.0% (0 of 111 strings)

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

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 0.0% (0 of 108 strings)

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

Translated using Weblate (English)

Currently translated at 3.7% (3 of 80 strings)

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

Translated using Weblate (English)

Currently translated at 0.0% (0 of 116 strings)

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

Translated using Weblate (English)

Currently translated at 0.8% (1 of 125 strings)

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

Translated using Weblate (English)

Currently translated at 0.0% (0 of 13 strings)

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

Translated using Weblate (English)

Currently translated at 0.8% (1 of 123 strings)

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

Translated using Weblate (English)

Currently translated at 3.2% (1 of 31 strings)

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

Translated using Weblate (English)

Currently translated at 1.0% (2 of 196 strings)

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

Translated using Weblate (English)

Currently translated at 0.5% (1 of 195 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 100.0% (62 of 62 strings)

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

Translated using Weblate (English)

Currently translated at 62.9% (39 of 62 strings)

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

Translated using Weblate (English)

Currently translated at 0.5% (1 of 168 strings)

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

Translated using Weblate (English)

Currently translated at 0.0% (0 of 38 strings)

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

Translated using Weblate (English)

Currently translated at 1.1% (2 of 180 strings)

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

Translated using Weblate (English)

Currently translated at 34.0% (15 of 44 strings)

Translated using Weblate (English)

Currently translated at 25.6% (50 of 195 strings)

Translated using Weblate (English)

Currently translated at 10.8% (8 of 74 strings)

Translated using Weblate (English)

Currently translated at 93.9% (31 of 33 strings)

Translated using Weblate (English)

Currently translated at 1.3% (1 of 72 strings)

Translated using Weblate (English)

Currently translated at 0.0% (0 of 16 strings)

Translated using Weblate (English)

Currently translated at 60.3% (35 of 58 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2025 of 2025 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (66 of 66 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (84 of 84 strings)

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

Translated using Weblate (German)

Currently translated at 99.4% (194 of 195 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (170 of 170 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (62 of 62 strings)

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

Translated using Weblate (German)

Currently translated at 99.9% (2023 of 2025 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (170 of 170 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (170 of 170 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (62 of 62 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (62 of 62 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (62 of 62 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% (170 of 170 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (170 of 170 strings)

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

Translated using Weblate (Spanish)

Currently translated at 98.3% (61 of 62 strings)

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

Translated using Weblate (Spanish)

Currently translated at 96.3% (1952 of 2025 strings)

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

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hannu Nyman <hannu.nyman@iki.fi>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Mc Giver <mcgivergim@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: Zheng Qian <sotux82@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Signed-off-by: Eric <alchemillatruth@purelymail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Mc Giver <mcgivergim@gmail.com>
Signed-off-by: Oğuz Ersen <oguz@ersen.moe>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: Zheng Qian <sotux82@gmail.com>
Signed-off-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/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/luciapplicationsopkg/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsqos/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat/en/
Translation: OpenWrt/LuCI/applications/ahcp
Translation: OpenWrt/LuCI/applications/fwknopd
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/opkg
Translation: OpenWrt/LuCI/applications/polipo
Translation: OpenWrt/LuCI/applications/qos
Translation: OpenWrt/LuCI/applications/radicale2
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/applications/vnstat

2 years agoluci-app-xfrpc: add po template
Florian Eckert [Thu, 30 Jun 2022 08:08:28 +0000 (10:08 +0200)]
luci-app-xfrpc: add po template

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2 years agotreewide: sync translations
Florian Eckert [Thu, 30 Jun 2022 08:01:38 +0000 (10:01 +0200)]
treewide: sync translations

Sync translations.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2 years agoluci-app-mwan3: fix i18n plural warning
Florian Eckert [Thu, 30 Jun 2022 07:58:08 +0000 (09:58 +0200)]
luci-app-mwan3: fix i18n plural warning

Updating applications/luci-app-mwan3/po/templates/mwan3.pot ...
xgettext: warning: msgid '%d second' is used without plural and with
plural.
  standard input:175: Here is the occurrence without plural.
  standard input:170: Here is the occurrence with plural.
Workaround: If the msgid is a sentence, change the wording of the
sentence; otherwise, use contexts for disambiguation.
xgettext: warning: msgid '%d second' is used without plural and with
plural.
  standard input:191: Here is the occurrence without plural.
  standard input:170: Here is the occurrence with plural.
Workaround: If the msgid is a sentence, change the wording of the
sentence; otherwise, use contexts for disambiguation.
xgettext: warning: msgid '%d second' is used without plural and with
plural.
  standard input:213: Here is the occurrence without plural.
  standard input:170: Here is the occurrence with plural.
Workaround: If the msgid is a sentence, change the wording of the
sentence; otherwise, use contexts for disambiguation.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2 years agoMerge pull request #5851 from weblate/weblate-openwrt-luci
Florian Eckert [Thu, 30 Jun 2022 07:15:28 +0000 (09:15 +0200)]
Merge pull request #5851 from weblate/weblate-openwrt-luci

Translations update from Hosted Weblate

2 years agoTranslated using Weblate (English) 5851/head
Hosted Weblate [Tue, 28 Jun 2022 14:41:16 +0000 (16:41 +0200)]
Translated using Weblate (English)

Currently translated at 1.4% (3 of 211 strings)

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

Translated using Weblate (Greek)

Currently translated at 11.7% (2 of 17 strings)

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

Translated using Weblate (English)

Currently translated at 22.2% (4 of 18 strings)

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

Translated using Weblate (Greek)

Currently translated at 15.3% (8 of 52 strings)

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

Translated using Weblate (English)

Currently translated at 0.5% (1 of 187 strings)

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

Translated using Weblate (Greek)

Currently translated at 5.3% (10 of 187 strings)

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

Translated using Weblate (English)

Currently translated at 6.2% (5 of 80 strings)

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

Translated using Weblate (English)

Currently translated at 1.1% (2 of 170 strings)

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

Translated using Weblate (English)

Currently translated at 3.0% (2 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 1.0% (2 of 195 strings)

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

Translated using Weblate (English)

Currently translated at 100.0% (61 of 61 strings)

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

Translated using Weblate (English)

Currently translated at 2.2% (4 of 180 strings)

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

Translated using Weblate (English)

Currently translated at 26.6% (52 of 195 strings)

Translated using Weblate (English)

Currently translated at 78.0% (149 of 191 strings)

Translated using Weblate (English)

Currently translated at 35.2% (121 of 343 strings)

Translated using Weblate (Spanish)

Currently translated at 96.3% (1952 of 2025 strings)

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

Translated using Weblate (English)

Currently translated at 0.1% (1 of 2025 strings)

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

Translated using Weblate (Greek)

Currently translated at 31.2% (632 of 2025 strings)

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

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 (Portuguese (Brazil))

Currently translated at 100.0% (84 of 84 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (17 of 17 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (168 of 168 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (74 of 74 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (2025 of 2025 strings)

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

Translated using Weblate (Indonesian)

Currently translated at 18.3% (9 of 49 strings)

Translated using Weblate (German)

Currently translated at 100.0% (50 of 50 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2025 of 2025 strings)

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

Added translation using Weblate (Indonesian)

Added translation using Weblate (Indonesian)

Added translation using Weblate (Indonesian)

Translated using Weblate (Danish)

Currently translated at 100.0% (2025 of 2025 strings)

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

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 (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 (Chinese (Simplified))

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_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Spanish)

Currently translated at 96.3% (1952 of 2025 strings)

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

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 (Turkish)

Currently translated at 95.2% (80 of 84 strings)

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

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (25 of 25 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (17 of 17 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (168 of 168 strings)

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

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (37 of 37 strings)

Translated using Weblate (Turkish)

Currently translated at 95.7% (1938 of 2025 strings)

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

Co-authored-by: Anton Kikin <a.a.kikin@gmail.com>
Co-authored-by: Artem <artem@molotov.work>
Co-authored-by: Christian Neff <christian.neff@gmail.com>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Josef Schlehofer <pepe@bloodkings.eu>
Co-authored-by: MarioK239 <marios.k239@gmail.com>
Co-authored-by: Mc Giver <mcgivergim@gmail.com>
Co-authored-by: MkQtS <onewordwrong@aliyun.com>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: Yody <yooody@pm.me>
Co-authored-by: drax red <drax@outlook.dk>
Co-authored-by: metezd <itoldyouthat@protonmail.com>
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Signed-off-by: Artem <artem@molotov.work>
Signed-off-by: Christian Neff <christian.neff@gmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Josef Schlehofer <pepe@bloodkings.eu>
Signed-off-by: MarioK239 <marios.k239@gmail.com>
Signed-off-by: Mc Giver <mcgivergim@gmail.com>
Signed-off-by: MkQtS <onewordwrong@aliyun.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: drax red <drax@outlook.dk>
Signed-off-by: metezd <itoldyouthat@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/pt_BR/
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/luciapplicationssamba4/uk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/id/
Translation: OpenWrt/LuCI/applications/ahcp
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/samba4
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/applications/watchcat
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard

2 years agoMerge pull request #5842 from liudf0716/xfrpc
Florian Eckert [Wed, 29 Jun 2022 09:07:53 +0000 (11:07 +0200)]
Merge pull request #5842 from liudf0716/xfrpc

luci-app-xfrpc: add luci-app-xfrpc

2 years agoMerge pull request #5855 from plappermaul/master
Florian Eckert [Tue, 28 Jun 2022 14:39:26 +0000 (16:39 +0200)]
Merge pull request #5855 from plappermaul/master

rpcd-mod-luci: filter bonding_masters

2 years agoluci-app-xfrpc: add luci-app-xfrpc 5842/head
Dengfeng Liu [Mon, 9 May 2022 09:21:30 +0000 (17:21 +0800)]
luci-app-xfrpc: add luci-app-xfrpc

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2 years agorpcd-mod-luci: update filter for rpc_luci_get_network_devices 5855/head
Markus Stockhausen [Tue, 28 Jun 2022 08:54:48 +0000 (10:54 +0200)]
rpcd-mod-luci: update filter for rpc_luci_get_network_devices

When kernel bonding module is loaded it will create a special
file /sys/class/net/bonding_masters. This is no network device.
Filter it out for getNetworkDevices() call.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
2 years agoluci-app-bmx7: optimized images filesizes 5852/head
y04 [Fri, 24 Jun 2022 23:47:38 +0000 (01:47 +0200)]
luci-app-bmx7: optimized images filesizes

Wifi icons optimized without any quality degradation. Bmx7logo filesize rediced from 5121 to 3318 bytes, visually looks the same, technically the image is 99.9% identical.

Signed-off-by: Alexander Semukhin <semukhin@mail.com>
2 years agoluci-base: optimized icons filesizes
y04 [Fri, 24 Jun 2022 23:45:55 +0000 (01:45 +0200)]
luci-base: optimized icons filesizes

Optimized PNG filesize without any quality loss.

Signed-off-by: Alexander Semukhin <semukhin@mail.com>
2 years agoluci-theme-openwrt: optimized image filesize
y04 [Fri, 24 Jun 2022 23:44:22 +0000 (01:44 +0200)]
luci-theme-openwrt: optimized image filesize

Optimized PNG filesize from 152 to 80 bytes without any quality loss.

Signed-off-by: Alexander Semukhin <semukhin@mail.com>
2 years agoluci-theme-material: optimized image filesize
y04 [Fri, 24 Jun 2022 23:43:23 +0000 (01:43 +0200)]
luci-theme-material: optimized image filesize

Optimized PNG filesize from 6280 to 3939 bytes. Visually looks the same, technically the image is 99.9% identical.

Signed-off-by: Alexander Semukhin <semukhin@mail.com>
2 years agoluci-theme-bootstrap: optimized favicon filesize
y04 [Fri, 24 Jun 2022 23:42:30 +0000 (01:42 +0200)]
luci-theme-bootstrap: optimized favicon filesize

Optimized PNG filesize from 733 to 592 bytes without any quality loss.

Signed-off-by: Alexander Semukhin <semukhin@mail.com>
2 years agoluci-app-attendedsysugprade: allow to reinstall image
Paul Spooren [Tue, 7 Jun 2022 12:23:59 +0000 (14:23 +0200)]
luci-app-attendedsysugprade: allow to reinstall image

Now it's possible to re-install the currently running version in
advanced mode. This can be useful when installing packages via `opkg`
and then requesting the firmware with the packages stored in squashfs.

FIXES: https://github.com/openwrt/luci/issues/5809

Signed-off-by: Paul Spooren <mail@aparcar.org>
2 years agoluci-mod-network: wireless.js: fix typo in description string
Jo-Philipp Wich [Tue, 21 Jun 2022 21:54:12 +0000 (23:54 +0200)]
luci-mod-network: wireless.js: fix typo in description string

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoMerge pull request #5846 from weblate/weblate-openwrt-luci
Jo-Philipp Wich [Tue, 21 Jun 2022 21:51:38 +0000 (23:51 +0200)]
Merge pull request #5846 from weblate/weblate-openwrt-luci

Translations update from Hosted Weblate

2 years agoAdded translation using Weblate (Bosnian) 5846/head
Hosted Weblate [Tue, 21 Jun 2022 20:33:53 +0000 (22:33 +0200)]
Added translation using Weblate (Bosnian)

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 (Chinese (Simplified))

Currently translated at 100.0% (84 of 84 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% (84 of 84 strings)

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

Translated using Weblate (Spanish)

Currently translated at 98.4% (65 of 66 strings)

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

Translated using Weblate (Spanish)

Currently translated at 98.8% (83 of 84 strings)

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

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (34 of 34 strings)

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

Translated using Weblate (Polish)

Currently translated at 94.0% (79 of 84 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2025 of 2025 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2025 of 2025 strings)

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

Translated using Weblate (Swedish)

Currently translated at 36.8% (69 of 187 strings)

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

Co-authored-by: Artem <artem@molotov.work>
Co-authored-by: Eric <alchemillatruth@purelymail.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: mfaraguna <mladen.faraguna@gmail.com>
Signed-off-by: Artem <artem@molotov.work>
Signed-off-by: Eric <alchemillatruth@purelymail.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>
2 years agoMerge pull request #5665 from brvphoenix/frpc
Florian Eckert [Tue, 21 Jun 2022 13:02:53 +0000 (15:02 +0200)]
Merge pull request #5665 from brvphoenix/frpc

luci-app-frpc: use anonymous sections

2 years agoluci-base: complete German translation
Jo-Philipp Wich [Tue, 21 Jun 2022 10:29:09 +0000 (12:29 +0200)]
luci-base: complete German translation

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: resync translations
Jo-Philipp Wich [Tue, 21 Jun 2022 06:54:44 +0000 (08:54 +0200)]
luci-base: resync translations

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-mod-network: wireless.js: expose wifi-iface macaddr option
Jo-Philipp Wich [Tue, 21 Jun 2022 06:52:50 +0000 (08:52 +0200)]
luci-mod-network: wireless.js: expose wifi-iface macaddr option

Fixes: #5845
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-proto-wireguard: gracefully deal with missing uci configs
Jo-Philipp Wich [Mon, 20 Jun 2022 22:07:04 +0000 (00:07 +0200)]
luci-proto-wireguard: gracefully deal with missing uci configs

The /etc/config/ddns in particular might not be present on the system,
don't fail if it is absent.

Fixes: #5838
Fixes: 9ba20645b0 ("luci-proto-wireguard: rewrite protocol handler")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-proto-wireguard: grant uci read access to system and ddns config
Jo-Philipp Wich [Mon, 20 Jun 2022 21:56:58 +0000 (23:56 +0200)]
luci-proto-wireguard: grant uci read access to system and ddns config

The configuration export requires access to /e/c/system and /e/c/ddns for
external hostname hints.

Fixes: #5838
Fixes: 9ba20645b0 ("luci-proto-wireguard: rewrite protocol handler")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: remove redundant english translations
Jo-Philipp Wich [Mon, 20 Jun 2022 08:56:26 +0000 (10:56 +0200)]
luci-base: remove redundant english translations

Drop translations that match the msgid as well as stry, misplaced spanish
ones.

Ref: https://forum.openwrt.org/t/openwrt-22-03-0-rc4/129874/50
Ref: https://forum.openwrt.org/t/openwrt-22-03-0-rc4/129874/60
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoTranslated using Weblate (Chinese (Simplified))
Hosted Weblate [Sun, 19 Jun 2022 12:59:59 +0000 (14:59 +0200)]
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% (34 of 34 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2024 of 2024 strings)

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

Translated using Weblate (Romanian)

Currently translated at 100.0% (2024 of 2024 strings)

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

Translated using Weblate (Russian)

Currently translated at 80.6% (25 of 31 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (17 of 17 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (18 of 18 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (13 of 13 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (6 of 6 strings)

Translation: OpenWrt/LuCI/applications/olsr-services
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr-services/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (24 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 93.1% (27 of 29 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (102 of 102 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (74 of 74 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (2024 of 2024 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2024 of 2024 strings)

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

Translated using Weblate (Romanian)

Currently translated at 99.0% (2005 of 2024 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (102 of 102 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (102 of 102 strings)

Translated using Weblate (Russian)

Currently translated at 67.8% (114 of 168 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% (102 of 102 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (16 of 16 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (44 of 44 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (44 of 44 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (49 of 49 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (180 of 180 strings)

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

Translated using Weblate (Russian)

Currently translated at 67.8% (114 of 168 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% (196 of 196 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (102 of 102 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (195 of 195 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (37 of 37 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (102 of 102 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (180 of 180 strings)

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

Translated using Weblate (Romanian)

Currently translated at 100.0% (80 of 80 strings)

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

Translated using Weblate (Romanian)

Currently translated at 95.5% (1933 of 2024 strings)

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

Translated using Weblate (Spanish)

Currently translated at 9.0% (8 of 88 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2024 of 2024 strings)

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

Translated using Weblate (Russian)

Currently translated at 86.0% (43 of 50 strings)

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

Translated using Weblate (Spanish)

Currently translated at 6.8% (6 of 88 strings)

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

Translated using Weblate (Danish)

Currently translated at 100.0% (2024 of 2024 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (33 of 33 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (212 of 212 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2024 of 2024 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% (2024 of 2024 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% (2024 of 2024 strings)

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

Translated using Weblate (Spanish)

Currently translated at 96.3% (1951 of 2024 strings)

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

Co-authored-by: AHOHNMYC <lqwh2h2cwa@protonmail.com>
Co-authored-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
Co-authored-by: Anton Kikin <a.a.kikin@gmail.com>
Co-authored-by: Eric <alchemillatruth@purelymail.com>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Localizer <Localizer_in_Russian@protonmail.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: MkQtS <onewordwrong@aliyun.com>
Co-authored-by: Sergey V. Lobanov <sergey@lobanov.in>
Co-authored-by: Simona Iacob <s@zp1.net>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: drax red <drax@outlook.dk>
Signed-off-by: AHOHNMYC <lqwh2h2cwa@protonmail.com>
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Signed-off-by: Eric <alchemillatruth@purelymail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Localizer <Localizer_in_Russian@protonmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: MkQtS <onewordwrong@aliyun.com>
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
Signed-off-by: Simona Iacob <s@zp1.net>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: drax red <drax@outlook.dk>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/es/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/ru/
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/samba4
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/applications/transmission

2 years agoMerge pull request #5841 from Qrbaker/master
Jo-Philipp Wich [Fri, 17 Jun 2022 08:03:33 +0000 (10:03 +0200)]
Merge pull request #5841 from Qrbaker/master

luci-theme-material: CSS Fix for previous update

2 years agoluci-theme-material: CSS Fix for previous update 5841/head
Quentin Baker [Fri, 17 Jun 2022 03:59:39 +0000 (23:59 -0400)]
luci-theme-material: CSS Fix for previous update

Commit b0f13ef Changed the color of a CSS element from a bright blue to
a dark blue. This resulted in a modal with difficult-to-read text (black
text on dark blue).

This commit sets the modal text-color to #000, in line with style
guidelines.

Signed-off-by: Quentin Baker <opensource@quentb.com>
2 years agoluci-base: network.js: consider uci config for Device.getType()/getParent()
Jo-Philipp Wich [Thu, 16 Jun 2022 07:47:47 +0000 (09:47 +0200)]
luci-base: network.js: consider uci config for Device.getType()/getParent()

For network devices declared in uci but not yet created by netifd, the
runtime status information will be unavailable, causing methods such as
`getType()` to assume plain ethernet interfaces and `getParent()` to fail
resolving parent devices.

Fall back to infer the information from uci configuration settings in such
cases to give accurate type hints to callers.

In particular, this prevents LuCI from turning wireless target networks
containing a to-be-created bridge device into bridges themselves.

Fixes: https://github.com/openwrt/packages/issues/18768
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-app-mosquitto: trigger weblate translation
Hannu Nyman [Sun, 12 Jun 2022 16:59:02 +0000 (19:59 +0300)]
luci-app-mosquitto: trigger weblate translation

Trigger weblate by adding a .po file for one language.
(Just having the .pot template is not enough.)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2 years agotreewide: sync translations
Hannu Nyman [Sun, 12 Jun 2022 16:45:05 +0000 (19:45 +0300)]
treewide: sync translations

Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2 years agoTranslated using Weblate (German)
Hosted Weblate [Sun, 12 Jun 2022 16:30:28 +0000 (18:30 +0200)]
Translated using Weblate (German)

Currently translated at 100.0% (170 of 170 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 100.0% (74 of 74 strings)

Translated using Weblate (German)

Currently translated at 90.0% (153 of 170 strings)

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

Translated using Weblate (German)

Currently translated at 94.7% (200 of 211 strings)

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

Translated using Weblate (German)

Currently translated at 78.2% (133 of 170 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (German)

Currently translated at 100.0% (212 of 212 strings)

Translated using Weblate (German)

Currently translated at 87.7% (1741 of 1985 strings)

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

Translated using Weblate (Danish)

Currently translated at 17.0% (14 of 82 strings)

Translated using Weblate (Dutch)

Currently translated at 0.5% (1 of 168 strings)

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

Translated using Weblate (Dutch)

Currently translated at 0.9% (2 of 212 strings)

Translated using Weblate (Dutch)

Currently translated at 67.1% (131 of 195 strings)

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

Translated using Weblate (Dutch)

Currently translated at 1.1% (4 of 343 strings)

Translated using Weblate (Dutch)

Currently translated at 43.2% (16 of 37 strings)

Translated using Weblate (Dutch)

Currently translated at 8.3% (166 of 1985 strings)

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

Translated using Weblate (Polish)

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/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (108 of 108 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (196 of 196 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (212 of 212 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (1986 of 1986 strings)

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

Translated using Weblate (Spanish)

Currently translated at 96.5% (1918 of 1986 strings)

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

Added translation using Weblate (Dutch)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (German)

Currently translated at 100.0% (61 of 61 strings)

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

Translated using Weblate (German)

Currently translated at 99.2% (132 of 133 strings)

Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Martin Bezemer <m.bezemer+openwrt@gmail.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: MkQtS <onewordwrong@aliyun.com>
Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Co-authored-by: drax red <drax@outlook.dk>
Co-authored-by: ssantos <ssantos@web.de>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Martin Bezemer <m.bezemer+openwrt@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Steffen Möller <steffen_moeller@gmx.de>
Signed-off-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/es/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/nl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/nl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/da/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/nl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/pt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsupnp/pl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/zh_Hans/
Translation: OpenWrt/LuCI/applications/ahcp
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/nut
Translation: OpenWrt/LuCI/applications/samba4
Translation: OpenWrt/LuCI/applications/splash
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/applications/upnp
Translation: OpenWrt/LuCI/applications/watchcat

2 years agoTranslated using Weblate (Chinese (Simplified))
Hosted Weblate [Tue, 7 Jun 2022 17:27:37 +0000 (19:27 +0200)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1986 of 1986 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 4.1% (3 of 72 strings)

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

Translated using Weblate (English)

Currently translated at 1.4% (3 of 211 strings)

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

Translated using Weblate (German)

Currently translated at 94.7% (200 of 211 strings)

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

Translated using Weblate (English)

Currently translated at 22.2% (4 of 18 strings)

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

Translated using Weblate (German)

Currently translated at 98.0% (51 of 52 strings)

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

Translated using Weblate (English)

Currently translated at 0.5% (1 of 187 strings)

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

Translated using Weblate (English)

Currently translated at 6.2% (5 of 80 strings)

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

Translated using Weblate (English)

Currently translated at 1.7% (2 of 116 strings)

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

Translated using Weblate (English)

Currently translated at 1.6% (2 of 125 strings)

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

Translated using Weblate (English)

Currently translated at 1.1% (2 of 170 strings)

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

Translated using Weblate (English)

Currently translated at 3.0% (2 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 1.0% (2 of 195 strings)

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

Translated using Weblate (English)

Currently translated at 100.0% (61 of 61 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (168 of 168 strings)

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

Translated using Weblate (English)

Currently translated at 2.2% (4 of 180 strings)

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

Translated using Weblate (German)

Currently translated at 66.4% (113 of 170 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (116 of 116 strings)

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

Translated using Weblate (German)

Currently translated at 99.4% (195 of 196 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (113 of 113 strings)

Translated using Weblate (German)

Currently translated at 100.0% (102 of 102 strings)

Translated using Weblate (English)

Currently translated at 26.6% (52 of 195 strings)

Translated using Weblate (English)

Currently translated at 78.0% (149 of 191 strings)

Translated using Weblate (English)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (English)

Currently translated at 4.1% (3 of 72 strings)

Translated using Weblate (English)

Currently translated at 99.1% (112 of 113 strings)

Translated using Weblate (English)

Currently translated at 35.2% (121 of 343 strings)

Translated using Weblate (English)

Currently translated at 88.0% (22 of 25 strings)

Translated using Weblate (English)

Currently translated at 15.3% (304 of 1985 strings)

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

Translated using Weblate (German)

Currently translated at 87.7% (1741 of 1985 strings)

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

Translated using Weblate (English)

Currently translated at 0.9% (2 of 211 strings)

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

Translated using Weblate (English)

Currently translated at 6.0% (2 of 33 strings)

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

Translated using Weblate (English)

Currently translated at 2.1% (2 of 94 strings)

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

Translated using Weblate (Spanish)

Currently translated at 83.7% (93 of 111 strings)

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

Translated using Weblate (English)

Currently translated at 0.9% (1 of 111 strings)

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

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 0.9% (1 of 108 strings)

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

Translated using Weblate (English)

Currently translated at 3.7% (3 of 80 strings)

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

Translated using Weblate (English)

Currently translated at 7.6% (1 of 13 strings)

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

Translated using Weblate (English)

Currently translated at 1.6% (2 of 123 strings)

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

Translated using Weblate (English)

Currently translated at 6.4% (2 of 31 strings)

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

Translated using Weblate (English)

Currently translated at 2.0% (4 of 196 strings)

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

Translated using Weblate (English)

Currently translated at 0.5% (1 of 195 strings)

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

Translated using Weblate (English)

Currently translated at 29.5% (18 of 61 strings)

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

Translated using Weblate (English)

Currently translated at 1.1% (2 of 168 strings)

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

Translated using Weblate (English)

Currently translated at 2.6% (1 of 38 strings)

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

Translated using Weblate (English)

Currently translated at 1.6% (3 of 180 strings)

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

Translated using Weblate (English)

Currently translated at 36.3% (16 of 44 strings)

Translated using Weblate (English)

Currently translated at 25.6% (50 of 195 strings)

Translated using Weblate (English)

Currently translated at 12.1% (9 of 74 strings)

Translated using Weblate (English)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (212 of 212 strings)

Translated using Weblate (English)

Currently translated at 1.3% (1 of 72 strings)

Translated using Weblate (English)

Currently translated at 6.2% (1 of 16 strings)

Translated using Weblate (English)

Currently translated at 62.0% (36 of 58 strings)

Translated using Weblate (Spanish)

Currently translated at 96.5% (1917 of 1986 strings)

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

Translated using Weblate (English)

Currently translated at 15.1% (300 of 1985 strings)

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

Translated using Weblate (Spanish)

Currently translated at 96.5% (1917 of 1986 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (25 of 25 strings)

Translated using Weblate (English)

Currently translated at 3.2% (2 of 61 strings)

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

Translated using Weblate (Spanish)

Currently translated at 96.5% (1918 of 1986 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (1986 of 1986 strings)

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

Translated using Weblate (Russian)

Currently translated at 86.0% (43 of 50 strings)

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

Translated using Weblate (Russian)

Currently translated at 44.6% (83 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 100.0% (48 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 28.3% (32 of 113 strings)

Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: James White <james@jmwhite.co.uk>
Co-authored-by: João Paulo da Silva <dasilvaj4@gmail.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Zheng Qian <sotux82@gmail.com>
Co-authored-by: masta0f1eave <lomskoff.dima@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: viniribeirossa <viniribeirossa@gmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: James White <james@jmwhite.co.uk>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Zheng Qian <sotux82@gmail.com>
Signed-off-by: masta0f1eave <lomskoff.dima@gmail.com>
Signed-off-by: ssantos <ssantos@web.de>
Signed-off-by: viniribeirossa <viniribeirossa@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/es/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/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/luciapplicationsopkg/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsqos/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsqos/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/en/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat/en/
Translation: OpenWrt/LuCI/applications/ahcp
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/fwknopd
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/opkg
Translation: OpenWrt/LuCI/applications/polipo
Translation: OpenWrt/LuCI/applications/qos
Translation: OpenWrt/LuCI/applications/radicale2
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/applications/transmission
Translation: OpenWrt/LuCI/applications/vnstat

2 years agoMerge pull request #5832 from Qrbaker/feature/material-logo-update
Jo-Philipp Wich [Mon, 6 Jun 2022 22:30:39 +0000 (00:30 +0200)]
Merge pull request #5832 from Qrbaker/feature/material-logo-update

luci-theme-material: Update brand logo/colors

2 years agoluci-theme-material: Update brand logo/colors 5832/head
Quentin Baker [Mon, 6 Jun 2022 01:35:25 +0000 (21:35 -0400)]
luci-theme-material: Update brand logo/colors

I have updated the brand.png logo to the 2020 version, and I have
made a small adjustment to the CSS to reflect its slightly larger
vertical height.

I also have made small tweaks to the system theme colors to use
the brand colors as recommended on page 5 of the logo usage
guidelines document avalible at
openwrt/branding/blob/master/openwrt-styleguide.pdf

Signed-off-by: Quentin Baker <opensource@quentb.com>
2 years agoluci-app-watchcat: add support for run_script mode 5824/head
John Kohl [Sun, 5 Jun 2022 01:16:27 +0000 (21:16 -0400)]
luci-app-watchcat: add support for run_script mode

Signed-off-by: John Kohl <jtk.git@bostonpog.org>
2 years agoluci-app-watchcat: add support for IP family selection
John Kohl [Sun, 5 Jun 2022 01:13:56 +0000 (21:13 -0400)]
luci-app-watchcat: add support for IP family selection

Signed-off-by: John Kohl <jtk.git@bostonpog.org>
2 years agoTranslated using Weblate (Portuguese (Brazil))
Hosted Weblate [Tue, 31 May 2022 03:33:13 +0000 (05:33 +0200)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (25 of 25 strings)

Translated using Weblate (English)

Currently translated at 3.2% (2 of 61 strings)

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

Translated using Weblate (Spanish)

Currently translated at 96.5% (1918 of 1986 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (1986 of 1986 strings)

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

Translated using Weblate (Russian)

Currently translated at 86.0% (43 of 50 strings)

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

Translated using Weblate (Russian)

Currently translated at 44.6% (83 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 100.0% (48 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 28.3% (32 of 113 strings)

Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: James White <james@jmwhite.co.uk>
Co-authored-by: João Paulo da Silva <dasilvaj4@gmail.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: masta0f1eave <lomskoff.dima@gmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: James White <james@jmwhite.co.uk>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: masta0f1eave <lomskoff.dima@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsqos/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/ru/
Translation: OpenWrt/LuCI/applications/qos
Translation: OpenWrt/LuCI/applications/radicale2

2 years agoluci-app-opkg: fix parsing package dependencies with version constraints
Jo-Philipp Wich [Fri, 3 Jun 2022 11:36:02 +0000 (13:36 +0200)]
luci-app-opkg: fix parsing package dependencies with version constraints

Due to improper ordering of regexp alternatives, version constraint operators
might get undermatched.

Fixes: https://github.com/openwrt/openwrt/issues/9982
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoMerge pull request #5818 from jow-/ucode-mod-lua
Jo-Philipp Wich [Tue, 31 May 2022 18:43:01 +0000 (20:43 +0200)]
Merge pull request #5818 from jow-/ucode-mod-lua

contrib: introduce ucode-mod-lua

2 years agoMerge pull request #5816 from jow-/wireguard-rewrite
Jo-Philipp Wich [Tue, 31 May 2022 18:42:42 +0000 (20:42 +0200)]
Merge pull request #5816 from jow-/wireguard-rewrite

luci-proto-wireguard: rewrite protocol handler

2 years agocontrib: introduce ucode-mod-lua 5818/head
Jo-Philipp Wich [Thu, 19 May 2022 15:10:17 +0000 (17:10 +0200)]
contrib: introduce ucode-mod-lua

The ucode-mod-lua library provides an ucode-to-Lua bridge and a set of
functions to instantiate Lua VMs, invoke Lua functions as well as
exchanging data structures between ucode and Lua.

Example usage:

    #!/usr/bin/ucode

    'use strict';

    const lua = require("lua");

    let vm = lua.create();

    vm.set({
     hello: function(...args) {
     print(`A ucode "Hello world" function called from Lua! Got arguments: ${args}\n`);
     },

     data_from_ucode: {
     bool: true,
     float: 1.3,
     int: 0x11223344,
     string: "Hello from ucode!",
     array: [ 1, 2, 3, null, 5 ],
     object: {
     apple: "green",
     banana: "yellow",
     [5]: "foo",
     [-1]: null,
     nested: {
     a: [ 5, 6 ],
     b: { c: NaN }
     }
     },
     regexp: /foo/
     }
    });

    vm.invoke("hello", true, 123, "Foo");
    vm.eval('print("Print from Lua!", data_from_ucode.int * data_from_ucode.float);');

    try {
     vm.invoke("error", "Throwing a Lua exception...");
    }
    catch (e) {
     print(`Caught exception: ${e}\n`);
    }

    print(`Lua VM version is: ${vm.get('_G', '_VERSION').value()}\n`);

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years ago luci-app-banip: mark as broken
Dirk Brenken [Fri, 27 May 2022 19:31:21 +0000 (21:31 +0200)]
 luci-app-banip: mark as broken

banIP 0.7.x is not compatible with new nft firewall (default in master and 22.03).
Mark the package as BROKEN for now.

Signed-off-by: Dirk Brenken <dev@brenken.org>
2 years agoTranslated using Weblate (Polish)
Hosted Weblate [Mon, 23 May 2022 11:15:21 +0000 (13:15 +0200)]
Translated using Weblate (Polish)

Currently translated at 100.0% (25 of 25 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (37 of 37 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (1986 of 1986 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 96.0% (48 of 50 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (20 of 20 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (61 of 61 strings)

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

Translated using Weblate (Italian)

Currently translated at 13.2% (15 of 113 strings)

Translated using Weblate (Ukrainian)

Currently translated at 96.8% (1922 of 1985 strings)

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

Translated using Weblate (Italian)

Currently translated at 48.8% (970 of 1985 strings)

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

Translated using Weblate (Danish)

Currently translated at 10.0% (8 of 80 strings)

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

Translated using Weblate (Danish)

Currently translated at 9.4% (11 of 116 strings)

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

Translated using Weblate (Danish)

Currently translated at 100.0% (1985 of 1985 strings)

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

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (74 of 74 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (1985 of 1985 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (16 of 16 strings)

Translated using Weblate (Persian)

Currently translated at 4.1% (3 of 72 strings)

Translated using Weblate (Persian)

Currently translated at 100.0% (28 of 28 strings)

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

Translated using Weblate (Persian)

Currently translated at 7.5% (16 of 212 strings)

Translated using Weblate (Persian)

Currently translated at 91.8% (45 of 49 strings)

Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/fa/

Translated using Weblate (Persian)

Currently translated at 53.4% (102 of 191 strings)

Translated using Weblate (Persian)

Currently translated at 18.0% (11 of 61 strings)

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

Translated using Weblate (Persian)

Currently translated at 9.4% (20 of 211 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (1985 of 1985 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (1985 of 1985 strings)

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

Translated using Weblate (Spanish)

Currently translated at 96.3% (1913 of 1985 strings)

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

Added translation using Weblate (Persian)

Added translation using Weblate (Persian)

Added translation using Weblate (Persian)

Translated using Weblate (Romanian)

Currently translated at 98.0% (1947 of 1985 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (1985 of 1985 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% (1985 of 1985 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% (16 of 16 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (16 of 16 strings)

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

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 38.7% (12 of 31 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (49 of 49 strings)

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

Translated using Weblate (Russian)

Currently translated at 43.5% (85 of 195 strings)

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

Translated using Weblate (Russian)

Currently translated at 26.5% (30 of 113 strings)

Translated using Weblate (Russian)

Currently translated at 97.9% (1945 of 1985 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (1985 of 1985 strings)

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

Translated using Weblate (Spanish)

Currently translated at 96.3% (1913 of 1985 strings)

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

Co-authored-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
Co-authored-by: Amir Mahdi ajoodani <amir.ajoodani@gmail.com>
Co-authored-by: Anton Kikin <a.a.kikin@gmail.com>
Co-authored-by: CRISTIAN ANDREI <cristianvdr@gmail.com>
Co-authored-by: Carlo Alberto Ferraris <cafxx@strayorange.com>
Co-authored-by: Eric <alchemillatruth@purelymail.com>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: KinteLiX <superh552@gmail.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Mc Giver <mcgivergim@gmail.com>
Co-authored-by: Vladdrako <vladdrako007@gmail.com>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: drax red <drax@outlook.dk>
Co-authored-by: 王攀 <41330784@qq.com>
Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
Signed-off-by: Amir Mahdi ajoodani <amir.ajoodani@gmail.com>
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Signed-off-by: CRISTIAN ANDREI <cristianvdr@gmail.com>
Signed-off-by: Carlo Alberto Ferraris <cafxx@strayorange.com>
Signed-off-by: Eric <alchemillatruth@purelymail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: KinteLiX <superh552@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Mc Giver <mcgivergim@gmail.com>
Signed-off-by: Vladdrako <vladdrako007@gmail.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: drax red <drax@outlook.dk>
Signed-off-by: 王攀 <41330784@qq.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/fa/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/fa/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/fa/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/it/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/pl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswol/pl/
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/opkg
Translation: OpenWrt/LuCI/applications/radicale2
Translation: OpenWrt/LuCI/applications/samba4
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/applications/wol

2 years agoluci-mod-network: interfaces.js: remove references to original MAC/MTU
Jo-Philipp Wich [Fri, 20 May 2022 17:39:11 +0000 (19:39 +0200)]
luci-mod-network: interfaces.js: remove references to original MAC/MTU

Do not show the original values for MAC and MTU in device list tooltips
anymore as the values we read from the netdev might already stem from
overridden config settings.

Since there's no generic way to acquire that information, remove the
potentially confusing information.

Fixes: #5820
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: ui.js: add required CSS class to dynlist widget
Jo-Philipp Wich [Tue, 17 May 2022 19:47:33 +0000 (21:47 +0200)]
luci-base: ui.js: add required CSS class to dynlist widget

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-proto-wireguard: rewrite protocol handler 5816/head
Jo-Philipp Wich [Tue, 17 May 2022 13:45:20 +0000 (15:45 +0200)]
luci-proto-wireguard: rewrite protocol handler

This commit rewrites large chunks of the WireGuard protocol handler in order
to simplify the process of importing and exporting configuration. The major
changes are:

1) The wireguard interface configuration tab (General Settings) gained an
   import assistant which allows dragging or pasting a native WireGuard
   configuration file in order to import required settrings into uci

2) The peer configuration tab gained a similar import assistant which allows
   importing the settings for a WireGuard peer from an existing native
   WireGuard configuration file

3) The QR code export feature has been rewritten to make the resulting codes
   actually useful for importing into a WireGuard client application.
   Additionally the plaintext native WireGuard configuration is displayed
   to allow copy-pasting it for use on a Linux or OS X system

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-theme-bootstrap: various style tweaks
Jo-Philipp Wich [Tue, 17 May 2022 13:09:25 +0000 (15:09 +0200)]
luci-theme-bootstrap: various style tweaks

 - Make control-group containers flex and ensure proper spacing between
   elements, fixes e.g. unwanted break for reveal/hide password button
   on narrow mobile views

 - Decrease top margin of modal popups

 - Fix displaying cell titles on mobile wrapped table rows

 - Tune mobile flex table styles

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: form.js: minor tweaks for mobile styling
Jo-Philipp Wich [Tue, 17 May 2022 13:07:48 +0000 (15:07 +0200)]
luci-base: form.js: minor tweaks for mobile styling

 - Annotate gridsection textvalue cells as CBI.DummyValue widgets
 - Replace `<br>` elements with newlines in `stripTags()`

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: form.js: trim option description
Jo-Philipp Wich [Mon, 16 May 2022 14:12:01 +0000 (16:12 +0200)]
luci-base: form.js: trim option description

If a whitespace-only description is set on an element, the CSS :empty
selector will not match, causing description icons to be shown when
there's no actual content.

To avoid that, trim the description string when building the element.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: luci.js: remove wrong CSS class from page footer
Jo-Philipp Wich [Mon, 16 May 2022 14:04:56 +0000 (16:04 +0200)]
luci-base: luci.js: remove wrong CSS class from page footer

The `control-group` class is meant for gapless grouping of inputs with
buttons, while the page actions are just distinct buttons in a row.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: form.js: remove stray `<br>` elements from section placeholder
Jo-Philipp Wich [Mon, 16 May 2022 14:03:14 +0000 (16:03 +0200)]
luci-base: form.js: remove stray `<br>` elements from section placeholder

Theme CSS styles shoudl take care of introducing padding as needed.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: form.js: save parent map on opening nested modal map
Jo-Philipp Wich [Mon, 16 May 2022 11:10:20 +0000 (13:10 +0200)]
luci-base: form.js: save parent map on opening nested modal map

Before opening (rendering) a nested modal map, make sure to save the parent
modal map in order to persist any structural uci changes, such as newly added
anonymous sections to prevent the nested map from operating on stale values
or ephemeral config section IDs.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: form.js: handle SectionValue objects in GridSection modals
Jo-Philipp Wich [Mon, 16 May 2022 09:55:11 +0000 (11:55 +0200)]
luci-base: form.js: handle SectionValue objects in GridSection modals

The existing logic for cloning section options into the modal form section
container did not properly handle SectionValue objects. Introduce a new
`cloneOptions()` helper to recursively traverse and properly clowning
such nested sections.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: form.js: reset parent maps on returning from nested section modal
Jo-Philipp Wich [Mon, 16 May 2022 09:49:28 +0000 (11:49 +0200)]
luci-base: form.js: reset parent maps on returning from nested section modal

The nested section modal might have changed values also covered/displayed by
the parent map, so ensure to reload all parent maps in the current modal
view stack to ensure that no stale values are shown on return.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>