feat: upload audio, get a private Swedish transcript, discuss it (#33, ADR-033) #39
@@ -203,6 +203,10 @@ func uploadFailureMessage(k domain.UploadErrorKind) string {
|
|||||||
switch k {
|
switch k {
|
||||||
case domain.UploadErrInterrupted:
|
case domain.UploadErrInterrupted:
|
||||||
return "The server restarted before this recording was transcribed. Please upload it again."
|
return "The server restarted before this recording was transcribed. Please upload it again."
|
||||||
|
case domain.UploadErrTooLong:
|
||||||
|
return "This recording is longer than the limit once its audio is read (the file's header said otherwise). Please upload a shorter recording."
|
||||||
|
case domain.UploadErrIncomplete:
|
||||||
|
return "This recording ends much earlier than the file says it should; it may be cut off or damaged. Please upload the complete recording."
|
||||||
case domain.UploadErrTranscriptionFailed:
|
case domain.UploadErrTranscriptionFailed:
|
||||||
return "Transcription failed on every available service. Please upload it again later."
|
return "Transcription failed on every available service. Please upload it again later."
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user