mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
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:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user