From 916398219308b2f8a06321c39d3c161a3745b2c8 Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Tue, 4 Nov 2025 15:58:15 +0100 Subject: [PATCH] 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> --- apps/files/src/actions/convertUtils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/files/src/actions/convertUtils.ts b/apps/files/src/actions/convertUtils.ts index dd83559e432..82bbcfe3b5e 100644 --- a/apps/files/src/actions/convertUtils.ts +++ b/apps/files/src/actions/convertUtils.ts @@ -80,13 +80,13 @@ export async function convertFiles(fileIds: number[], targetMimeType: string) { // 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