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

index 9656ea46feafa56d817714ea704a0e97acff6b53..767ebd195871df62d70964e113b695df0a04776d 100644 (file)
@@ -4,9 +4,9 @@
 
 var desc = _(""
        + "<p/>Note: you need a working PageKite account, or at least, your own running front end for this form to work. "
-       + "Visit <a href='https://pagekite.net/home/'>your account</a> to set up a name for your "
-       + "router and get a secret key for the connection."
-       + "<p/><em>Note: this web configurator only supports "
+       + "Visit %s to set up a name for your "
+       + "router and get a secret key for the connection."..format(`<a href='https://pagekite.net/home/'>${_('your account')}</a>`)) + '<br/>'
+       + _("<p/><em>Note: this web configurator only supports "
        + "some very very basic uses of pagekite.</em>"
 );