luci-app-tailscale-community: fix i18n compile warn
authorPaul Donald <newtwen+github@gmail.com>
Tue, 3 Feb 2026 07:18:34 +0000 (08:18 +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-tailscale-community/htdocs/luci-static/resources/view/tailscale.js

index 5c5fb82efba342a8498a2eaa48a764834aaf8f08..b7f2d7bdc7e40a990e55ea068286e671d764f499 100644 (file)
@@ -448,7 +448,7 @@ return view.extend({
 
                const customLoginUrl = s.taboption('account', form.Value, 'custom_login_url',
                        _('Custom Login Server'),
-                       _('Optional: Specify a custom control server URL (e.g., a Headscale instance, https://example.com).')
+                       _('Optional: Specify a custom control server URL (e.g., a Headscale instance, %s).'.format('https://example.com'))
                        +'<br>'+_('Leave blank for default Tailscale control plane.')
                );
                customLoginUrl.placeholder = '';