luci-app-frps: fix i18n compile warn
authorPaul Donald <redacted>
Tue, 3 Feb 2026 07:14:21 +0000 (08:14 +0100)
committerPaul Donald <redacted>
Tue, 3 Feb 2026 07:49:04 +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-frps/htdocs/luci-static/resources/view/frps.js

index 9367b04550efcb8cab4aa7304f0055039bed0ffe..8b859725525ab805b41c1c8115bd5bd84c462cb5 100644 (file)
@@ -11,7 +11,7 @@ var startupConf = [
        [widgets.UserSelect, 'user', _('Run daemon as user')],
        [widgets.GroupSelect, 'group', _('Run daemon as group')],
        [form.Flag, 'respawn', _('Respawn when crashed')],
-       [form.DynamicList, 'env', _('Environment variable'), _('OS environments pass to frp for config file template, see <a href="https://github.com/fatedier/frp#configuration-file-template">frp README</a>'), {placeholder: 'ENV_NAME=value'}],
+       [form.DynamicList, 'env', _('Environment variable'), _('OS environments pass to frp for config file template, see %s'.format(`<a href="https://github.com/fatedier/frp#configuration-file-template">frp README</a>`)), {placeholder: 'ENV_NAME=value'}],
        [form.DynamicList, 'conf_inc', _('Additional configs'), _('Config files include in temporary config file'), {placeholder: '/etc/frp/frps.d/frps_full.ini'}]
 ];
 
git clone https://git.99rst.org/PROJECT