Revert "luci-proto-ipv6: dhcpv6.js fix translation (#6751)"
authorJo-Philipp Wich <jo@mein.io>
Thu, 7 Dec 2023 10:34:51 +0000 (11:34 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 Dec 2023 10:34:55 +0000 (11:34 +0100)
This reverts commit 2065ead4e86d2da8868dd88160af5b2fdcf3adde.

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>
modules/luci-base/po/templates/base.pot
protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js

index 89d50c5ac6210498cdd57eb0c2d48f0c37f7d4e2..58ec31bdfea2ba708f54ddb8f2a2f11c08107ae8 100644 (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 ""
index 1ed8bc7f26de057924b5e84a410c510d4ed215e9..2e75cb8632812139c1af14c7710ecb28a6c01910 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, _('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'));