translate video state strings (#5762)

This commit is contained in:
surfdude29
2024-10-15 17:21:37 +01:00
committed by GitHub
parent 4c3c10d7f8
commit 53b6d16b51
+5 -5
View File
@@ -1174,20 +1174,20 @@ function VideoUploadToolbar({state}: {state: VideoState}) {
switch (state.status) { switch (state.status) {
case 'compressing': case 'compressing':
text = _('Compressing video...') text = _(msg`Compressing video...`)
break break
case 'uploading': case 'uploading':
text = _('Uploading video...') text = _(msg`Uploading video...`)
break break
case 'processing': case 'processing':
text = _('Processing video...') text = _(msg`Processing video...`)
break break
case 'error': case 'error':
text = _('Error') text = _(msg`Error`)
wheelProgress = 100 wheelProgress = 100
break break
case 'done': case 'done':
text = _('Video uploaded') text = _(msg`Video uploaded`)
break break
} }