oweals/luci.git
4 years agoluci-base: fs.js: support Blob/JSON in read_direct() and exec_direct()
Jo-Philipp Wich [Thu, 30 Jan 2020 10:58:15 +0000 (11:58 +0100)]
luci-base: fs.js: support Blob/JSON in read_direct() and exec_direct()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: luci.js: allow overriding response type for requests
Jo-Philipp Wich [Thu, 30 Jan 2020 10:45:46 +0000 (11:45 +0100)]
luci-base: luci.js: allow overriding response type for requests

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-advanced-reboot: fix faulty ip.new() invocation
Jo-Philipp Wich [Thu, 30 Jan 2020 07:32:16 +0000 (08:32 +0100)]
luci-app-advanced-reboot: fix faulty ip.new() invocation

Ref: https://github.com/openwrt/luci/issues/3587#issuecomment-580044459
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3589 from weblate/weblate-openwrt-luci
Hannu Nyman [Wed, 29 Jan 2020 21:17:15 +0000 (23:17 +0200)]
Merge pull request #3589 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (French) 3589/head
Hosted Weblate [Wed, 29 Jan 2020 21:16:09 +0000 (22:16 +0100)]
Translated using Weblate (French)

Currently translated at 2.4% (1 of 42 strings)

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

Signed-off-by: Baptiste <weblate@bitsofnetworks.org>
Translated using Weblate (Marathi)

