From: Paul Donald Date: Tue, 3 Feb 2026 07:01:32 +0000 (+0100) Subject: luci-app-ttyd: fix i18n compile warn X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=39af7aabc914291d60902d194f4a5b678360e70b;p=openwrt-luci.git luci-app-ttyd: 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-ttyd/htdocs/luci-static/resources/view/ttyd/config.js b/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js index 114b33b3c6..c9d1a1d8af 100644 --- a/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js +++ b/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js @@ -46,7 +46,7 @@ return view.extend({ o = s.option(form.Value, 'signal', _('Signal'), _('Signal to send to the command when exit it (default: 1, SIGHUP)')); o.datatype = 'uinteger'; - s.option(form.Flag, 'url_arg', _('Allow URL args'), _('Allow client to send command line arguments in URL (eg: http://localhost:7681?arg=foo&arg=bar)')); + s.option(form.Flag, 'url_arg', _('Allow URL args'), _('Allow client to send command line arguments in URL (eg: %s)'.format('http://localhost:7681?arg=foo&arg=bar'))); s.option(form.Flag, 'readonly', _('Read-only'), _('Do not allow clients to write to the TTY'));