From: Jo-Philipp Wich Date: Thu, 7 Dec 2023 10:39:35 +0000 (+0100) Subject: luci-proto-ipv6: dhcpv6.js: make reqaddress modes translatable X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c2fb90259cb2857db83130ee0c33edce9ba7f08e;p=project%2Fluci.git luci-proto-ipv6: dhcpv6.js: make reqaddress modes translatable Fixes: #6730, #6751 Fixes: 2065ead4e8 ("luci-proto-ipv6: dhcpv6.js fix translation (#6751)") Suggested-by: he ping Signed-off-by: Jo-Philipp Wich --- diff --git a/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js b/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js index 2e75cb8632..6cd7b330b6 100644 --- a/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js +++ b/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js @@ -15,9 +15,9 @@ return network.registerProtocol('dhcpv6', { var o; o = s.taboption('general', form.ListValue, 'reqaddress', _('Request IPv6-address')); - o.value('try'); - o.value('force'); - o.value('none', 'disabled'); + o.value('try', _('try', 'DHCPv6 address request mode')); + o.value('force', _('force', 'DHCPv6 address request mode')); + o.value('none', _('disabled', 'DHCPv6 address request mode')); o.default = 'try'; o = s.taboption('general', form.Value, 'reqprefix', _('Request IPv6-prefix of length'));