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/zh_Hant/banip.po | |
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/zh_Hant/banip.po')
-rw-r--r-- | applications/luci-app-banip/po/zh_Hant/banip.po | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/applications/luci-app-banip/po/zh_Hant/banip.po b/applications/luci-app-banip/po/zh_Hant/banip.po index 730431f8cd..936c140106 100644 --- a/applications/luci-app-banip/po/zh_Hant/banip.po +++ b/applications/luci-app-banip/po/zh_Hant/banip.po @@ -180,7 +180,7 @@ msgstr "IP 鏈結/集合設定" 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 "" @@ -200,7 +200,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 "" @@ -218,7 +218,7 @@ msgstr "刪除重複 IP" 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 "描述" @@ -236,7 +236,7 @@ msgstr "" msgid "Don't check SSL server certificates during download." msgstr "下載期間不檢查 SSL 伺服器證書。" -#: 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 "" @@ -296,8 +296,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 "" @@ -325,7 +325,7 @@ msgstr "啟用 IPv6 支援。" 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 "" @@ -333,7 +333,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 "" @@ -341,11 +341,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 "" @@ -391,11 +391,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 "" @@ -573,8 +573,8 @@ msgstr "處理日誌" msgid "Profile used by 'msmtp' for banIP notification E-Mails." msgstr "「msmtp」所用的 banIP 電子郵件通知設定。" -#: 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 "" @@ -617,11 +617,11 @@ msgstr "限制來自/對少量安全 IP 的網際網路存取。" 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 "" @@ -633,7 +633,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 "" @@ -818,11 +818,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 "" @@ -831,12 +831,13 @@ msgstr "" msgid "Unable to save modifications: %s" msgstr "無法儲存變更:%s" -#: 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 "" @@ -866,7 +867,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 " |