diff options
author | Paul Donald <newtwen@gmail.com> | 2023-12-07 01:29:17 +0100 |
---|---|---|
committer | Paul Donald <newtwen@gmail.com> | 2023-12-07 04:29:24 +0100 |
commit | 175a94325017964cc6e7e803c753399362c8b85f (patch) | |
tree | 1e777f20a522ea6a0dbce36c0e43f860d2933911 /modules/luci-mod-network/htdocs/luci-static/resources/view | |
parent | f1db42e67041d7c290fb2221ba5e787aa5e6b8bb (diff) |
luci-mod-network: Rework match_tag helptext for static leases
Evidently, not all translators get it right.
Signed-off-by: Paul Donald <newtwen@gmail.com>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources/view')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index b281ba8f5c..45a2e2573f 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -935,9 +935,10 @@ return view.extend({ so = ss.option(form.DynamicList, 'match_tag', _('Match Tag'), - _('When a host matches an entry then the special tag <em>known</em> is set. Use <em>known</em> to match all known hosts.') + '<br /><br />' + - _('Ignore requests from unknown machines using <em>!known</em>.') + '<br /><br />' + - _('If a host matches an entry which cannot be used because it specifies an address on a different subnet, the tag <em>known-othernet</em> is set.')); + _('When a host matches an entry then the special tag %s is set. Use %s to match all known hosts.').format('<code>known</code>', +'<code>known</code>') + '<br /><br />' + + _('Ignore requests from unknown machines using %s.').format('<code>!known</code>') + '<br /><br />' + + _('If a host matches an entry which cannot be used because it specifies an address on a different subnet, the tag %s is set.').format('<code>known-othernet</code>')); so.value('known', _('known')); so.value('!known', _('!known (not known)')); so.value('known-othernet', _('known-othernet (on different subnet)')); |