This commit is contained in:
Chocobozzz 2025-06-04 15:18:35 +02:00
parent c43ff33483
commit 03e46572a3
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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.`