Skip to content

Commit

Permalink
luci-proto-ipv6: dhcpv6.js fix translation (#6751)
Browse files Browse the repository at this point in the history
Signed-off-by: he ping <pinghejk@gmail.com>
  • Loading branch information
try496 authored Dec 7, 2023
1 parent e05ee93 commit 2065ead
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions modules/luci-base/po/templates/base.pot
Original file line number Diff line number Diff line change
Expand Up @@ -7502,6 +7502,14 @@ msgstr ""
msgid "Request IPv6-address"
msgstr ""

#: protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js:18
msgid "try"
msgstr ""

#: protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js:19
msgid "force"
msgstr ""

#: protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js:23
msgid "Request IPv6-prefix of length"
msgstr ""
Expand Down Expand Up @@ -10682,6 +10690,7 @@ msgstr ""
#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:967
#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1044
#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:91
#: protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js:20
#: protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js:25
msgid "disabled"
msgstr ""
Expand Down
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'));
o.value('force, _('force'));
o.value('none', _('disabled'));
o.default = 'try';

o = s.taboption('general', form.Value, 'reqprefix', _('Request IPv6-prefix of length'));
Expand Down

0 comments on commit 2065ead

Please sign in to comment.