From 1f5e57186edb9c7ea250ffa97e59a674ec5e6883 Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Sat, 22 Mar 2025 23:47:39 +0100 Subject: [PATCH] chore(i18n): Improved grammar Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- l10n/messages.pot | 4 ++-- lib/uploader/uploader.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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