luci-app-adblock: fix i18n compile warn
authorPaul Donald <newtwen+github@gmail.com>
Tue, 3 Feb 2026 07:11:20 +0000 (08:11 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Tue, 3 Feb 2026 07:49:05 +0000 (08:49 +0100)
Message contains an embedded URL.
Better move it out of the translatable string

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js

index badee722beff463575ec22329973cb0683714607..8283b1fc97d96bcdcbb04522b11c513d6083befb 100644 (file)
@@ -51,7 +51,7 @@ return view.extend({
                let m, s, o;
 
                m = new form.Map('adblock', 'Adblock', _('Configuration of the adblock package to block ad/abuse domains by using DNS. \
-                       For further information <a href="https://github.com/openwrt/packages/blob/master/net/adblock/files/README.md" target="_blank" rel="noreferrer noopener" >check the online documentation</a>'));
+                       For further information %s'.format(`<a href="https://github.com/openwrt/packages/blob/master/net/adblock/files/README.md" target="_blank" rel="noreferrer noopener" >${_('check the online documentation')}</a>`)));
 
                /*
                        set text content helper function