From 0cf45b781dabe5c0c8010c1415fe32e307154fa8 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 0ace3747d9c..b51a902408b 100644 --- a/apps/files/src/actions/convertUtils.ts +++ b/apps/files/src/actions/convertUtils.ts @@ -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