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) {
case 'compressing':
text = _('Compressing video...')
text = _(msg`Compressing video...`)
break
case 'uploading':
text = _('Uploading video...')
text = _(msg`Uploading video...`)
break
case 'processing':
text = _('Processing video...')
text = _(msg`Processing video...`)
break
case 'error':
text = _('Error')
text = _(msg`Error`)
wheelProgress = 100
break
case 'done':
text = _('Video uploaded')
text = _(msg`Video uploaded`)
break
}