summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-01-27Merge pull request #3572 from castillofrancodamian/ser2netHannu Nyman
luci-app-ser2net: add template + Spanish translation
2020-01-27luci-app-wol: drop luci-compat dependencyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-27Merge pull request #3571 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-01-26luci-app-ser2net: add template + Spanish translationFranco Castillo
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2020-01-26Translated using Weblate (Polish)Hosted Weblate
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>
2020-01-26luci-app-wol: cope with empty stdoutJo-Philipp Wich
Fix a cosmetic issue when etherwake is sending to an invalid interface. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-26luci-app-woll: convert to client side renderingJo-Philipp Wich
Also make the interface option mandatory Fixes: #3557 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-26Merge pull request #3545 from michyprima/add-app-ser2net-jsJo-Philipp Wich
luci-app-ser2net: add app supporting ser2net
2020-01-26Merge pull request #3558 from ↵Jo-Philipp Wich
tano-systems/pr/luci-app-openvpn-i18n-page-switches luci-app-openvpn: fix advanced mode page switcher translation
2020-01-26luci-app-ksmbd: i18n sk - fix last contributor nameHannu Nyman
Remove the non-ASCII chars from the translator's name, as weblate complains about it. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-01-26luci-app-ksmbd: i18n - fix language codesHannu Nyman
Fix weblate generated locale codes. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-01-26Merge pull request #3568 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-01-26Translated using Weblate (Polish)Hosted Weblate
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>
2020-01-26Merge pull request #3566 from Andy2244/luci-app-smbd-name_change_luci-app-ksmbdHannu Nyman
luci-app-smbd: rename to luci-app-ksmbd
2020-01-26luci-app-smbd: rename to luci-app-ksmbdAndy Walsh
* 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>
2020-01-26luci-app-vnstat2: i18n - fix locale codesHannu Nyman
fix locale codes generated by weblate to match the LuCI standard. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-01-26Merge pull request #3564 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-01-26Translated using Weblate (Spanish)Hosted Weblate
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>
2020-01-25luci-base: allow loading translations when not authenticatedJo-Philipp Wich
Fixes: #3563 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-25themes: render menu even when not logged inJo-Philipp Wich
Ref: #3563 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-25luci-base: add support for plural translations and contexts in Lua apiJo-Philipp Wich
- 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>
2020-01-25Merge pull request #3561 from castillofrancodamian/vnstat2Hannu Nyman
luci-app-vnstat2: add Spanish translation
2020-01-25luci-app-vnstat2: add Spanish translationFranco Castillo
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2020-01-25Merge pull request #3560 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-01-25Translated using Weblate (German)Hosted Weblate
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>
2020-01-25luci-app-openvpn: fix advanced mode page switcher translationAnton Kikin
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>
2020-01-24Merge pull request #3556 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-01-24Translated using Weblate (Russian)Hosted Weblate
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>
2020-01-23Merge pull request #3555 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate
2020-01-23Translated using Weblate (Spanish)Hosted Weblate
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>
2020-01-23Merge remote-tracking branch 'weblate/master'Hannu Nyman
Fix conflict at applications/luci-app-ddns/po/zh-tw/ddns.po Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-01-23Translated using Weblate (Chinese (Traditional))Andy Yang
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>
2020-01-23Translated using Weblate (Chinese (Traditional))Andy Yang
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>
2020-01-23Translated using Weblate (Chinese (Traditional))Andy Yang
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>
2020-01-23Translated using Weblate (Chinese (Traditional))Andy Yang
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>
2020-01-23Translated using Weblate (Chinese (Traditional))Andy Yang
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/
2020-01-23Translated using Weblate (Spanish)Franco Castillo
Currently translated at 100.0% (209 of 209 strings) Translation: OpenWrt/LuCI/applications/firewall Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/es/
2020-01-23Translated using Weblate (Chinese (Traditional))Andy Yang
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/
2020-01-23Translated using Weblate (Spanish)Franco Castillo
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>
2020-01-23treewide: i18n - sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-01-23luci-mod-system: remove abbreviation from LED config menu itemHannu Nyman
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>
2020-01-23Merge pull request #3458 from janh/vnstat2Jo-Philipp Wich
luci-app-vnstat2: add application
2020-01-23luci-app-vnstat2: add applicationJan Hoffmann
This adds an application for vnStat version 2. Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2020-01-23luci-lib-ip: explicitly initialize address scope valueJo-Philipp Wich
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>
2020-01-22luci-base: cbi.js: support plural translations and disambiguation contextsJo-Philipp Wich
- 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>
2020-01-22luci-base: handle more po format features in po2lmoJo-Philipp Wich
- 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>
2020-01-22build: i18n-scan.pl: use xgettext to extract message stringsJo-Philipp Wich
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>
2020-01-22luci-proto-openconnect: explicitely escape slashes in regex literalsJo-Philipp Wich
The unespaced slashes confuse xgettext and likely other source scanners as well. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-22luci-proto-wireguard: explicitely escape slashes in regex literalsJo-Philipp Wich
The unespaced slashes confuse xgettext and likely other source scanners as well. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-22Merge pull request #3550 from weblate/weblate-openwrt-luciHannu Nyman
Translations update from Weblate