Fix typo
This commit is contained in:
parent
c43ff33483
commit
03e46572a3
@ -11,7 +11,7 @@
|
|||||||
### SECURITY
|
### SECURITY
|
||||||
|
|
||||||
* If you installed PeerTube using the [official documentation](https://docs.joinpeertube.org/install/any-os#installation), we highly recommend setting the default user shell to `nologin`. For example on GNU/Linux: `chsh -s /usr/sbin/nologin peertube`
|
* If you installed PeerTube using the [official documentation](https://docs.joinpeertube.org/install/any-os#installation), we highly recommend setting the default user shell to `nologin`. For example on GNU/Linux: `chsh -s /usr/sbin/nologin peertube`
|
||||||
* If you installed PeerTube runners using the [official Systemd service documentation]https://docs.joinpeertube.org/maintain/tools#as-a-systemd-service(), we highly recommend setting the default user shell to `nologin`. For example on GNU/Linux: `chsh -s /usr/sbin/nologin prunner`
|
* If you installed PeerTube runners using the [official Systemd service documentation](https://docs.joinpeertube.org/maintain/tools#as-a-systemd-service), we highly recommend setting the default user shell to `nologin`. For example on GNU/Linux: `chsh -s /usr/sbin/nologin prunner`
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ export function getReplaceFileUnavailability (options: {
|
|||||||
|
|
||||||
if (!canVideoFileBeEdited(state)) {
|
if (!canVideoFileBeEdited(state)) {
|
||||||
if (isLive) return $localize`File replacement is not available on a live.`
|
if (isLive) return $localize`File replacement is not available on a live.`
|
||||||
if (state === VideoState.TO_TRANSCODE) return $localize`File replacement is not available while the video is being transcoding.`
|
if (state === VideoState.TO_TRANSCODE) return $localize`File replacement is not available while the video is being transcoded.`
|
||||||
if (state === VideoState.TO_EDIT) return $localize`File replacement is not available while the video is being edited.`
|
if (state === VideoState.TO_EDIT) return $localize`File replacement is not available while the video is being edited.`
|
||||||
if (state === VideoState.TO_IMPORT) return $localize`File replacement is not available while the video is being imported.`
|
if (state === VideoState.TO_IMPORT) return $localize`File replacement is not available while the video is being imported.`
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ export function getStudioUnavailability (options: {
|
|||||||
|
|
||||||
if (!canVideoFileBeEdited(state)) {
|
if (!canVideoFileBeEdited(state)) {
|
||||||
if (isLive) return $localize`Studio is not available on a live.`
|
if (isLive) return $localize`Studio is not available on a live.`
|
||||||
if (state === VideoState.TO_TRANSCODE) return $localize`Studio is not available while the video is being transcoding.`
|
if (state === VideoState.TO_TRANSCODE) return $localize`Studio is not available while the video is being transcoded.`
|
||||||
if (state === VideoState.TO_EDIT) return $localize`Studio is not available while the video is being edited.`
|
if (state === VideoState.TO_EDIT) return $localize`Studio is not available while the video is being edited.`
|
||||||
if (state === VideoState.TO_IMPORT) return $localize`Studio is not available while the video is being imported.`
|
if (state === VideoState.TO_IMPORT) return $localize`Studio is not available while the video is being imported.`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user