From: Jo-Philipp Wich Date: Thu, 7 Dec 2023 10:34:51 +0000 (+0100) Subject: Revert "luci-proto-ipv6: dhcpv6.js fix translation (#6751)" X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=8065a674101fab1bae4ca0ad5a4730f6803e56b7;p=project%2Fluci.git Revert "luci-proto-ipv6: dhcpv6.js fix translation (#6751)" 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 --- diff --git a/modules/luci-base/po/templates/base.pot b/modules/luci-base/po/templates/base.pot index 89d50c5ac6..58ec31bdfe 100644 --- a/modules/luci-base/po/templates/base.pot +++ b/modules/luci-base/po/templates/base.pot @@ -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 "" 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 1ed8bc7f26..2e75cb8632 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, _('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'));