diff options
author | Dirk Brenken <dev@brenken.org> | 2023-04-28 11:38:12 +0200 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2023-04-28 11:38:12 +0200 |
commit | d25d5c28b7daddd9cfdf650b15642f1e89b2c2e5 (patch) | |
tree | 63897fe83fa85260e8b3257115bee36eda9581fc /applications/luci-app-banip/po/templates | |
parent | 0944811fbcfa2471946c4fecdac277494000b1a4 (diff) |
luci-app-banip: more feed editor improvements
* add more 'upload' and 'save' safeguards
* save only keys with values in exported JSON structure/file
Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-banip/po/templates')
-rw-r--r-- | applications/luci-app-banip/po/templates/banip.pot | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/applications/luci-app-banip/po/templates/banip.pot b/applications/luci-app-banip/po/templates/banip.pot index c2d19f819b..b267f18977 100644 --- a/applications/luci-app-banip/po/templates/banip.pot +++ b/applications/luci-app-banip/po/templates/banip.pot @@ -171,7 +171,7 @@ msgstr "" 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:276 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:288 msgid "Clear Custom Feeds" msgstr "" @@ -188,7 +188,7 @@ msgstr "" msgid "Countries" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:162 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:174 msgid "Custom Feed Editor" msgstr "" @@ -206,7 +206,7 @@ msgstr "" msgid "Default Block Policy" msgstr "" -#: 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:229 msgid "Description" msgstr "" @@ -224,7 +224,7 @@ msgstr "" msgid "Don't check SSL server certificates during download." msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:249 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:261 msgid "Download Custom Feeds" msgstr "" @@ -284,8 +284,8 @@ msgstr "" msgid "Elements" msgstr "" -#: 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 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:195 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:233 msgid "Empty field not allowed" msgstr "" @@ -313,7 +313,7 @@ msgstr "" msgid "Expiry time for auto added blocklist set members." msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:178 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:190 msgid "Feed Name" msgstr "" @@ -321,7 +321,7 @@ msgstr "" msgid "Feed Selection" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:267 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:279 msgid "Fill Custom Feeds" msgstr "" @@ -329,11 +329,11 @@ msgstr "" msgid "Firewall Log" msgstr "" -#: 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:238 msgid "Flag" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:233 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:245 msgid "Flag not supported" msgstr "" @@ -379,11 +379,11 @@ msgstr "" msgid "Information" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:186 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:198 msgid "Invalid characters" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:114 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:119 msgid "Invalid input values, unable to save modifications." msgstr "" @@ -561,8 +561,8 @@ msgstr "" msgid "Profile used by 'msmtp' for banIP notification E-Mails." msgstr "" -#: 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 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:209 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:222 msgid "Protocol/URL format not supported" msgstr "" @@ -605,11 +605,11 @@ msgstr "" msgid "Result" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:202 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:214 msgid "Rulev4" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:215 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:227 msgid "Rulev6" msgstr "" @@ -621,7 +621,7 @@ msgstr "" msgid "Run Information" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:285 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:297 msgid "Save Custom Feeds" msgstr "" @@ -802,11 +802,11 @@ msgstr "" msgid "Trigger action on ifup interface events." msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:191 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:203 msgid "URLv4" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:204 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:216 msgid "URLv6" msgstr "" @@ -815,12 +815,13 @@ msgstr "" msgid "Unable to save modifications: %s" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:258 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:270 msgid "Upload Custom Feeds" msgstr "" #: 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 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:78 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:85 msgid "Upload of the custom feed file failed." msgstr "" @@ -850,7 +851,7 @@ msgstr "" msgid "WAN-Input Chain" msgstr "" -#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:162 +#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js:174 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 " |