Fix wording

This commit is contained in:
Ingo Oppermann 2022-07-20 16:26:08 +02:00
parent b3722ec5cb
commit 2bf30ca450
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E
2 changed files with 34 additions and 10 deletions

View File

@ -15,7 +15,7 @@ const description = (
<Trans>
Transmit your Livestream to an Owncast server.{' '}
<Link color="secondary" target="_blank" href="https://owncast.online/quickstart/startstreaming/">
Here {' '}
Here{' '}
</Link>
you can find more details about the settings.
</Trans>
@ -93,10 +93,24 @@ function Service(props) {
/>
</Grid>
<Grid item xs={12} md={9}>
<TextField variant="outlined" fullWidth placeholder="yourserver/live" label={<Trans>Server URL</Trans>} value={settings.server_url} onChange={handleChange('server_url')} />
<TextField
variant="outlined"
fullWidth
placeholder="yourserver/live"
label={<Trans>Server URL</Trans>}
value={settings.server_url}
onChange={handleChange('server_url')}
/>
</Grid>
<Grid item xs={12}>
<TextField variant="outlined" fullWidth placeholder="abc123" label={<Trans>Stream Key</Trans>} value={settings.stream_key} onChange={handleChange('stream_key')} />
<TextField
variant="outlined"
fullWidth
placeholder="abc123"
label={<Trans>Stream key</Trans>}
value={settings.stream_key}
onChange={handleChange('stream_key')}
/>
</Grid>
</Grid>
);

View File

@ -10,11 +10,7 @@ const id = 'telegram';
const name = 'Telegram';
const version = '1.0';
const stream_key_link = '';
const description = (
<Trans>
Transmit a Livestream to a Telegram Channel.
</Trans>
);
const description = <Trans>Transmit a Livestream to a Telegram Channel.</Trans>;
const image_copyright = <Trans>Please get in touch with the operator of the service and check what happens.</Trans>;
const author = {
creator: {
@ -88,10 +84,24 @@ function Service(props) {
/>
</Grid>
<Grid item xs={12} md={9}>
<TextField variant="outlined" fullWidth placeholder="dc4-1.rtmp.t.me/s/" label={<Trans>Server URL</Trans>} value={settings.stream_url} onChange={handleChange('stream_url')} />
<TextField
variant="outlined"
fullWidth
placeholder="dc4-1.rtmp.t.me/s/"
label={<Trans>Server URL</Trans>}
value={settings.stream_url}
onChange={handleChange('stream_url')}
/>
</Grid>
<Grid item xs={12}>
<TextField variant="outlined" fullWidth placeholder="123456:ABCDEF" label={<Trans>Stream Key</Trans>} value={settings.stream_key} onChange={handleChange('stream_key')} />
<TextField
variant="outlined"
fullWidth
placeholder="123456:ABCDEF"
label={<Trans>Stream key</Trans>}
value={settings.stream_key}
onChange={handleChange('stream_key')}
/>
</Grid>
</Grid>
);