summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-udpxy/htdocs/luci-static
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-05-31 00:26:39 +0200
committerPaul Donald <newtwen+github@gmail.com>2024-05-31 00:37:32 +0200
commitb93ee9df0523c5922e8112a8aed67fbeb1dfa1e2 (patch)
treecb9ba9fd36623de2683e3ddbd0774a0ea1047fad /applications/luci-app-udpxy/htdocs/luci-static
parentb4fc61a0c5dc6d613ffd659114fa073b31b02230 (diff)
luci-app-udpxy: disambiguate strings
Note: udpxy can run multiple instances, this GUI can configure them but procd currently does not. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Diffstat (limited to 'applications/luci-app-udpxy/htdocs/luci-static')
-rw-r--r--applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js35
1 files changed, 22 insertions, 13 deletions
diff --git a/applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js b/applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js
index 9944f9ecdf..93aa9c2c88 100644
--- a/applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js
+++ b/applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js
@@ -7,7 +7,7 @@ return view.extend({
var m, s, o;
m = new form.Map('udpxy', _('udpxy'),
- _('udpxy is a UDP-to-HTTP multicast traffic relay daemon, here you can configure the settings.'));
+ _('udpxy is an IPTV stream relay, a UDP-to-HTTP multicast traffic relay daemon which forwards multicast UDP streams to HTTP clients.'));
s = m.section(form.TypedSection, 'udpxy');
s.anonymous = true;
@@ -22,39 +22,48 @@ return view.extend({
o = s.option(form.Flag, 'respawn', _('Respawn'));
o.default = o.disabled;
- o = s.option(form.Flag, 'verbose', _('Verbose'));
+ o = s.option(form.Flag, 'verbose', _('Verbose logging'));
o.default = o.disabled;
- o = s.option(form.Flag, 'status', _('Status'));
+ o = s.option(form.Flag, 'status', _('Client statistics'));
- o = s.option(form.Value, 'bind', _('Bind IP/Interface'));
+ o = s.option(form.Value, 'bind', _('HTTP Listen interface'));
o.datatype = 'or(ipaddr, network)';
+ o.placeholder = '0.0.0.0 || lan1';
- o = s.option(form.Value, 'port', _('Port'));
+ o = s.option(form.Value, 'port', _('Port'), _('Default') + ' : ' + '%s'.format('4022'));
o.datatype = 'port';
+ o.placeholder = '4022';
- o = s.option(form.Value, 'source', _('Source IP/Interface'));
+ o = s.option(form.Value, 'source', _('Multicast subscribe source interface'), _('Default') + ' : ' + '%s'.format('0.0.0.0'));
o.datatype = 'or(ipaddr, network)';
+ o.placeholder = '0.0.0.0 || br-lan';
- o = s.option(form.Value, 'max_clients', _('Max clients'));
+
+ o = s.option(form.Value, 'max_clients', _('Client amount upper limit'));
o.datatype = 'range(1, 5000)';
- o = s.option(form.Value, 'log_file', _('Log file'));
+ o = s.option(form.Value, 'log_file', _('Log file'), _('Default') + ' : <code>/var/log/udpxy</code>');
+ o.placeholder = '/var/log/udpxy';
- o = s.option(form.Value, 'buffer_size', _('Buffer size'));
- o.datatype = 'range(4096, 2097152)';
+ o = s.option(form.Value, 'buffer_size', _('Ingress buffer size'), _('Unit: bytes, Kb, Mb; Max 2097152 bytes'));
+ o.placeholder = '4Kb';
- o = s.option(form.Value, 'buffer_messages', _('Buffer messages'));
+ o = s.option(form.Value, 'buffer_messages', _('Buffer message amount'), _('-1 is all.'));
o.datatype = 'or(-1, and(min(1),uinteger))';
+ o.placeholder = '1';
- o = s.option(form.Value, 'buffer_time', _('Buffer time'));
+ o = s.option(form.Value, 'buffer_time', _('Buffer time limit'), _('-1 is unlimited.'));
o.datatype = 'or(-1, and(min(1),uinteger))';
+ o.placeholder = '1';
o = s.option(form.Value, 'nice_increment', _('Nice increment'));
o.datatype = 'or(and(max(-1),uinteger), and(min(1),uinteger))';
+ o.placeholder = '0';
- o = s.option(form.Value, 'mcsub_renew', _('Multicast subscription renew'));
+ o = s.option(form.Value, 'mcsub_renew', _('Renew multicast subscription periodicity'), _('Unit: seconds; 0 is skip.'));
o.datatype = 'or(0, range(30, 64000))';
+ o.placeholder = '0';
return m.render();
}