From 7ce43d20cb51ff0e002e5fda4267c876bd4a44ce Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Thu, 27 Apr 2023 13:35:54 +0200 Subject: luci-app-banip: more feed editor improvements * add upload safeguards * beautify JSON output * small translation fix Signed-off-by: Dirk Brenken --- applications/luci-app-banip/po/de/banip.po | 47 +++++++++++++++++------------- 1 file changed, 26 insertions(+), 21 deletions(-) (limited to 'applications/luci-app-banip/po/de') diff --git a/applications/luci-app-banip/po/de/banip.po b/applications/luci-app-banip/po/de/banip.po index bfd6db972f..d13984dcc4 100644 --- a/applications/luci-app-banip/po/de/banip.po +++ b/applications/luci-app-banip/po/de/banip.po @@ -182,7 +182,7 @@ msgstr "Ketten-/Set-Einstellungen" msgid "Changes on this tab needs a banIP service restart to take effect." msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:262 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:276 msgid "Clear Custom Feeds" msgstr "" @@ -204,6 +204,10 @@ msgstr "" msgid "Countries" msgstr "Länder" +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:162 +msgid "Custom Feed Editor" +msgstr "" + #: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js:321 msgid "" "Deduplicate IP addresses across all active sets and and tidy up the local " @@ -220,7 +224,7 @@ msgstr "IPs deduplizieren" msgid "Default Block Policy" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:203 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:217 msgid "Description" msgstr "Beschreibung" @@ -240,7 +244,7 @@ msgstr "" msgid "Don't check SSL server certificates during download." msgstr "Während des Downloads keine SSL-Serverzertifikate überprüfen." -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:235 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:249 msgid "Download Custom Feeds" msgstr "" @@ -300,8 +304,8 @@ msgstr "Anzahl der Elemente" msgid "Elements" msgstr "Elemente" -#: 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 +#: 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:221 msgid "Empty field not allowed" msgstr "" @@ -329,7 +333,7 @@ msgstr "Aktiviert die IPv6-Unterstützung." msgid "Expiry time for auto added blocklist set members." msgstr "Verfallszeit für automatisch hinzugefügte Mitglieder der Sperrliste." -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:164 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:178 msgid "Feed Name" msgstr "" @@ -337,7 +341,7 @@ msgstr "" msgid "Feed Selection" msgstr "Feed-Auswahl" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:253 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:267 msgid "Fill Custom Feeds" msgstr "" @@ -345,11 +349,11 @@ msgstr "" msgid "Firewall Log" msgstr "Firewall-Protokoll" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:212 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:226 msgid "Flag" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:219 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:233 msgid "Flag not supported" msgstr "" @@ -397,11 +401,11 @@ msgstr "" msgid "Information" msgstr "Informationen" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:172 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:186 msgid "Invalid characters" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:100 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:114 msgid "Invalid input values, unable to save modifications." msgstr "" @@ -587,8 +591,8 @@ msgstr "Verarbeitungsprotokoll" msgid "Profile used by 'msmtp' for banIP notification E-Mails." msgstr "Von 'msmtp' verwendetes Profil für banIP-Benachrichtigungs-E-Mails." -#: 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 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:197 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:210 msgid "Protocol/URL format not supported" msgstr "" @@ -634,11 +638,11 @@ msgstr "" msgid "Result" msgstr "Ergebnis" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:188 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:202 msgid "Rulev4" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:201 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:215 msgid "Rulev6" msgstr "" @@ -650,7 +654,7 @@ msgstr "Laufzeit-Flags" msgid "Run Information" msgstr "Informationen zur Ausführung" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:271 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:285 msgid "Save Custom Feeds" msgstr "" @@ -855,11 +859,11 @@ msgstr "Verzögerung der Trigger-Bedingung" msgid "Trigger action on ifup interface events." msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:177 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:191 msgid "URLv4" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:190 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:204 msgid "URLv6" msgstr "" @@ -868,11 +872,12 @@ msgstr "" msgid "Unable to save modifications: %s" msgstr "Änderungen können nicht gespeichert werden: %s" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:244 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:258 msgid "Upload Custom Feeds" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:66 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:72 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:80 msgid "Upload of the custom feed file failed." msgstr "" @@ -902,7 +907,7 @@ msgstr "WAN-Input (Pakete)" msgid "WAN-Input Chain" msgstr "WAN-Input-Kette" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:148 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:162 msgid "" "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 " -- cgit v1.2.3