From b5ee911ee518a5dbd7b30fd5be6311552a065efd Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20H=C3=A4rdeman?= Date: Sun, 5 Oct 2025 08:43:58 +0200 Subject: [PATCH] luci-mod-network: consistent language in static cfg MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit I've tried to make this more consistent by using "for" to describe values that are assigned to the host by the DHCP server and "of" to describe values that are provided by the host to the DHCP server. Signed-off-by: David Härdeman --- .../htdocs/luci-static/resources/view/network/dhcp.js | 7 +++---- 1 file changed, 3 insertions(+), 4 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 5d97ff1838..0c804f9bfb 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 @@ -738,7 +738,7 @@ return view.extend({ so = ss.option(form.Value, 'name', _('Hostname'), - _('Optional hostname to assign')); + _('The hostname for this host (optional).')); so.validate = validateHostname; so.rmempty = true; so.write = function(section, value) { @@ -800,8 +800,7 @@ return view.extend({ so.value(mac, hint ? '%s (%s)'.format(mac, hint) : mac); }); - so = ss.option(form.Value, 'ip', _('IPv4 address'), - _('The IP address to be used for this host, or ignore to ignore any DHCP request from this host.')); + so = ss.option(form.Value, 'ip', _('IPv4 address'), _('The IPv4 address for this host, or ignore to ignore DHCP requests from this host.')); so.value('ignore', _('Ignore')); so.datatype = 'or(ip4addr,"ignore")'; so.validate = function(section, value) { @@ -866,7 +865,7 @@ return view.extend({ so = ss.option(form.DynamicList, 'tag', _('Tag'), - _('Assign new, freeform tags to this entry.')); + _('Additional tags for this host.')); so = ss.option(form.DynamicList, 'match_tag', _('Match Tag'), -- 2.30.2