Skip to content

Commit

Permalink
luci-proto-ipv6: dhcpv6.js: make reqaddress modes translatable
Browse files Browse the repository at this point in the history
Fixes: #6730, #6751
Fixes: 2065ead ("luci-proto-ipv6: dhcpv6.js fix translation (#6751)")
Suggested-by: he ping <pinghejk@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
  • Loading branch information
jow- committed Dec 7, 2023
1 parent 8065a67 commit c2fb902
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit c2fb902

Please sign in to comment.