mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
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>
This commit is contained in:
parent
479cee3c1f
commit
0cf45b781d
1 changed files with 3 additions and 3 deletions
|
|
@ -70,13 +70,13 @@ export const convertFiles = async function(fileIds: number[], targetMimeType: st
|
|||
|
||||
// We already check above when all files failed
|
||||
// if we're here, we have a mix of failed and successful files
|
||||
showError(n('files', 'One file could not be converted', '%n files could not be converted', failed.length))
|
||||
showSuccess(n('files', 'One file successfully converted', '%n files successfully converted', fileIds.length - failed.length))
|
||||
showError(n('files', '%n file could not be converted', '%n files could not be converted', failed.length))
|
||||
showSuccess(n('files', '%n file converted', '%n files converted', fileIds.length - failed.length))
|
||||
return
|
||||
}
|
||||
|
||||
// All files converted
|
||||
showSuccess(t('files', 'Files successfully converted'))
|
||||
showSuccess(t('files', 'Files converted'))
|
||||
|
||||
// Extract files that are within the current directory
|
||||
// in batch mode, you might have files from different directories
|
||||
|
|
|
|||
Loading…
Reference in a new issue