luci-app-crowdsec-firewall-bouncer: fix i18n compile warn

Message contains an embedded URL.
Better move it out of the translatable string

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald
2026-02-03 07:48:29 +01:00
parent a1173797e1
commit 63299fe2b6

View File

@@ -8,8 +8,8 @@ return view.extend({
let m, s, o;
m = new form.Map('crowdsec', _('CrowdSec'),
_('Gain <a href="http://www.crowdsec.net">crowd-sourced</a> protection against malicious IPs. ' +
'Benefit from the most accurate CTI in the world.'));
_('Gain %s protection against malicious IPs.'.format('<a href="http://www.crowdsec.net">crowd-sourced</a>')) + '<br/>' +
_('Benefit from the most accurate CTI in the world.'));
s = m.section(form.TypedSection, 'bouncer', _('Bouncer'));