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>
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
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>
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
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>
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
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>
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
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>
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>
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>
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>
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>
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>
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/
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/
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/
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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
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>
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
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/
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
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/
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>
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>
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>
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>
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>
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>
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
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/
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>
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
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
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/
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
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>
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
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/
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>
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>
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>
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>
Jo-Philipp Wich [Sun, 19 Jan 2020 14:52:58 +0000 (15:52 +0100)]
luci-base: ui.js: support clearChoices()/addChoices() for DynLists
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 19 Jan 2020 14:52:13 +0000 (15:52 +0100)]
luci-base: ui.js: use placeholder as select placeholder in DynLists
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 19 Jan 2020 14:50:33 +0000 (15:50 +0100)]
luci-base: ui.js: properly handle rich choices in Dropdowns, DynLists
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Sun, 19 Jan 2020 07:58:04 +0000 (09:58 +0200)]
Merge pull request #3531 from weblate/weblate-openwrt-luci
Translations update from Weblate
Hosted Weblate [Sun, 19 Jan 2020 06:06:25 +0000 (07:06 +0100)]
Translated using Weblate (Portuguese)
Currently translated at 10.9% (7 of 64 strings)
Translation: OpenWrt/LuCI/applications/yggdrasil
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsyggdrasil/pt/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (German)
Currently translated at 10.9% (7 of 64 strings)
Translation: OpenWrt/LuCI/applications/yggdrasil
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsyggdrasil/de/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (German)
Currently translated at 16.3% (16 of 98 strings)
Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/de/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (German)
Currently translated at 88.1% (37 of 42 strings)
Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/de/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Polish)
Currently translated at 100.0% (176 of 176 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 (Portuguese)
Currently translated at 81.2% (190 of 234 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/pt/
Translated using Weblate (Hungarian)
Currently translated at 98.3% (230 of 234 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/hu/
Translated using Weblate (Polish)
Currently translated at 51.8% (58 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>
Translated using Weblate (Hungarian)
Currently translated at 98.8% (1314 of 1330 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/hu/
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
Richard Yu [Sat, 18 Jan 2020 14:21:02 +0000 (22:21 +0800)]
luci-app-transmission: port to client side
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Hannu Nyman [Sat, 18 Jan 2020 13:43:39 +0000 (15:43 +0200)]
Merge pull request #3529 from weblate/weblate-openwrt-luci
Translations update from Weblate
Hosted Weblate [Sat, 18 Jan 2020 13:41:49 +0000 (14:41 +0100)]
Translated using Weblate (German)
Currently translated at 87.5% (35 of 40 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/de/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)
Currently translated at 73.5% (172 of 234 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/pt/
Translated using Weblate (Portuguese)
Currently translated at 100.0% (1330 of 1330 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt/
Signed-off-by: ssantos <ssantos@web.de>
Dirk Brenken [Sat, 18 Jan 2020 06:34:02 +0000 (07:34 +0100)]
Merge pull request #3527 from dibdot/master
luci-app-travelmate: bugfix add/edit WPA3 uplinks
Hannu Nyman [Sat, 18 Jan 2020 05:53:03 +0000 (07:53 +0200)]
Merge pull request #3525 from urbalazs/typo-radicale2
luci-app-radicale2: fix typo
Hannu Nyman [Sat, 18 Jan 2020 05:52:41 +0000 (07:52 +0200)]
Merge pull request #3524 from urbalazs/typo-openvpn-ip
luci-app-openvpn: fix typo
Dirk Brenken [Sat, 18 Jan 2020 05:28:14 +0000 (06:28 +0100)]
luci-app-travelmate: bugfix add/editing WPA3 uplinks
* see forum post
https://forum.openwrt.org/t/travelmate-support-thread/5155/318
Signed-off-by: Dirk Brenken <dev@brenken.org>
Balázs Úr [Fri, 17 Jan 2020 23:17:47 +0000 (00:17 +0100)]
luci-app-splash: improve wording
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
Balázs Úr [Fri, 17 Jan 2020 23:05:08 +0000 (00:05 +0100)]
luci-app-radicale2: fix typo
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
Balázs Úr [Fri, 17 Jan 2020 22:57:09 +0000 (23:57 +0100)]
luci-app-openvpn: fix typo
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
Florian Eckert [Fri, 17 Jan 2020 09:23:09 +0000 (10:23 +0100)]
Merge pull request #3521 from weblate/weblate-openwrt-luci
Translations update from Weblate
Hosted Weblate [Fri, 17 Jan 2020 07:27:21 +0000 (08:27 +0100)]
Translated using Weblate (French)
Currently translated at 40.0% (8 of 20 strings)
Translation: OpenWrt/LuCI/applications/nextdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnextdns/fr/
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (French)
Currently translated at 31.2% (15 of 48 strings)
Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/fr/
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (French)
Currently translated at 50.0% (5 of 10 strings)
Translation: OpenWrt/LuCI/applications/pagekitec
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspagekitec/fr/
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Hungarian)
Currently translated at 100.0% (6 of 6 strings)
Translation: OpenWrt/LuCI/applications/squid
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssquid/hu/
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
Translated using Weblate (French)
Currently translated at 100.0% (39 of 39 strings)
Translation: OpenWrt/LuCI/applications/clamav
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsclamav/fr/
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (French)
Currently translated at 34.8% (8 of 23 strings)
Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/fr/
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Polish)
Currently translated at 100.0% (23 of 23 strings)
Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/pl/
Signed-off-by: Michal L <michalrmsmi@wp.pl>
Translated using Weblate (French)
Currently translated at 76.1% (134 of 176 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/fr/
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (French)
Currently translated at 15.8% (3 of 19 strings)
Translation: OpenWrt/LuCI/applications/fwknopd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/fr/
Translated using Weblate (Polish)
Currently translated at 100.0% (234 of 234 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/pl/
Translated using Weblate (Hungarian)
Currently translated at 73.5% (172 of 234 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/hu/
Translated using Weblate (Spanish)
Currently translated at 100.0% (234 of 234 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/es/
Translated using Weblate (Hungarian)
Currently translated at 98.8% (79 of 80 strings)
Translation: OpenWrt/LuCI/applications/splash
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/hu/
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>
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 (Spanish)
Currently translated at 97.4% (228 of 234 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/es/
Translated using Weblate (Polish)
Currently translated at 50.9% (57 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 50.0% (56 of 112 strings)
Translation: OpenWrt/LuCI/applications/radicale2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/pl/
Jo-Philipp Wich [Fri, 17 Jan 2020 07:26:46 +0000 (08:26 +0100)]
Merge pull request #3522 from swg0101/systemcert
luci-base/mod-network: corrections to previous commit
David Lam [Thu, 16 Jan 2020 22:51:14 +0000 (14:51 -0800)]
luci-mod-network: fix missing semicolons
Corrects missing semicolons from the previous commit.
Signed-off-by: David Lam <david@thedavid.net>
David Lam [Thu, 16 Jan 2020 22:49:42 +0000 (14:49 -0800)]
luci-base: correct rpcd bad access mode
Corrects the bad access mode from a previous commit that did not allow rpcd luci to execute.
Signed-off-by: David Lam <david@thedavid.net>
Jo-Philipp Wich [Thu, 16 Jan 2020 21:13:34 +0000 (22:13 +0100)]
luci-app-firewall: consolidate duplicate option code
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Jan 2020 21:16:49 +0000 (22:16 +0100)]
Merge pull request #3520 from weblate/weblate-openwrt-luci
Translations update from Weblate
Hosted Weblate [Thu, 16 Jan 2020 21:16:29 +0000 (22:16 +0100)]
Translated using Weblate (Polish)
Currently translated at 48.2% (54 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% (24 of 24 strings)
Translation: OpenWrt/LuCI/applications/wireguard
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswireguard/pl/
Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translated using Weblate (Polish)
Currently translated at 100.0% (233 of 233 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/pl/
Translated using Weblate (Polish)
Currently translated at 47.3% (53 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>
Jo-Philipp Wich [Thu, 16 Jan 2020 21:15:26 +0000 (22:15 +0100)]
Merge pull request #3519 from weblate/weblate-openwrt-luci
Translations update from Weblate
Hosted Weblate [Thu, 16 Jan 2020 20:37:35 +0000 (21:37 +0100)]
Translated using Weblate (Russian)
Currently translated at 100.0% (24 of 24 strings)
Translation: OpenWrt/LuCI/applications/wireguard
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswireguard/ru/
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Translated using Weblate (Russian)
Currently translated at 5.1% (9 of 177 strings)
Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/ru/
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Translated using Weblate (Russian)
Currently translated at 74.4% (131 of 176 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 (Russian)
Currently translated at 100.0% (214 of 214 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/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>
Jo-Philipp Wich [Thu, 16 Jan 2020 20:36:39 +0000 (21:36 +0100)]
luci-app-firewall: support 'limit' and 'limit_burst' options
Also resync firewall translations.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Jan 2020 20:00:46 +0000 (21:00 +0100)]
luci-app-firewall: support 'DSCP' action and matches for rules
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Jan 2020 19:34:34 +0000 (20:34 +0100)]
luci-app-firewall: support 'MARK' action and matches for rules
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Thu, 16 Jan 2020 19:13:36 +0000 (21:13 +0200)]
Merge pull request #3518 from weblate/weblate-openwrt-luci
Translations update from Weblate
Hosted Weblate [Thu, 16 Jan 2020 19:12:49 +0000 (20:12 +0100)]
Translated using Weblate (Polish)
Currently translated at 100.0% (214 of 214 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/pl/
Translated using Weblate (Spanish)
Currently translated at 100.0% (214 of 214 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/es/
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>
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>
Hannu Nyman [Thu, 16 Jan 2020 17:44:40 +0000 (19:44 +0200)]
treewide: i18n - sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Jo-Philipp Wich [Thu, 16 Jan 2020 17:16:55 +0000 (18:16 +0100)]
luci-app-firewall: support 'mark' parameter for redirects
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Jan 2020 17:10:04 +0000 (18:10 +0100)]
luci-base: cbi.js: collapse whitespace before language string hashing
To mirror the behavior of the Lua runtime, we need to collapse whitepace
in translation source strings before doing the string table lookup.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Thu, 16 Jan 2020 16:31:12 +0000 (18:31 +0200)]
Merge pull request #3516 from weblate/weblate-openwrt-luci
Translations update from Weblate
Hosted Weblate [Thu, 16 Jan 2020 15:13:17 +0000 (16:13 +0100)]
Translated using Weblate (Russian)
Currently translated at 100.0% (199 of 199 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/ru/
Translated using Weblate (Polish)
Currently translated at 95.3% (61 of 64 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% (199 of 199 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/pl/
Translated using Weblate (Spanish)
Currently translated at 100.0% (199 of 199 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/es/
Translated using Weblate (German)
Currently translated at 100.0% (199 of 199 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/de/
Jo-Philipp Wich [Thu, 16 Jan 2020 15:30:58 +0000 (16:30 +0100)]
luci-app-firewall: support 'helper' and 'reflection_src' parameters for redirects
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Jan 2020 15:12:38 +0000 (16:12 +0100)]
luci-app-firewall: support 'helper' and 'set_helper' parameters for rules
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Jan 2020 14:36:05 +0000 (15:36 +0100)]
Merge pull request #3511 from Ansuel/no-hard
luci-base: remove hardcoded cgi-bin path
Jo-Philipp Wich [Thu, 16 Jan 2020 14:33:25 +0000 (15:33 +0100)]
Merge pull request #3517 from Ansuel/ubus_short
luci-base: make rpc webserver path configurable
Jo-Philipp Wich [Thu, 16 Jan 2020 14:29:54 +0000 (15:29 +0100)]
luci-app-firewall: support 'direction' and 'device' parameters for rules
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Ansuel Smith [Thu, 16 Jan 2020 14:16:09 +0000 (15:16 +0100)]
luci-base: make rpc webserver path configurable
Currently the ubus path that provide the webserver is hardcoded to be /ubus.
Change this to make it configurable from the luci config file.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Ansuel Smith [Wed, 15 Jan 2020 23:30:30 +0000 (00:30 +0100)]
luci-base: remove hardcoded cgi-bin path
Currently LuCI can be loaded only when placed in the root of the server as the cgi-bin path are hardcoded. Change the index.html to load the cgi-bin path from the current level.
Also add a new entry in the env Object to make the cgi_base path easily accessible.
This variable will be based on the position of /cgi-bin/luci.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Florian Eckert [Thu, 16 Jan 2020 13:06:23 +0000 (14:06 +0100)]
Merge pull request #3515 from weblate/weblate-openwrt-luci
Translations update from Weblate
Hosted Weblate [Thu, 16 Jan 2020 12:57:29 +0000 (13:57 +0100)]
Translated using Weblate (Norwegian Bokmål)
Currently translated at 44.6% (62 of 139 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/nb_NO/
Signed-off-by: Allan Nordhøy <epost@anotheragency.no>
Translated using Weblate (Russian)
Currently translated at 16.9% (13 of 77 strings)
Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/ru/
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Translated using Weblate (Spanish)
Currently translated at 100.0% (77 of 77 strings)
Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/es/
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Russian)
Currently translated at 44.0% (11 of 25 strings)
Translation: OpenWrt/LuCI/applications/dcwapd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/ru/
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Translated using Weblate (Japanese)
Currently translated at 100.0% (1 of 1 strings)
Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/ja/
Signed-off-by: Scott Anecito <scott.anecito@linux.com>
Translated using Weblate (Spanish)
Currently translated at 100.0% (167 of 167 strings)
Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/es/
Jo-Philipp Wich [Thu, 16 Jan 2020 12:56:56 +0000 (13:56 +0100)]
luci-app-firewall: resync translations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Jan 2020 12:54:22 +0000 (13:54 +0100)]
luci-app-firewall: fix family display for port forwards
The underlying fw3 program currently only does IPv4 port forwards while
LuCI incorrectly reports IPv4 + IPv6 for each forward. Adjust the text
accordingly to fix this.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>