luci-proto-wireguard: fix i18n compile error
authorPaul Donald <newtwen+github@gmail.com>
Tue, 3 Feb 2026 05:59:25 +0000 (06:59 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Tue, 3 Feb 2026 05:59:25 +0000 (06:59 +0100)
Message contains an embedded URL.
Better move it out of the translatable string

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js

index fd516d7c754f2fdbc92e0a275d68323944c4b60f..ce25a4f57e2f644430092fae84687711fa42f030 100644 (file)
@@ -199,7 +199,7 @@ return network.registerProtocol('wireguard', {
                // -- peers -----------------------------------------------------------------------
 
                try {
-                       s.tab('peers', _('Peers'), _('Further information about WireGuard interfaces and peers at <a href=\'http://wireguard.com\'>wireguard.com</a>.'));
+                       s.tab('peers', _('Peers'), _('Further information about WireGuard interfaces and peers at %s.'.format('<a href=\'http://wireguard.com\'>wireguard.com</a>')));
                }
                catch(e) {}