diff options
author | Dirk Brenken <dev@brenken.org> | 2023-03-30 18:55:27 +0200 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2023-03-30 18:55:27 +0200 |
commit | 0c67d74fd39ca52e58432eeb1f58480fca381915 (patch) | |
tree | 141c83bfa3c66a83a52a7de67bea35314811a1d4 /applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js | |
parent | 736c8f1d06672fcdebc1de9e40a7279b87ef602f (diff) |
luci-app-banip: sync with banIP 0.8.2-5
* made some missing text pieces translatable
* change banip.feeds permission
Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js')
-rw-r--r-- | applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js index d0f9973cad..699d508955 100644 --- a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js +++ b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js @@ -329,7 +329,7 @@ return view.extend({ */ o = s.taboption('advanced', form.DummyValue, '_sub'); o.rawhtml = true; - o.default = '<em><b>Changes on this tab needs a banIP service restart to take effect.</b></em>'; + o.default = '<em><b>' + _('Changes on this tab needs a banIP service restart to take effect.') + '</b></em>'; o = s.taboption('advanced', form.ListValue, 'ban_nicelimit', _('Nice Level'), _('The selected priority will be used for banIP background processing.')); o.value('-20', _('Highest Priority')); @@ -390,7 +390,7 @@ return view.extend({ */ o = s.taboption('adv_chain', form.DummyValue, '_sub'); o.rawhtml = true; - o.default = '<em><b>Changes on this tab needs a banIP service restart to take effect.</b></em>'; + o.default = '<em><b>' + _('Changes on this tab needs a banIP service restart to take effect.') + '</b></em>'; o = s.taboption('adv_chain', form.ListValue, 'ban_nftpolicy', _('Set Policy'), _('Set the nft policy for banIP-related sets.')); o.value('memory', _('memory (default)')); @@ -456,7 +456,7 @@ return view.extend({ */ o = s.taboption('adv_log', form.DummyValue, '_sub'); o.rawhtml = true; - o.default = '<em><b>Changes on this tab needs a banIP service restart to take effect.</b></em>'; + o.default = '<em><b>' + _('Changes on this tab needs a banIP service restart to take effect.') + '</b></em>'; o = s.taboption('adv_log', form.ListValue, 'ban_nftloglevel', _('Log Level'), _('Set the syslog level for NFT logging.')); o.value('emerg', _('emerg')); @@ -494,7 +494,7 @@ return view.extend({ */ o = s.taboption('adv_email', form.DummyValue, '_sub'); o.rawhtml = true; - o.default = '<em><b>To enable email notifications, set up the \'msmtp\' package and specify a vaild E-Mail receiver address.</b></em>'; + o.default = '<em><b>' + _('To enable email notifications, set up the \'msmtp\' package and specify a vaild E-Mail receiver address.') + '</b></em>'; o = s.taboption('adv_email', form.Flag, 'ban_mailnotification', _('E-Mail Notification'), _('Receive E-Mail notifications with every banIP run.')); o.rmempty = true; @@ -521,7 +521,7 @@ return view.extend({ */ o = s.taboption('feeds', form.DummyValue, '_sub'); o.rawhtml = true; - o.default = '<em><b>List of supported and fully pre-configured banIP feeds.</b></em>'; + o.default = '<em><b>' + _('List of supported and fully pre-configured banIP feeds.') + '</b></em>'; if (result[0]) { var focus, feed, feeds; |