translate video state strings (#5762)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user