diverse Übersetzungen
This commit is contained in:
@ -106,12 +106,12 @@ export const Bot = (props: BotProps & { class?: string }) => {
|
||||
)
|
||||
}
|
||||
if (error.response.status === 400 || error.response.status === 403)
|
||||
return setError(new Error('This bot is now closed.'))
|
||||
return setError(new Error('Dieser BLS bot ist aktuell geschlossen. 😴'))
|
||||
if (error.response.status === 404)
|
||||
return setError(new Error("The bot you're looking for doesn't exist."))
|
||||
return setError(new Error("Dieser BLS bot existiert nicht (mehr) 🤨"))
|
||||
return setError(
|
||||
new Error(
|
||||
`Error! Couldn't initiate the chat. (${error.response.statusText})`
|
||||
`Bitte lade die Seite neu. (${error.response.statusText})`
|
||||
)
|
||||
)
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ export const FileUploadForm = (props: Props) => {
|
||||
value: urls[0] ? encodeUrl(urls[0].url) : '',
|
||||
attachments: [{ type: file.type, url: urls[0]!.url }],
|
||||
})
|
||||
toaster.create({ description: 'An error occured while uploading the file' })
|
||||
toaster.create({ description: 'Upsi.. deine Datei wurde nicht hochgeladen 😵💫' })
|
||||
}
|
||||
const startFilesUpload = async (files: File[]) => {
|
||||
setIsUploading(true)
|
||||
@ -105,7 +105,7 @@ export const FileUploadForm = (props: Props) => {
|
||||
setUploadProgressPercent(0)
|
||||
if (urls.length !== files.length)
|
||||
return toaster.create({
|
||||
description: 'An error occured while uploading the files',
|
||||
description: 'Upsi.. deine Dateien wurde nicht hochgeladen 😵💫',
|
||||
})
|
||||
props.onSubmit({
|
||||
type: 'text',
|
||||
|
Reference in New Issue
Block a user