summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-11-17 23:08:28 +0100
committerPaul Donald <newtwen+github@gmail.com>2024-11-17 23:08:28 +0100
commit42e2e404cfd974a257fe697b424b94abaad09170 (patch)
tree975e19faae1f71b1f0a84735db11e18da1e523c4 /protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js
parentea8b7aa5ee2e9c07ea85918a3a35e37d4b170cd7 (diff)
luci-proto-vxlan: fix format in i18n strings
follow-up to 9ebffc1ecdb8871dea7d35eb8eb10dde688baf5d Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Diffstat (limited to 'protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js')
-rw-r--r--protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js6
1 files 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('<abbr title="%s">%s</abbr>'.format(_('Forwarding DataBase'), _('FDB')))));
+ _('Automatic mac learning using multicast; inserts unknown source link layer addresses and IP addresses into the VXLAN device %s')
+ .format('<abbr title="%s">%s</abbr>'.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;
};