Currently translated at 100.0% (42 of 42 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 4.6% (3 of 65 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 6.1% (6 of 98 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (French)

Currently translated at 17.0% (8 of 47 strings)

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

Signed-off-by: Baptiste <weblate@bitsofnetworks.org>
Translated using Weblate (Marathi)

Currently translated at 10.6% (5 of 47 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 10.2% (5 of 49 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (French)

Currently translated at 45.8% (11 of 24 strings)

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

Signed-off-by: Baptiste <weblate@bitsofnetworks.org>
Translated using Weblate (Marathi)

Currently translated at 64.3% (27 of 42 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 5.2% (9 of 172 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 25.0% (4 of 16 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 3.4% (6 of 177 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 1.6% (2 of 124 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 13.0% (3 of 23 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 2.6% (3 of 115 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 6.2% (11 of 177 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 13.1% (8 of 61 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (French)

Currently translated at 11.9% (12 of 101 strings)

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

Translated using Weblate (Marathi)

Currently translated at 3.0% (3 of 101 strings)

Translation: OpenWrt/LuCI/applications/transmission
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/mr/

Translated using Weblate (Marathi)

Currently translated at 22.7% (5 of 22 strings)

Translation: OpenWrt/LuCI/applications/rp-pppoe-server
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsrp-pppoe-server/mr/

Translated using Weblate (Marathi)

Currently translated at 6.2% (12 of 194 strings)

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

Translated using Weblate (Marathi)

Currently translated at 4.1% (3 of 73 strings)

Translation: OpenWrt/LuCI/applications/tinyproxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/mr/

Translated using Weblate (Marathi)

Currently translated at 5.2% (3 of 58 strings)

Translation: OpenWrt/LuCI/applications/uhttpd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsuhttpd/mr/

Translated using Weblate (Marathi)

Currently translated at 2.7% (3 of 112 strings)

Translation: OpenWrt/LuCI/applications/radicale2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/mr/

Translated using Weblate (Marathi)

Currently translated at 7.0% (4 of 57 strings)

Translation: OpenWrt/LuCI/applications/polipo
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/mr/

Translated using Weblate (Marathi)

Currently translated at 3.0% (4 of 132 strings)

Translation: OpenWrt/LuCI/applications/nut
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/mr/

Translated using Weblate (French)

Currently translated at 66.4% (883 of 1330 strings)

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

Signed-off-by: Baptiste <weblate@bitsofnetworks.org>
Translated using Weblate (Marathi)

Currently translated at 4.5% (60 of 1330 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
4 years agotreewide: switch to bcp47 language codes
Jo-Philipp Wich [Wed, 29 Jan 2020 12:37:46 +0000 (13:37 +0100)]
treewide: switch to bcp47 language codes

Fixes: #3477
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3588 from weblate/weblate-openwrt-luci
Jo-Philipp Wich [Wed, 29 Jan 2020 12:05:36 +0000 (13:05 +0100)]
Merge pull request #3588 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Polish) 3588/head
Hosted Weblate [Wed, 29 Jan 2020 10:53:06 +0000 (11:53 +0100)]
Translated using Weblate (Polish)

Currently translated at 100.0% (42 of 42 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Marathi)

Currently translated at 72.7% (16 of 22 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 3.8% (1 of 26 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 1.5% (1 of 65 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 5.1% (5 of 98 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 10.4% (5 of 48 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 6.1% (3 of 49 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 12.5% (3 of 24 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 5.7% (9 of 158 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 5.1% (9 of 177 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 8.3% (2 of 24 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Marathi)

Currently translated at 18.2% (4 of 22 strings)

Translation: OpenWrt/LuCI/applications/rp-pppoe-server
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsrp-pppoe-server/mr/

Translated using Weblate (Marathi)

Currently translated at 5.7% (11 of 194 strings)

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

Translated using Weblate (Marathi)

Currently translated at 40.0% (4 of 10 strings)

Translation: OpenWrt/LuCI/applications/p910nd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/mr/

Translated using Weblate (Marathi)

Currently translated at 56.2% (18 of 32 strings)

Translation: OpenWrt/LuCI/applications/samba4
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/mr/

Translated using Weblate (Spanish)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Marathi)

Currently translated at 4.1% (55 of 1330 strings)

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

Signed-off-by: Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate (Polish)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
4 years agoluci-app-advanced-reboot: properly handle multiple or missing lan IPs
Jo-Philipp Wich [Wed, 29 Jan 2020 08:37:43 +0000 (09:37 +0100)]
luci-app-advanced-reboot: properly handle multiple or missing lan IPs

Fixes: #3587
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: add another magic security attribute to the sysauth cookie
Jo-Philipp Wich [Wed, 29 Jan 2020 08:07:51 +0000 (09:07 +0100)]
luci-base: add another magic security attribute to the sysauth cookie

Fixes: #3585
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-system: fix zram compression placeholder
Jo-Philipp Wich [Wed, 29 Jan 2020 08:00:57 +0000 (09:00 +0100)]
luci-mod-system: fix zram compression placeholder

Fixes: #3583
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agobuild: add script to merge master translation into branches
Jo-Philipp Wich [Wed, 29 Jan 2020 07:29:17 +0000 (08:29 +0100)]
build: add script to merge master translation into branches

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: make swconfig port state parsing more robust
Jo-Philipp Wich [Tue, 28 Jan 2020 17:14:28 +0000 (18:14 +0100)]
luci-base: make swconfig port state parsing more robust

Since swconfig output varies wildly among different switch drivers, rely
on a simpler more robust parsing approach to find the required information.

Ref: https://forum.openwrt.org/t/cannot-read-property-link/50766
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-network: handle missing switch port state information
Jo-Philipp Wich [Tue, 28 Jan 2020 09:08:40 +0000 (10:08 +0100)]
luci-mod-network: handle missing switch port state information

Ref: https://github.com/openwrt/luci/issues/3565
Ref: https://forum.openwrt.org/t/cannot-read-property-link/50766
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: add L.media() URL construction helper
Jo-Philipp Wich [Tue, 28 Jan 2020 10:14:15 +0000 (11:14 +0100)]
luci-base: add L.media() URL construction helper

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3580 from weblate/weblate-openwrt-luci
Hannu Nyman [Tue, 28 Jan 2020 06:07:25 +0000 (08:07 +0200)]
Merge pull request #3580 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoAdded translation using Weblate (Slovak) 3580/head
Hosted Weblate [Tue, 28 Jan 2020 04:18:26 +0000 (05:18 +0100)]
Added translation using Weblate (Slovak)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Korean)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Swedish)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (French)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Italian)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Marathi)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Malay)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Polish)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Hebrew)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Hindi)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Hungarian)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Vietnamese)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Portuguese)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Czech)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Catalan)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Japanese)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Ukrainian)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Bulgarian)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Romanian)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Russian)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Greek)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (German)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Turkish)

Signed-off-by: Weblate <noreply@weblate.org>
Translated using Weblate (Polish)

Currently translated at 100.0% (98 of 98 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (139 of 139 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (64 of 64 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (104 of 104 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (158 of 158 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (172 of 172 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (115 of 115 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (54 of 54 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (118 of 118 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (115 of 115 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (177 of 177 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (194 of 194 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (187 of 187 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (235 of 235 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
4 years agoMerge pull request #3577 from weblate/weblate-openwrt-luci
Hannu Nyman [Mon, 27 Jan 2020 20:11:42 +0000 (22:11 +0200)]
Merge pull request #3577 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Polish) 3577/head
Hosted Weblate [Mon, 27 Jan 2020 20:01:22 +0000 (21:01 +0100)]
Translated using Weblate (Polish)

Currently translated at 100.0% (98 of 98 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (139 of 139 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (104 of 104 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (124 of 124 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (115 of 115 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (54 of 54 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (118 of 118 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (115 of 115 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (177 of 177 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (32 of 32 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (13 of 13 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (81 of 81 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
4 years agoluci-app-ser2net: i18n - fix locales
Hannu Nyman [Mon, 27 Jan 2020 16:06:26 +0000 (18:06 +0200)]
luci-app-ser2net: i18n - fix locales

Fix weblate generated locales

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #3575 from weblate/weblate-openwrt-luci
Hannu Nyman [Mon, 27 Jan 2020 16:03:38 +0000 (18:03 +0200)]
Merge pull request #3575 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoAdded translation using Weblate (Chinese (Traditional)) 3575/head
Hosted Weblate [Mon, 27 Jan 2020 15:59:30 +0000 (16:59 +0100)]
Added translation using Weblate (Chinese (Traditional))

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Added translation using Weblate (Chinese (Simplified))

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Added translation using Weblate (Portuguese (Brazil))

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Added translation using Weblate (Norwegian BokmÃ¥l)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #3574 from weblate/weblate-openwrt-luci
Hannu Nyman [Mon, 27 Jan 2020 15:52:26 +0000 (17:52 +0200)]
Merge pull request #3574 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Polish) 3574/head
Hosted Weblate [Mon, 27 Jan 2020 15:51:24 +0000 (16:51 +0100)]
Translated using Weblate (Polish)

Currently translated at 100.0% (65 of 65 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (23 of 23 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (16 of 16 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (101 of 101 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (58 of 58 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (13 of 13 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (81 of 81 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
4 years agoMerge pull request #3572 from castillofrancodamian/ser2net
Hannu Nyman [Mon, 27 Jan 2020 15:45:23 +0000 (17:45 +0200)]
Merge pull request #3572 from castillofrancodamian/ser2net

luci-app-ser2net: add template + Spanish translation

4 years agoluci-app-wol: drop luci-compat dependency
Jo-Philipp Wich [Mon, 27 Jan 2020 10:00:07 +0000 (11:00 +0100)]
luci-app-wol: drop luci-compat dependency

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3571 from weblate/weblate-openwrt-luci
Hannu Nyman [Mon, 27 Jan 2020 05:17:24 +0000 (07:17 +0200)]
Merge pull request #3571 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoluci-app-ser2net: add template + Spanish translation 3572/head
Franco Castillo [Sun, 26 Jan 2020 22:04:02 +0000 (19:04 -0300)]
luci-app-ser2net: add template + Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
4 years agoTranslated using Weblate (Polish) 3571/head
Hosted Weblate [Sun, 26 Jan 2020 21:52:04 +0000 (22:52 +0100)]
Translated using Weblate (Polish)

Currently translated at 100.0% (112 of 112 strings)

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

Translated using Weblate (Polish)

Currently translated at 80.0% (52 of 65 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (98 of 98 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
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/

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (158 of 158 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (172 of 172 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (124 of 124 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (61 of 61 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 100.0% (194 of 194 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (187 of 187 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (209 of 209 strings)

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

Translated using Weblate (Polish)

Currently translated at 98.2% (110 of 112 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
4 years agoluci-app-wol: cope with empty stdout
Jo-Philipp Wich [Sun, 26 Jan 2020 21:51:22 +0000 (22:51 +0100)]
luci-app-wol: cope with empty stdout

Fix a cosmetic issue when etherwake is sending to an invalid interface.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-woll: convert to client side rendering
Jo-Philipp Wich [Sun, 26 Jan 2020 21:48:20 +0000 (22:48 +0100)]
luci-app-woll: convert to client side rendering

Also make the interface option mandatory

Fixes: #3557
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3545 from michyprima/add-app-ser2net-js
Jo-Philipp Wich [Sun, 26 Jan 2020 20:26:37 +0000 (21:26 +0100)]
Merge pull request #3545 from michyprima/add-app-ser2net-js

luci-app-ser2net: add app supporting ser2net

4 years agoMerge pull request #3558 from tano-systems/pr/luci-app-openvpn-i18n-page-switches
Jo-Philipp Wich [Sun, 26 Jan 2020 20:26:11 +0000 (21:26 +0100)]
Merge pull request #3558 from tano-systems/pr/luci-app-openvpn-i18n-page-switches

luci-app-openvpn: fix advanced mode page switcher translation

4 years agoluci-app-ksmbd: i18n sk - fix last contributor name
Hannu Nyman [Sun, 26 Jan 2020 16:13:25 +0000 (18:13 +0200)]
luci-app-ksmbd: i18n sk - fix last contributor name

Remove the non-ASCII chars from the translator's name,
as weblate complains about it.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoluci-app-ksmbd: i18n - fix language codes
Hannu Nyman [Sun, 26 Jan 2020 16:06:43 +0000 (18:06 +0200)]
luci-app-ksmbd: i18n - fix language codes

Fix weblate generated locale codes.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #3568 from weblate/weblate-openwrt-luci
Hannu Nyman [Sun, 26 Jan 2020 16:02:11 +0000 (18:02 +0200)]
Merge pull request #3568 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Polish) 3568/head
Hosted Weblate [Sun, 26 Jan 2020 15:58:52 +0000 (16:58 +0100)]
Translated using Weblate (Polish)

Currently translated at 100.0% (26 of 26 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
4 years agoMerge pull request #3566 from Andy2244/luci-app-smbd-name_change_luci-app-ksmbd
Hannu Nyman [Sun, 26 Jan 2020 15:58:32 +0000 (17:58 +0200)]
Merge pull request #3566 from Andy2244/luci-app-smbd-name_change_luci-app-ksmbd

luci-app-smbd: rename to luci-app-ksmbd

4 years agoluci-app-smbd: rename to luci-app-ksmbd 3566/head
Andy Walsh [Sun, 26 Jan 2020 15:48:16 +0000 (16:48 +0100)]
luci-app-smbd: rename to luci-app-ksmbd

* follow upstream name change to ksmbd
* remove old artifacs from "applications\luci-app-cifsd\po\"

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
4 years agoluci-app-vnstat2: i18n - fix locale codes
Hannu Nyman [Sun, 26 Jan 2020 12:47:37 +0000 (14:47 +0200)]
luci-app-vnstat2: i18n - fix locale codes

fix locale codes generated by weblate to match the LuCI standard.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #3564 from weblate/weblate-openwrt-luci
Hannu Nyman [Sun, 26 Jan 2020 12:42:44 +0000 (14:42 +0200)]
Merge pull request #3564 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Spanish) 3564/head
Hosted Weblate [Sun, 26 Jan 2020 12:41:39 +0000 (13:41 +0100)]
Translated using Weblate (Spanish)

Currently translated at 100.0% (26 of 26 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (104 of 104 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (115 of 115 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Polish)

Currently translated at 88.5% (54 of 61 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)

Currently translated at 88.5% (54 of 61 strings)

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

Signed-off-by: Krzysiek Fulko <kfulko@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (187 of 187 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (68 of 68 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (209 of 209 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (15 of 15 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (235 of 235 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Added translation using Weblate (Norwegian BokmÃ¥l)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Chinese (Simplified))

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Chinese (Traditional))

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Slovak)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Korean)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Swedish)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (French)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Italian)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Marathi)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Malay)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Polish)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Hebrew)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Hindi)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Hungarian)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Vietnamese)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Portuguese)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Czech)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Catalan)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Japanese)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Ukrainian)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Bulgarian)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Romanian)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Russian)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Greek)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (German)

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Portuguese (Brazil))

Signed-off-by: Weblate <noreply@weblate.org>
Added translation using Weblate (Turkish)

Signed-off-by: Weblate <noreply@weblate.org>
4 years agoluci-base: allow loading translations when not authenticated
Jo-Philipp Wich [Sat, 25 Jan 2020 22:28:56 +0000 (23:28 +0100)]
luci-base: allow loading translations when not authenticated

Fixes: #3563
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agothemes: render menu even when not logged in
Jo-Philipp Wich [Sat, 25 Jan 2020 22:28:24 +0000 (23:28 +0100)]
themes: render menu even when not logged in

Ref: #3563
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: add support for plural translations and contexts in Lua api
Jo-Philipp Wich [Thu, 23 Jan 2020 20:53:26 +0000 (21:53 +0100)]
luci-base: add support for plural translations and contexts in Lua api

 - Introduce a new luci.template.parser.ntranslate() function which
   takes a count, a singular and a plural translation string as well
   as an optional context argument and returns the appropriate,
   language specific plural translation.

 - Introduce an optional translation context argument in the existing
   luci.template.parser.translate() function

 - Support translation contexts in LuCI template directives.
   Translation messages are split on the first unescaped pipe
   character and the reamining string after the pipe is treated
   as context.

Examples:

 - `string.format(p.ntranslate(n, "1 apple", "%d apples"), n)` will
   return an appropriate plural translation for the given amount.

 - `translate("Load", "The system load")` will return an appropiate
   translation for `Load`, using `The system load` as disambiguation
   context (a `msgctxt` directive in *.po files).

 - Likewise `<%:Load|The system load%>` will translate the word
   `Load` while using the remainder of the string as context.

 - To use pipes in translations strings literally, they must be
   escaped: `<%:Use the "\|" character%>` will translate the literal
   string `Use the "|" character`.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3561 from castillofrancodamian/vnstat2
Hannu Nyman [Sat, 25 Jan 2020 16:22:46 +0000 (18:22 +0200)]
Merge pull request #3561 from castillofrancodamian/vnstat2

luci-app-vnstat2: add Spanish translation

4 years agoluci-app-vnstat2: add Spanish translation 3561/head
Franco Castillo [Sat, 25 Jan 2020 16:05:18 +0000 (13:05 -0300)]
luci-app-vnstat2: add Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
4 years agoMerge pull request #3560 from weblate/weblate-openwrt-luci
Hannu Nyman [Sat, 25 Jan 2020 08:02:16 +0000 (10:02 +0200)]
Merge pull request #3560 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (German) 3560/head
Hosted Weblate [Sat, 25 Jan 2020 05:04:59 +0000 (06:04 +0100)]
Translated using Weblate (German)

Currently translated at 100.0% (42 of 42 strings)

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

Signed-off-by: frauhottelmann <frauhottelmann@gmail.com>
Translated using Weblate (German)

Currently translated at 64.0% (110 of 172 strings)

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

Signed-off-by: frauhottelmann <frauhottelmann@gmail.com>
Translated using Weblate (Russian)

Currently translated at 100.0% (187 of 187 strings)

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

Translated using Weblate (German)

Currently translated at 98.3% (1308 of 1330 strings)

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

Signed-off-by: frauhottelmann <frauhottelmann@gmail.com>
Translated using Weblate (Russian)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
4 years agoluci-app-openvpn: fix advanced mode page switcher translation 3558/head
Anton Kikin [Fri, 24 Jan 2020 22:14:12 +0000 (01:14 +0300)]
luci-app-openvpn: fix advanced mode page switcher translation

Translation of page titles in the advanced configuration mode is done
in such a way that the strings to be translated are not visible for
'i18n-scan.pl' script. This commit fixes this and makes page titles
visible for the 'i18n-scan.pl'.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
4 years agoMerge pull request #3556 from weblate/weblate-openwrt-luci
Hannu Nyman [Fri, 24 Jan 2020 16:10:36 +0000 (18:10 +0200)]
Merge pull request #3556 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Russian) 3556/head
Hosted Weblate [Fri, 24 Jan 2020 16:09:39 +0000 (17:09 +0100)]
Translated using Weblate (Russian)

Currently translated at 80.2% (142 of 177 strings)

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

Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Translated using Weblate (Polish)

Currently translated at 100.0% (177 of 177 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Russian)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Translated using Weblate (Polish)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Marcin Net <marcin.net@linux.pl>
4 years agoMerge pull request #3555 from weblate/weblate-openwrt-luci
Hannu Nyman [Thu, 23 Jan 2020 20:25:53 +0000 (22:25 +0200)]
Merge pull request #3555 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Spanish) 3555/head
Hosted Weblate [Thu, 23 Jan 2020 20:25:20 +0000 (21:25 +0100)]
Translated using Weblate (Spanish)

Currently translated at 100.0% (65 of 65 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (177 of 177 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
4 years agoMerge remote-tracking branch 'weblate/master'
Hannu Nyman [Thu, 23 Jan 2020 19:23:11 +0000 (21:23 +0200)]
Merge remote-tracking branch 'weblate/master'

Fix conflict at applications/luci-app-ddns/po/zh-tw/ddns.po

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoTranslated using Weblate (Chinese (Traditional))
Andy Yang [Thu, 23 Jan 2020 14:56:15 +0000 (14:56 +0000)]
Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (50 of 50 strings)

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

Signed-off-by: Andy Yang <a962702@yahoo.com>
4 years agoTranslated using Weblate (Chinese (Traditional))
Andy Yang [Thu, 23 Jan 2020 14:54:42 +0000 (14:54 +0000)]
Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (1 of 1 strings)

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

Signed-off-by: Andy Yang <a962702@yahoo.com>
4 years agoTranslated using Weblate (Chinese (Traditional))
Andy Yang [Thu, 23 Jan 2020 14:58:43 +0000 (14:58 +0000)]
Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (27 of 27 strings)

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

Signed-off-by: Andy Yang <a962702@yahoo.com>
4 years agoTranslated using Weblate (Chinese (Traditional))
Andy Yang [Thu, 23 Jan 2020 14:49:39 +0000 (14:49 +0000)]
Translated using Weblate (Chinese (Traditional))

Currently translated at 69.3% (122 of 176 strings)

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

Signed-off-by: Andy Yang <a962702@yahoo.com>
4 years agoTranslated using Weblate (Chinese (Traditional))
Andy Yang [Thu, 23 Jan 2020 15:00:17 +0000 (15:00 +0000)]
Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (22 of 22 strings)

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

4 years agoTranslated using Weblate (Spanish)
Franco Castillo [Thu, 23 Jan 2020 15:03:31 +0000 (15:03 +0000)]
Translated using Weblate (Spanish)

Currently translated at 100.0% (209 of 209 strings)

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

4 years agoTranslated using Weblate (Chinese (Traditional))
Andy Yang [Thu, 23 Jan 2020 15:00:17 +0000 (15:00 +0000)]
Translated using Weblate (Chinese (Traditional))

Currently translated at 87.5% (28 of 32 strings)

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

4 years agoTranslated using Weblate (Spanish)
Franco Castillo [Thu, 23 Jan 2020 15:05:31 +0000 (15:05 +0000)]
Translated using Weblate (Spanish)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
4 years agotreewide: i18n - sync translations
Hannu Nyman [Thu, 23 Jan 2020 19:17:05 +0000 (21:17 +0200)]
treewide: i18n - sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoluci-mod-system: remove abbreviation from LED config menu item
Hannu Nyman [Thu, 23 Jan 2020 19:11:41 +0000 (21:11 +0200)]
luci-mod-system: remove abbreviation from LED config menu item

Remove the abbreviation coding from the menu item, as it does nor work
in menu and seems to prevent translation of the menu item.

(This was the only menu item in LuCI that had abbr logic.)

Reference to #3553

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #3458 from janh/vnstat2
Jo-Philipp Wich [Thu, 23 Jan 2020 15:07:36 +0000 (16:07 +0100)]
Merge pull request #3458 from janh/vnstat2

luci-app-vnstat2: add application

4 years agoluci-app-vnstat2: add application 3458/head
Jan Hoffmann [Thu, 2 Jan 2020 22:20:37 +0000 (23:20 +0100)]
luci-app-vnstat2: add application

This adds an application for vnStat version 2.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
4 years agoluci-lib-ip: explicitly initialize address scope value
Jo-Philipp Wich [Thu, 23 Jan 2020 11:31:36 +0000 (12:31 +0100)]
luci-lib-ip: explicitly initialize address scope value

Explicitly initialize the address scope value to zero in parse_cidr() and
L_setaddr() to avoid stray scope identifiers getting added when formatting
the address object as string.

Fixes: 1d2b4c777 ("luci-lib-ip: support scoped IPv6 addresses")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: cbi.js: support plural translations and disambiguation contexts
Jo-Philipp Wich [Wed, 22 Jan 2020 20:56:28 +0000 (21:56 +0100)]
luci-base: cbi.js: support plural translations and disambiguation contexts

 - Implement `N_(count, "String singular", "String plural" [, "Context"])`
   plural translation function.

 - Extend `_()` to optionally accept a second disambiguation context
   argument.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: handle more po format features in po2lmo
Jo-Philipp Wich [Wed, 22 Jan 2020 17:44:15 +0000 (18:44 +0100)]
luci-base: handle more po format features in po2lmo

 - Extract and store the plural calculation function in .lmo files
 - Handle plural translation messages
 - Handle translation contexts

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agobuild: i18n-scan.pl: use xgettext to extract message strings
Jo-Philipp Wich [Tue, 21 Jan 2020 17:39:32 +0000 (18:39 +0100)]
build: i18n-scan.pl: use xgettext to extract message strings

Using xgettext has a few benefits compared to the previous perl extraction
approach. The xgettext utility is able to properly distinguish commented
from uncommented code and it is able handle concatenated constant
expressions such as `_("Some " + "string")`.

A further benefit is the ability to extract translations with disambiguation
contexts and plural translation calls.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-proto-openconnect: explicitely escape slashes in regex literals
Jo-Philipp Wich [Tue, 21 Jan 2020 17:38:46 +0000 (18:38 +0100)]
luci-proto-openconnect: explicitely escape slashes in regex literals

The unespaced slashes confuse xgettext and likely other source
scanners as well.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-proto-wireguard: explicitely escape slashes in regex literals
Jo-Philipp Wich [Tue, 21 Jan 2020 17:38:04 +0000 (18:38 +0100)]
luci-proto-wireguard: explicitely escape slashes in regex literals

The unespaced slashes confuse xgettext and likely other source
scanners as well.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3550 from weblate/weblate-openwrt-luci
Hannu Nyman [Wed, 22 Jan 2020 18:40:41 +0000 (20:40 +0200)]
Merge pull request #3550 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Spanish) 3550/head
Hosted Weblate [Wed, 22 Jan 2020 18:22:02 +0000 (19:22 +0100)]
Translated using Weblate (Spanish)

Currently translated at 100.0% (33 of 33 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (42 of 42 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (25 of 25 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (30 of 30 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (118 of 118 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (101 of 101 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (209 of 209 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (235 of 235 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
4 years agoluci-app-ser2net: add app supporting ser2net (JS) 3545/head
Michele Primavera [Tue, 21 Jan 2020 11:49:51 +0000 (12:49 +0100)]
luci-app-ser2net: add app supporting ser2net (JS)
Signed-off-by: Michele Primavera <primavera@elmod.it>
4 years agoMerge pull request #3548 from weblate/weblate-openwrt-luci
Hannu Nyman [Tue, 21 Jan 2020 19:29:41 +0000 (21:29 +0200)]
Merge pull request #3548 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Chinese (Simplified)) 3548/head
Hosted Weblate [Tue, 21 Jan 2020 17:16:04 +0000 (18:16 +0100)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 98.0% (99 of 101 strings)

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

Translated using Weblate (Spanish)

Currently translated at 97.1% (203 of 209 strings)

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

4 years agoMerge pull request #3547 from weblate/weblate-openwrt-luci
Hannu Nyman [Tue, 21 Jan 2020 14:20:44 +0000 (16:20 +0200)]
Merge pull request #3547 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Russian) 3547/head
Hosted Weblate [Tue, 21 Jan 2020 13:31:23 +0000 (14:31 +0100)]
Translated using Weblate (Russian)

Currently translated at 84.2% (117 of 139 strings)

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

Signed-off-by: Max Smolik <makcum15@gmail.com>
Translated using Weblate (Russian)

Currently translated at 20.4% (10 of 49 strings)

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

Signed-off-by: Max Smolik <makcum15@gmail.com>
Translated using Weblate (Russian)

Currently translated at 75.6% (133 of 176 strings)

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

Signed-off-by: Max Smolik <makcum15@gmail.com>
Translated using Weblate (Russian)

Currently translated at 23.0% (14 of 61 strings)

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

Signed-off-by: Max Smolik <makcum15@gmail.com>
Translated using Weblate (Russian)

Currently translated at 29.2% (7 of 24 strings)

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

Signed-off-by: Max Smolik <makcum15@gmail.com>
Translated using Weblate (Russian)

Currently translated at 100.0% (46 of 46 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (209 of 209 strings)

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

Translated using Weblate (Spanish)

Currently translated at 90.0% (188 of 209 strings)

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

4 years agoluci-theme-material: fix button position on modal save
Florian Eckert [Tue, 21 Jan 2020 08:21:39 +0000 (09:21 +0100)]
luci-theme-material: fix button position on modal save

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
4 years agoluci-app-openvpn: allow and restrict file uploads to /etc/openvpn/
Jo-Philipp Wich [Mon, 20 Jan 2020 18:16:59 +0000 (19:16 +0100)]
luci-app-openvpn: allow and restrict file uploads to /etc/openvpn/

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-compat: upload.htm: expose root_directory and initial_directory
Jo-Philipp Wich [Mon, 20 Jan 2020 18:13:57 +0000 (19:13 +0100)]
luci-compat: upload.htm: expose root_directory and initial_directory

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: ui.js: UIFileUpload fixes
Jo-Philipp Wich [Mon, 20 Jan 2020 18:38:17 +0000 (19:38 +0100)]
luci-base: ui.js: UIFileUpload fixes

 - Introduce a new option `initial_directory` which describes the initial
   directory to display when nothing is selected, default to the root
   directory

 - Prevent stray legacy cbi reloads when deselecting files

 - Fix within-root-directory-check for initial rendering

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-firewall: fix variable clash leading to incorrect family display
Jo-Philipp Wich [Mon, 20 Jan 2020 17:57:47 +0000 (18:57 +0100)]
luci-app-firewall: fix variable clash leading to incorrect family display

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-status: refactor luci-bwc
Jo-Philipp Wich [Mon, 20 Jan 2020 17:55:05 +0000 (18:55 +0100)]
luci-mod-status: refactor luci-bwc

 - Read interface statistics from /sys/class/net/
 - Discover all wireless interfaces, not just specifically named ones

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3538 from weblate/weblate-openwrt-luci
Hannu Nyman [Mon, 20 Jan 2020 16:30:20 +0000 (18:30 +0200)]
Merge pull request #3538 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Spanish) 3538/head
Hosted Weblate [Mon, 20 Jan 2020 15:09:33 +0000 (16:09 +0100)]
Translated using Weblate (Spanish)

Currently translated at 100.0% (101 of 101 strings)

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

Translated using Weblate (Polish)

Currently translated at 95.7% (200 of 209 strings)

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

Translated using Weblate (Spanish)

Currently translated at 99.0% (207 of 209 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (81 of 81 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 29.6% (29 of 98 strings)

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

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 100.0% (172 of 172 strings)

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

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 100.0% (19 of 19 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 100.0% (101 of 101 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (209 of 209 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 69.9% (146 of 209 strings)

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

4 years agoluci-theme-material: fix apply dropdown color
Florian Eckert [Mon, 20 Jan 2020 13:11:16 +0000 (14:11 +0100)]
luci-theme-material: fix apply dropdown color

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
4 years agoMerge pull request #3526 from urbalazs/improve-splash
Florian Eckert [Mon, 20 Jan 2020 05:58:36 +0000 (06:58 +0100)]
Merge pull request #3526 from urbalazs/improve-splash

luci-app-splash: improve wording

4 years agoMerge pull request #3533 from weblate/weblate-openwrt-luci
Hannu Nyman [Sun, 19 Jan 2020 20:41:02 +0000 (22:41 +0200)]
Merge pull request #3533 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (Russian) 3533/head
Hosted Weblate [Sun, 19 Jan 2020 20:39:01 +0000 (21:39 +0100)]
Translated using Weblate (Russian)

Currently translated at 21.4% (21 of 98 strings)

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

Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Translated using Weblate (Russian)

Currently translated at 100.0% (23 of 23 strings)

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

Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Translated using Weblate (Spanish)

Currently translated at 100.0% (176 of 176 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Russian)

Currently translated at 31.9% (23 of 72 strings)

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

Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Translated using Weblate (Russian)

Currently translated at 97.0% (98 of 101 strings)

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

Translated using Weblate (Polish)

Currently translated at 95.0% (96 of 101 strings)

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

Translated using Weblate (Spanish)

Currently translated at 90.1% (91 of 101 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (194 of 194 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (22 of 22 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (194 of 194 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (209 of 209 strings)

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

Translated using Weblate (Polish)

Currently translated at 90.0% (188 of 209 strings)

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

Translated using Weblate (Spanish)

Currently translated at 89.5% (187 of 209 strings)

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

Translated using Weblate (Russian)

Currently translated at 68.8% (22 of 32 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (1330 of 1330 strings)

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

Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Translated using Weblate (Russian)

Currently translated at 81.3% (170 of 209 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (209 of 209 strings)

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

4 years agoMerge pull request #3530 from ysc3839/transmission
Jo-Philipp Wich [Sun, 19 Jan 2020 18:49:58 +0000 (19:49 +0100)]
Merge pull request #3530 from ysc3839/transmission

luci-app-transmission: port to client side

4 years agoluci-app-firewall: add SNAT config migration
Jo-Philipp Wich [Sun, 19 Jan 2020 18:37:28 +0000 (19:37 +0100)]
luci-app-firewall: add SNAT config migration

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3532 from weblate/weblate-openwrt-luci
Hannu Nyman [Sun, 19 Jan 2020 18:36:26 +0000 (20:36 +0200)]
Merge pull request #3532 from weblate/weblate-openwrt-luci

Translations update from Weblate

4 years agoTranslated using Weblate (German) 3532/head
Hosted Weblate [Sun, 19 Jan 2020 16:25:26 +0000 (17:25 +0100)]
Translated using Weblate (German)

Currently translated at 98.4% (1309 of 1330 strings)

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

Signed-off-by: Jo <jo@mein.io>
Translated using Weblate (German)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (205 of 205 strings)

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

4 years agoluci-theme-bootstrap: add CSS fixes for tooltip elements
Jo-Philipp Wich [Sun, 19 Jan 2020 16:50:37 +0000 (17:50 +0100)]
luci-theme-bootstrap: add CSS fixes for tooltip elements

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-firewall: rework rule descriptions, deduplicate code
Jo-Philipp Wich [Sun, 19 Jan 2020 15:08:47 +0000 (16:08 +0100)]
luci-app-firewall: rework rule descriptions, deduplicate code

Use a simple custom format string DSL to assemble the rule description
texts in the overview page.

Also move common code for shared, complex cbi options to the firewall
tool class.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: form.js: add a new "contains" dependency mode
Jo-Philipp Wich [Sun, 19 Jan 2020 15:00:57 +0000 (16:00 +0100)]
luci-base: form.js: add a new "contains" dependency mode

By tagging option dependencies with `!contains`, dependencies are
considered satisfied when the value is contained in the value of
a related field, instead of being equal to it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: form.js: don't stringify node arguments in CBIValue.value()
Jo-Philipp Wich [Sun, 19 Jan 2020 14:56:59 +0000 (15:56 +0100)]
luci-base: form.js: don't stringify node arguments in CBIValue.value()

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