Skip to content

Commit 6a3bada

Browse files
authored
Merge pull request #1672 from nextcloud-libraries/rakekniven-patch-1
chore(i18n): Improved grammar
2 parents 96b5ab6 + 1f5e571 commit 6a3bada

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

l10n/messages.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ msgstr ""
5757
msgid "Existing version"
5858
msgstr ""
5959

60-
msgid "Failed assembling the chunks together"
60+
msgid "Failed to assemble the chunks together"
6161
msgstr ""
6262

63-
msgid "Failed uploading the file"
63+
msgid "Failed to upload the file"
6464
msgstr ""
6565

6666
msgid "Filenames must not end with \"{segment}\"."

lib/uploader/uploader.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ export class Uploader {
595595
reject(new UploadCancelledError(error))
596596
} else {
597597
upload.status = UploadStatus.FAILED
598-
reject(t('Failed assembling the chunks together'))
598+
reject(t('Failed to assemble the chunks together'))
599599
}
600600
// Cleaning up temp directory
601601
axios.request({
@@ -660,7 +660,7 @@ export class Uploader {
660660

661661
upload.status = UploadStatus.FAILED
662662
logger.error(`Failed uploading ${file.name}`, { error, file, upload })
663-
reject(t('Failed uploading the file'))
663+
reject(t('Failed to upload the file'))
664664
}
665665

666666
// Notify listeners of the upload completion

0 commit comments

Comments
 (0)