luci-proto-wireguard: fix i18n compile error

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 06:59:25 +01:00
parent eb4c153155
commit b8c049a1ed

View 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) {}