From ee3f56bd02aec46fd73f81e7470f213579534a9c Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Mon, 24 Apr 2023 16:04:46 +0200 Subject: luci-app-banip: feed editor improvements * add the ability to up-/download a local/remote JSON feed file Signed-off-by: Dirk Brenken --- applications/luci-app-banip/po/pl/banip.po | 59 ++++++++++++++++++------------ 1 file changed, 36 insertions(+), 23 deletions(-) (limited to 'applications/luci-app-banip/po/pl') diff --git a/applications/luci-app-banip/po/pl/banip.po b/applications/luci-app-banip/po/pl/banip.po index a59e2a44f2..02d388855a 100644 --- a/applications/luci-app-banip/po/pl/banip.po +++ b/applications/luci-app-banip/po/pl/banip.po @@ -190,7 +190,7 @@ msgstr "" "Zmiany na tej karcie wymagają ponownego uruchomienia usługi banIP, aby " "zostały zastosowane." -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:217 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:262 msgid "Clear Custom Feeds" msgstr "" @@ -228,7 +228,7 @@ msgstr "Deduplikacja adresów IP" msgid "Default Block Policy" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:176 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:203 msgid "Description" msgstr "Opis" @@ -248,6 +248,10 @@ msgstr "Wyszukiwanie domen" msgid "Don't check SSL server certificates during download." msgstr "Nie sprawdzaj certyfikatów SSL serwera podczas pobierania." +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:235 +msgid "Download Custom Feeds" +msgstr "" + #: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js:394 msgid "Download Insecure" msgstr "Niezabezpieczone pobieranie" @@ -304,8 +308,8 @@ msgstr "Liczba elementów" msgid "Elements" msgstr "Elementy" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:142 -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:180 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:169 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:207 msgid "Empty field not allowed" msgstr "" @@ -335,7 +339,7 @@ msgid "Expiry time for auto added blocklist set members." msgstr "" "Czas wygaśnięcia automatycznie dodanych członków zestawu listy zablokowanych." -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:137 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:164 msgid "Feed Name" msgstr "" @@ -343,7 +347,7 @@ msgstr "" msgid "Feed Selection" msgstr "Wybór źródeł" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:208 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:253 msgid "Fill Custom Feeds" msgstr "" @@ -351,11 +355,11 @@ msgstr "" msgid "Firewall Log" msgstr "Dziennik zapory" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:185 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:212 msgid "Flag" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:192 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:219 msgid "Flag not supported" msgstr "" @@ -403,11 +407,11 @@ msgstr "" msgid "Information" msgstr "Informacje" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:145 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:172 msgid "Invalid characters" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:73 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:100 msgid "Invalid input values, unable to save modifications." msgstr "" @@ -595,8 +599,8 @@ msgid "Profile used by 'msmtp' for banIP notification E-Mails." msgstr "" "Profil używany przez \"msmtp\" dla wiadomości e-mail z powiadomieniem banIP." -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:156 -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:169 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:183 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:196 msgid "Protocol/URL format not supported" msgstr "" @@ -642,11 +646,11 @@ msgstr "" msgid "Result" msgstr "Wynik" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:161 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:188 msgid "Rulev4" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:174 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:201 msgid "Rulev6" msgstr "" @@ -658,7 +662,7 @@ msgstr "Flagi uruchomieniowe" msgid "Run Information" msgstr "Informacje uruchomieniowe" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:226 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:271 msgid "Save Custom Feeds" msgstr "" @@ -859,11 +863,11 @@ msgstr "Opóźnienie wyzwalacza" msgid "Trigger action on ifup interface events." msgstr "Wyzwalanie akcji przy zdarzeniach interfejsu ifup." -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:150 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:177 msgid "URLv4" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:163 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:190 msgid "URLv6" msgstr "" @@ -872,6 +876,14 @@ msgstr "" msgid "Unable to save modifications: %s" msgstr "Nie można zapisać modyfikacji: %s" +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:244 +msgid "Upload Custom Feeds" +msgstr "" + +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:66 +msgid "Upload of the custom feed file failed." +msgstr "" + #: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js:249 msgid "Verbose Debug Logging" msgstr "Pełne rejestrowanie debugowania" @@ -898,13 +910,14 @@ msgstr "Wejście WAN (pakiety)" msgid "WAN-Input Chain" msgstr "Łańcuch wejścia WAN" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:121 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:148 msgid "" -"With this editor you can fill up an initial custom feed file (a 1:1 copy of " -"the version shipped with the package). The file is located at '/etc/banip/" -"banip.custom.feeds'. Then you can edit this file, delete entries, add new " -"ones, etc. To go back to the maintainers version just empty the custom feed " -"file again (do not delete it!)." +"With this editor you can upload your local custom feed file or fill up an " +"initial one (a 1:1 copy of the version shipped with the package). The file " +"is located at '/etc/banip/banip.custom.feeds'. Then you can edit this file, " +"delete entries, add new ones or make a local backup. To go back to the " +"maintainers version just empty the custom feed file again (do not delete " +"it!)." msgstr "" #: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js:482 -- cgit v1.2.3