From: Paul Donald Date: Tue, 3 Feb 2026 07:14:34 +0000 (+0100) Subject: luci-app-frpc: fix i18n compile warn X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c26ca6cd5a04d17c3cbf6afbdf4a0f41c218088c;p=project%2Fluci.git luci-app-frpc: fix i18n compile warn Message contains an embedded URL. Better move it out of the translatable string Signed-off-by: Paul Donald --- diff --git a/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js b/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js index a1bf2442cc..443254b18d 100644 --- a/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js +++ b/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js @@ -12,7 +12,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 frp README'), {placeholder: 'ENV_NAME=value'}], + [form.DynamicList, 'env', _('Environment variable'), _('OS environments pass to frp for config file template, see %s.'.format('frp README')), {placeholder: 'ENV_NAME=value'}], [form.DynamicList, 'conf_inc', _('Additional configs'), _('Config files include in temporary config file'), {placeholder: '/etc/frp/frpc.d/frpc_full.ini'}] ];