Skip to content

Commit 87252cb

Browse files
authored
fixup!
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent 2cc1544 commit 87252cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/files/src/actions/convertUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ export const convertFiles = async function (fileIds: number[], targetMimeType: s
7777

7878
// We already check above when all files failed
7979
// if we're here, we have a mix of failed and successful files
80-
showError(t('files', failed.length === 1 ? '{count} file could not be converted' : '{count} files could not be converted', { count: failed.length }))
81-
showSuccess(t('files', fileIds.length === 1 ? '{count} file successfully converted' : '{count} files successfully converted', { count: fileIds.length - failed.length }))
80+
showError(n('files', 'one file could not be converted', '%n files could not be converted', failed.length))
81+
showSuccess(n('files', 'one file successfully converted', '%n files successfully converted', fileIds.length - failed.length))
8282
return
8383
}
8484

0 commit comments

Comments
 (0)