Skip to content

Commit

Permalink
Refine to forward. v5.9.19
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Sep 9, 2023
1 parent e82d287 commit 587ea17
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ui/src/pages/Scenario.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function ScenarioImpl({defaultActiveTab}) {
<Tab eventKey="live" title={t('scenario.live')}>
{activeTab === 'live' && <ScenarioLive {...{updateStreamName, copyToClipboard, urls}} />}
</Tab>
<Tab eventKey="forward" title={t('scenario.restream')}>
<Tab eventKey="forward" title={t('scenario.forward')}>
{activeTab === 'forward' && <ScenarioForward/>}
</Tab>
<Tab eventKey="rgroup" title={t('scenario.rgroup')}>
Expand Down
12 changes: 6 additions & 6 deletions ui/src/pages/ScenarioForward.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ function ScenarioForwardImplEn({defaultActiveKey, defaultSecrets}) {
<Accordion.Header>Introduction</Accordion.Header>
<Accordion.Body>
<div>
Multi-platform streaming, restream to other platforms, such as YouTube, Twitch, TikTok, etc.
Multi-platform streaming, forward to other platforms, such as YouTube, Twitch, TikTok, etc.
<p></p>
</div>
<p>Specific application scenarios include:</p>
Expand Down Expand Up @@ -428,7 +428,7 @@ function ScenarioForwardImplEn({defaultActiveKey, defaultSecrets}) {
updateSecrets(e, 'update', 'wx', wxServer, wxSecret, !wxEnabled, wxCustom, wxLabel);
}}
>
{wxEnabled ? 'Stop Restreaming' : 'Start Restreaming'}
{wxEnabled ? 'Stop Forward' : 'Start Forward'}
</Button> &nbsp;
<Form.Text> * If there are multiple streams, randomly select one.</Form.Text>
</Form>
Expand Down Expand Up @@ -468,7 +468,7 @@ function ScenarioForwardImplEn({defaultActiveKey, defaultSecrets}) {
updateSecrets(e, 'update', 'bilibili', bilibiliServer, bilibiliSecret, !bilibiliEnabled, bilibiliCustom, bilibiliLabel);
}}
>
{bilibiliEnabled ? 'Stop Restreaming' : 'Start Restreaming'}
{bilibiliEnabled ? 'Stop Forward' : 'Start Forward'}
</Button> &nbsp;
<Form.Text> * If there are multiple streams, randomly select one.</Form.Text>
</Form>
Expand Down Expand Up @@ -508,14 +508,14 @@ function ScenarioForwardImplEn({defaultActiveKey, defaultSecrets}) {
updateSecrets(e, 'update', 'kuaishou', kuaishouServer, kuaishouSecret, !kuaishouEnabled, kuaishouCustom, kuaishouLabel);
}}
>
{kuaishouEnabled ? 'Stop Restreaming' : 'Start Restreaming'}
{kuaishouEnabled ? 'Stop Forward' : 'Start Forward'}
</Button> &nbsp;
<Form.Text> * If there are multiple streams, randomly select one.</Form.Text>
</Form>
</Accordion.Body>
</Accordion.Item>
<Accordion.Item eventKey="99">
<Accordion.Header>Restreaming Status</Accordion.Header>
<Accordion.Header>Forward Status</Accordion.Header>
<Accordion.Body>
{
forwards?.length ? (
Expand All @@ -538,7 +538,7 @@ function ScenarioForwardImplEn({defaultActiveKey, defaultSecrets}) {
<td>{file.custom ? (file.label ? '' : 'Custom') : file.name} {file.label}</td>
<td>
<Badge bg={file.enabled ? (file.frame ? 'success' : 'primary') : 'secondary'}>
{file.enabled ? (file.frame ? 'Restreaming' : 'Wating') : 'Inactive'}
{file.enabled ? (file.frame ? 'Forwarding' : 'Waiting') : 'Inactive'}
</Badge>
</td>
<td>{file.update && `${file.update?.format('YYYY-MM-DD HH:mm:ss')}`}</td>
Expand Down
4 changes: 2 additions & 2 deletions ui/src/resources/locale.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"tutorials": "教程",
"live": "私人直播间",
"srt": "超清实时直播",
"restream": "多平台转播",
"forward": "多平台转播",
"transcode": "内容处理",
"rgroup": "录制",
"record": "本地录制",
Expand Down Expand Up @@ -242,7 +242,7 @@
"tutorials": "Tutorials",
"live": "Streaming",
"srt": "Low Latency",
"restream": "Restreaming",
"forward": "Forward",
"transcode": "Transcoding",
"rgroup": "Record",
"record": "Record",
Expand Down

0 comments on commit 587ea17

Please sign in to comment.