From 42e2e404cfd974a257fe697b424b94abaad09170 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Sun, 17 Nov 2024 23:08:28 +0100 Subject: [PATCH] luci-proto-vxlan: fix format in i18n strings follow-up to 9ebffc1ecdb8871dea7d35eb8eb10dde688baf5d Signed-off-by: Paul Donald --- .../htdocs/luci-static/resources/protocol/vxlan.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }; -- 2.30.2