diff --git a/l10n/messages.pot b/l10n/messages.pot index 2d7ed389..15fdf722 100644 --- a/l10n/messages.pot +++ b/l10n/messages.pot @@ -57,10 +57,10 @@ msgstr "" msgid "Existing version" msgstr "" -msgid "Failed assembling the chunks together" +msgid "Failed to assemble the chunks together" msgstr "" -msgid "Failed uploading the file" +msgid "Failed to upload the file" msgstr "" msgid "Filenames must not end with \"{segment}\"." diff --git a/lib/uploader/uploader.ts b/lib/uploader/uploader.ts index 856ab668..af5e5190 100644 --- a/lib/uploader/uploader.ts +++ b/lib/uploader/uploader.ts @@ -595,7 +595,7 @@ export class Uploader { reject(new UploadCancelledError(error)) } else { upload.status = UploadStatus.FAILED - reject(t('Failed assembling the chunks together')) + reject(t('Failed to assemble the chunks together')) } // Cleaning up temp directory axios.request({ @@ -660,7 +660,7 @@ export class Uploader { upload.status = UploadStatus.FAILED logger.error(`Failed uploading ${file.name}`, { error, file, upload }) - reject(t('Failed uploading the file')) + reject(t('Failed to upload the file')) } // Notify listeners of the upload completion