Revert "luci-proto-ipv6: dhcpv6.js fix translation (#6751)"

This reverts commit 2065ead4e8.

The commit contains syntax errors despite two reviews and was apparently
not runtime tested at all.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2023-12-07 11:34:51 +01:00
parent 2065ead4e8
commit 8065a67410
2 changed files with 3 additions and 12 deletions

View file

@ -7502,14 +7502,6 @@ 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 ""
@ -10690,7 +10682,6 @@ 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 ""

View file

@ -15,9 +15,9 @@ return network.registerProtocol('dhcpv6', {
var o;
o = s.taboption('general', form.ListValue, 'reqaddress', _('Request IPv6-address'));
o.value('try, _('try'));
o.value('force, _('force'));
o.value('none', _('disabled'));
o.value('try');
o.value('force');
o.value('none', 'disabled');
o.default = 'try';
o = s.taboption('general', form.Value, 'reqprefix', _('Request IPv6-prefix of length'));