luci-app-pagekitec: fix i18n compile warn
authorPaul Donald <redacted>
Tue, 3 Feb 2026 07:30:50 +0000 (08:30 +0100)
committerPaul Donald <redacted>
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 <redacted>
applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js

index 84c17852b36ccf4ba0588a10634a33b8f6e2f747..620d7b8a024f5148d0b74b49c18726b68ec43a9e 100644 (file)
@@ -166,8 +166,8 @@ return view.extend({
                        main map
                */
                m = new form.Map('travelmate', 'Travelmate', _('Configuration of the travelmate package to enable travel router functionality. \
-                       For further information <a href="https://github.com/openwrt/packages/blob/master/net/travelmate/files/README.md" target="_blank" rel="noreferrer noopener" >check the online documentation</a>. <br /> \
-                       <b><em>Please note:</em></b> On first start please call the \'Interface Wizard\' once, to make the necessary network- and firewall settings.'));
+                       For further information %s.'.format(`<a href="https://github.com/openwrt/packages/blob/master/net/travelmate/files/README.md" target="_blank" rel="noreferrer noopener" >${_('check the online documentation')}</a>`)) + '<br />' + \
+                       _('<b><em>Please note:</em></b> On first start please call the \'Interface Wizard\' once, to make the necessary network- and firewall settings.'));
 
                /*
                        set text content helper function
git clone https://git.99rst.org/PROJECT