summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-12-07 11:39:35 +0100
committerJo-Philipp Wich <jo@mein.io>2023-12-07 11:41:22 +0100
commitc2fb90259cb2857db83130ee0c33edce9ba7f08e (patch)
tree0e9eb68ecefc5223ab7dc79936b9c5f5580da301
parent8065a674101fab1bae4ca0ad5a4730f6803e56b7 (diff)
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 <pinghejk@gmail.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js6
1 files changed, 3 insertions, 3 deletions
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'));