From: Paul Donald Date: Sun, 17 Nov 2024 22:08:28 +0000 (+0100) Subject: luci-proto-vxlan: fix format in i18n strings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=42e2e404cfd974a257fe697b424b94abaad09170;p=project%2Fluci.git luci-proto-vxlan: fix format in i18n strings follow-up to 9ebffc1ecdb8871dea7d35eb8eb10dde688baf5d Signed-off-by: Paul Donald --- diff --git a/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js b/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js index 358f1da2cb..d5f0ac9c12 100644 --- a/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js +++ b/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js @@ -94,8 +94,8 @@ return network.registerProtocol('vxlan', { o.datatype = 'min(1)'; o = s.taboption('general', form.Flag, 'learning', _('Learning'), - _('Automatic mac learning using multicast; inserts unknown source link layer addresses and IP addresses into the VXLAN device %s' - .format('%s'.format(_('Forwarding DataBase'), _('FDB'))))); + _('Automatic mac learning using multicast; inserts unknown source link layer addresses and IP addresses into the VXLAN device %s') + .format('%s'.format(_('Forwarding DataBase'), _('FDB')))); o.optional = true; o.default = '1'; o.rmempty = false; @@ -238,7 +238,7 @@ return network.registerProtocol('vxlan', { let isMulticastIP = ipv4MulticastRegex.test(dst) || ipv6MulticastRegex.test(dst); if (!value && isMulticastIP) { - return _('Via shall be specified when %s is a multicast address'.format(_('Peer IP'))); + return _('Via shall be specified when %s is a multicast address').format(_('Peer IP')); } return true; };