Skip to content

Commit 9163982

Browse files
authored
chore(i18n): Fixed plural strings
Also reduced words. See https://uxdworld.com/how-to-write-effective-success-messages/ for details Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
1 parent 6911a33 commit 9163982

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
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

0 commit comments

Comments
 (0)