luci-proto-ipv6: dhcpv6.js: make reqaddress modes translatable
authorJo-Philipp Wich <jo@mein.io>
Thu, 7 Dec 2023 10:39:35 +0000 (11:39 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 Dec 2023 10:41:22 +0000 (11:41 +0100)
Fixes: #6730, #6751
Fixes: 2065ead4e8 ("luci-proto-ipv6: dhcpv6.js fix translation (#6751)")
Suggested-by: he ping <pinghejk@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js

index 2e75cb8632812139c1af14c7710ecb28a6c01910..6cd7b330b67171e4d27fb1ccbb330dc1edbf3e24 100644 (file)
@@ -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'));