Skip to content

Commit b95e872

Browse files
Merge pull request #56192 from nextcloud/rakekniven-patch-1
chore(i18n): Fixed plural strings
2 parents 7a7d0b1 + 3b0312f commit b95e872

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

apps/files/src/actions/convertUtils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ export async function convertFiles(fileIds: number[], targetMimeType: string) {
8080

8181
// We already check above when all files failed
8282
// if we're here, we have a mix of failed and successful files
83-
showError(n('files', 'One file could not be converted', '%n files could not be converted', failed.length))
84-
showSuccess(n('files', 'One file successfully converted', '%n files successfully converted', fileIds.length - failed.length))
83+
showError(n('files', '%n file could not be converted', '%n files could not be converted', failed.length))
84+
showSuccess(n('files', '%n file converted', '%n files converted', fileIds.length - failed.length))
8585
return
8686
}
8787

8888
// All files converted
89-
showSuccess(t('files', 'Files successfully converted'))
89+
showSuccess(t('files', 'Files converted'))
9090

9191
// Extract files that are within the current directory
9292
// in batch mode, you might have files from different directories

dist/files-init.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-init.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)