From 815eab26f69adec7416648f251b175c62332c49a Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 19 Oct 2024 10:50:56 +0300 Subject: [PATCH] i18n: Fix duplication in delete note count --- src/public/app/widgets/dialogs/delete_notes.js | 2 +- src/public/translations/cn/translation.json | 2 +- src/public/translations/en/translation.json | 2 +- src/public/translations/es/translation.json | 2 +- src/public/translations/fr/translation.json | 2 +- src/public/translations/ro/translation.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/public/app/widgets/dialogs/delete_notes.js b/src/public/app/widgets/dialogs/delete_notes.js index 4249e4dea..22f81e80e 100644 --- a/src/public/app/widgets/dialogs/delete_notes.js +++ b/src/public/app/widgets/dialogs/delete_notes.js @@ -25,7 +25,7 @@ const TPL = `
-

${t('delete_notes.notes_to_be_deleted')} ()

+

${t('delete_notes.notes_to_be_deleted', { noteCount: `` })}

diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.json index ecad19c86..db4c6875b 100644 --- a/src/public/translations/cn/translation.json +++ b/src/public/translations/cn/translation.json @@ -73,7 +73,7 @@ "delete_all_clones_description": "同时删除所有克隆(可以在最近修改中撤消)", "erase_notes_description": "通常(软)删除仅标记笔记为已删除,可以在一段时间内通过最近修改对话框撤消。选中此选项将立即擦除笔记,不可撤销。", "erase_notes_warning": "永久擦除笔记(无法撤销),包括所有克隆。这将强制应用程序重新加载。", - "notes_to_be_deleted": "将删除以下笔记()", + "notes_to_be_deleted": "将删除以下笔记 ({{- noteCount}})", "no_note_to_delete": "没有笔记将被删除(仅克隆)。", "broken_relations_to_be_deleted": "将删除以下关系并断开连接()", "cancel": "取消", diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index b570f2f6b..06fc00d36 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -73,7 +73,7 @@ "delete_all_clones_description": "delete also all clones (can be undone in recent changes)", "erase_notes_description": "Normal (soft) deletion only marks the notes as deleted and they can be undeleted (in recent changes dialog) within a period of time. Checking this option will erase the notes immediately and it won't be possible to undelete the notes.", "erase_notes_warning": "Erase notes permanently (can't be undone), including all clones. This will force application reload.", - "notes_to_be_deleted": "Following notes will be deleted ()", + "notes_to_be_deleted": "Following notes will be deleted ({{- noteCount}})", "no_note_to_delete": "No note will be deleted (only clones).", "broken_relations_to_be_deleted": "Following relations will be broken and deleted ()", "cancel": "Cancel", diff --git a/src/public/translations/es/translation.json b/src/public/translations/es/translation.json index 6d1fc92c6..c57f9f2ca 100644 --- a/src/public/translations/es/translation.json +++ b/src/public/translations/es/translation.json @@ -73,7 +73,7 @@ "delete_all_clones_description": "eliminar también todos los clones (se puede deshacer en cambios recientes)", "erase_notes_description": "La eliminación normal (suave) solo marca las notas como eliminadas y se pueden recuperar (en el cuadro de diálogo de cambios recientes) dentro de un periodo de tiempo. Al marcar esta opción se borrarán las notas inmediatamente y no será posible recuperarlas.", "erase_notes_warning": "Eliminar notas permanentemente (no se puede deshacer), incluidos todos los clones. Esto forzará la recarga de la aplicación.", - "notes_to_be_deleted": "Las siguientes notas serán eliminadas ()", + "notes_to_be_deleted": "Las siguientes notas serán eliminadas ({{- noteCount}})", "no_note_to_delete": "No se eliminará ninguna nota (solo clones).", "broken_relations_to_be_deleted": "Las siguientes relaciones se romperán y serán eliminadas ()", "cancel": "Cancelar", diff --git a/src/public/translations/fr/translation.json b/src/public/translations/fr/translation.json index d003e0c80..7400e12fc 100644 --- a/src/public/translations/fr/translation.json +++ b/src/public/translations/fr/translation.json @@ -73,7 +73,7 @@ "delete_all_clones_description": "supprime également tous les clones (peut être annulé depuis les Modifications récentes)", "erase_notes_description": "La suppression normale (douce) marque uniquement les notes comme supprimées et elles peuvent être restaurées (dans la boîte de dialogue des Modifications récentes) dans un délai donné. Cocher cette option effacera les notes immédiatement et il ne sera pas possible de les restaurer.", "erase_notes_warning": "Efface les notes de manière permanente (ne peut pas être annulée), y compris tous les clones. Cela forcera le rechargement de l’application.", - "notes_to_be_deleted": "Les notes suivantes seront supprimées ()", + "notes_to_be_deleted": "Les notes suivantes seront supprimées ({{- noteCount}})", "no_note_to_delete": "Aucune note ne sera supprimée (uniquement les clones).", "broken_relations_to_be_deleted": "Les relations suivantes seront rompues et supprimées ()", "cancel": "Annuler", diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.json index eb8c5e944..fecc0221f 100644 --- a/src/public/translations/ro/translation.json +++ b/src/public/translations/ro/translation.json @@ -422,7 +422,7 @@ "erase_notes_warning": "Șterge notițele permanent (nu se mai pot recupera), incluzând toate clonele. Va forța reîncărcarea aplicației.", "no_note_to_delete": "Nicio notiță nu va fi ștearsă (doar clonele).", "note": "Notiță", - "notes_to_be_deleted": "Următoarele notițe vor fi șterse ()", + "notes_to_be_deleted": "Următoarele notițe vor fi șterse ({{- noteCount}})", "ok": "OK", "to_be_deleted": " (pentru ștergere) este referențiat(ă) de relația {{attrName}} originând de la " },