Skip to content

Commit 828abc3

Browse files
committed
fix(luci): fix r2h-token description text
1 parent d7bf885 commit 828abc3

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

openwrt-support/luci-app-rtp2httpd/htdocs/luci-static/resources/view/rtp2httpd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ return view.extend({
501501
"r2h_token",
502502
_("R2H Token"),
503503
_(
504-
"If set, all HTTP requests must include r2h-token query parameter with matching value (e.g., http://<server:port>/rtp/<ip:port>?fcc=<ip:port>&r2h-token=<your-token>)"
504+
"If set, all HTTP requests must include r2h-token query parameter with matching value (e.g., http://server:port/rtp/ip:port?fcc=ip:port&r2h-token=your-token)"
505505
)
506506
);
507507
o.depends("use_config_file", "0");

openwrt-support/luci-app-rtp2httpd/po/templates/rtp2httpd.pot

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
msgid ""
22
msgstr "Content-Type: text/plain; charset=UTF-8"
33

4-
#: htdocs/luci-static/resources/view/rtp2httpd.js:552
4+
#: htdocs/luci-static/resources/view/rtp2httpd.js:551
55
msgid ""
66
"Additional FFmpeg arguments for snapshot generation. Common options: -"
77
"hwaccel none, -hwaccel auto, -hwaccel vaapi (for Intel GPU)"
@@ -41,7 +41,7 @@ msgstr ""
4141
msgid "Edit the content of /etc/rtp2httpd.conf"
4242
msgstr ""
4343

44-
#: htdocs/luci-static/resources/view/rtp2httpd.js:528
44+
#: htdocs/luci-static/resources/view/rtp2httpd.js:527
4545
msgid ""
4646
"Enable video snapshot feature. When enabled, clients can request snapshots "
4747
"with snapshot=1 query parameter"
@@ -77,11 +77,11 @@ msgstr ""
7777
msgid "FCC Listen Port Range"
7878
msgstr ""
7979

80-
#: htdocs/luci-static/resources/view/rtp2httpd.js:550
80+
#: htdocs/luci-static/resources/view/rtp2httpd.js:549
8181
msgid "FFmpeg Arguments"
8282
msgstr ""
8383

84-
#: htdocs/luci-static/resources/view/rtp2httpd.js:538
84+
#: htdocs/luci-static/resources/view/rtp2httpd.js:537
8585
msgid "FFmpeg Path"
8686
msgstr ""
8787

@@ -102,8 +102,8 @@ msgstr ""
102102
#: htdocs/luci-static/resources/view/rtp2httpd.js:504
103103
msgid ""
104104
"If set, all HTTP requests must include r2h-token query parameter with "
105-
"matching value (e.g., http://<server:port>/rtp/<ip:port>?fcc=<ip:port>&r2h-"
106-
"token=<your-token>)"
105+
"matching value (e.g., http://server:port/rtp/ip:port?fcc=ip:port&r2h-"
106+
"token=your-token)"
107107
msgstr ""
108108

109109
#: htdocs/luci-static/resources/view/rtp2httpd.js:297
@@ -175,7 +175,7 @@ msgstr ""
175175
msgid "Open Status Dashboard"
176176
msgstr ""
177177

178-
#: htdocs/luci-static/resources/view/rtp2httpd.js:540
178+
#: htdocs/luci-static/resources/view/rtp2httpd.js:539
179179
msgid ""
180180
"Path to FFmpeg executable. Leave empty to use system PATH (default: ffmpeg)"
181181
msgstr ""
@@ -256,7 +256,7 @@ msgstr ""
256256
msgid "Use config file instead of individual options"
257257
msgstr ""
258258

259-
#: htdocs/luci-static/resources/view/rtp2httpd.js:526
259+
#: htdocs/luci-static/resources/view/rtp2httpd.js:525
260260
msgid "Video Snapshot"
261261
msgstr ""
262262

@@ -269,7 +269,7 @@ msgid ""
269269
"com/rtp2httpd, and ensure the reverse proxy forwards the Host header."
270270
msgstr ""
271271

272-
#: htdocs/luci-static/resources/view/rtp2httpd.js:516
272+
#: htdocs/luci-static/resources/view/rtp2httpd.js:515
273273
msgid ""
274274
"When enabled, uses HTTP X-Forwarded-For header as client address for status "
275275
"page display. Only enable when running behind a reverse proxy."
@@ -279,7 +279,7 @@ msgstr ""
279279
msgid "Workers"
280280
msgstr ""
281281

282-
#: htdocs/luci-static/resources/view/rtp2httpd.js:514
282+
#: htdocs/luci-static/resources/view/rtp2httpd.js:513
283283
msgid "X-Forwarded-For"
284284
msgstr ""
285285

openwrt-support/luci-app-rtp2httpd/po/zh_Hans/rtp2httpd.po

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"MIME-Version: 1.0\n"
99
"Content-Transfer-Encoding: 8bit\n"
1010

11-
#: htdocs/luci-static/resources/view/rtp2httpd.js:552
11+
#: htdocs/luci-static/resources/view/rtp2httpd.js:551
1212
msgid ""
1313
"Additional FFmpeg arguments for snapshot generation. Common options: -"
1414
"hwaccel none, -hwaccel auto, -hwaccel vaapi (for Intel GPU)"
@@ -50,7 +50,7 @@ msgstr "所有上游流量(组播、FCC 和 RTSP)使用的默认接口。留
5050
msgid "Edit the content of /etc/rtp2httpd.conf"
5151
msgstr "编辑 /etc/rtp2httpd.conf 的内容"
5252

53-
#: htdocs/luci-static/resources/view/rtp2httpd.js:528
53+
#: htdocs/luci-static/resources/view/rtp2httpd.js:527
5454
msgid ""
5555
"Enable video snapshot feature. When enabled, clients can request snapshots "
5656
"with snapshot=1 query parameter"
@@ -91,11 +91,11 @@ msgstr ""
9191
msgid "FCC Listen Port Range"
9292
msgstr "FCC 监听端口范围"
9393

94-
#: htdocs/luci-static/resources/view/rtp2httpd.js:550
94+
#: htdocs/luci-static/resources/view/rtp2httpd.js:549
9595
msgid "FFmpeg Arguments"
9696
msgstr "FFmpeg 参数"
9797

98-
#: htdocs/luci-static/resources/view/rtp2httpd.js:538
98+
#: htdocs/luci-static/resources/view/rtp2httpd.js:537
9999
msgid "FFmpeg Path"
100100
msgstr "FFmpeg 路径"
101101

@@ -118,11 +118,11 @@ msgstr "主机名/域名"
118118
#: htdocs/luci-static/resources/view/rtp2httpd.js:504
119119
msgid ""
120120
"If set, all HTTP requests must include r2h-token query parameter with "
121-
"matching value (e.g., http://<server:port>/rtp/<ip:port>?fcc=<ip:port>&r2h-"
122-
"token=<your-token>)"
121+
"matching value (e.g., http://server:port/rtp/ip:port?fcc=ip:port&r2h-"
122+
"token=your-token)"
123123
msgstr ""
124124
"设置后,所有 HTTP 请求必须携带 r2h-token 查询参数,且值与此配置匹配(例如:"
125-
"http://<server:port>/rtp/<ip:port>?fcc=<ip:port>&r2h-token=<your-token>)"
125+
"http://server:port/rtp/ip:port?fcc=ip:port&r2h-token=your-token)"
126126

127127
#: htdocs/luci-static/resources/view/rtp2httpd.js:297
128128
msgid ""
@@ -198,7 +198,7 @@ msgstr "打开播放器页面"
198198
msgid "Open Status Dashboard"
199199
msgstr "打开状态面板"
200200

201-
#: htdocs/luci-static/resources/view/rtp2httpd.js:540
201+
#: htdocs/luci-static/resources/view/rtp2httpd.js:539
202202
msgid ""
203203
"Path to FFmpeg executable. Leave empty to use system PATH (default: ffmpeg)"
204204
msgstr "FFmpeg 可执行文件的路径。留空则使用系统 PATH(默认:ffmpeg)"
@@ -282,7 +282,7 @@ msgstr "使用配置文件"
282282
msgid "Use config file instead of individual options"
283283
msgstr "使用配置文件而不是单独的选项"
284284

285-
#: htdocs/luci-static/resources/view/rtp2httpd.js:526
285+
#: htdocs/luci-static/resources/view/rtp2httpd.js:525
286286
msgid "Video Snapshot"
287287
msgstr "视频快照"
288288

@@ -299,7 +299,7 @@ msgstr ""
299299
"问地址(包括 http(s):// 和路径前缀),例如 https://my-domain.com/rtp2httpd,"
300300
"并且需要反向代理透传 Host 头。"
301301

302-
#: htdocs/luci-static/resources/view/rtp2httpd.js:516
302+
#: htdocs/luci-static/resources/view/rtp2httpd.js:515
303303
msgid ""
304304
"When enabled, uses HTTP X-Forwarded-For header as client address for status "
305305
"page display. Only enable when running behind a reverse proxy."
@@ -311,7 +311,7 @@ msgstr ""
311311
msgid "Workers"
312312
msgstr "工作进程数"
313313

314-
#: htdocs/luci-static/resources/view/rtp2httpd.js:514
314+
#: htdocs/luci-static/resources/view/rtp2httpd.js:513
315315
msgid "X-Forwarded-For"
316316
msgstr "X-Forwarded-For"
317317

0 commit comments

Comments
 (0)