+ return $localize`Publication scheduled on ${updateAt}`
+ }
+
+ if (video.state.id === VideoState.TRANSCODING_FAILED) {
+ return $localize`Transcoding failed`
+ }
+
+ if (video.state.id === VideoState.TO_MOVE_TO_EXTERNAL_STORAGE_FAILED) {
+ return $localize`Move to external storage failed`