From 29a700f731059b73d402e6e345d2f6a27af2ae2b Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 19 Oct 2024 10:55:48 +0300 Subject: [PATCH] i18n: Fix duplication in delete relations count --- src/public/app/widgets/dialogs/delete_notes.js | 4 ++-- 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, 7 insertions(+), 7 deletions(-) diff --git a/src/public/app/widgets/dialogs/delete_notes.js b/src/public/app/widgets/dialogs/delete_notes.js index 22f81e80e..487efc5dd 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', { noteCount: `` })}

+

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

@@ -36,7 +36,7 @@ const TPL = `
-

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

+

${t('delete_notes.broken_relations_to_be_deleted', { relationCount: ''})}

    diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.json index db4c6875b..b7bc64214 100644 --- a/src/public/translations/cn/translation.json +++ b/src/public/translations/cn/translation.json @@ -75,7 +75,7 @@ "erase_notes_warning": "永久擦除笔记(无法撤销),包括所有克隆。这将强制应用程序重新加载。", "notes_to_be_deleted": "将删除以下笔记 ({{- noteCount}})", "no_note_to_delete": "没有笔记将被删除(仅克隆)。", - "broken_relations_to_be_deleted": "将删除以下关系并断开连接()", + "broken_relations_to_be_deleted": "将删除以下关系并断开连接 ({{- relationCount}})", "cancel": "取消", "ok": "确定", "note": "笔记", diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index 06fc00d36..b5a4b5813 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -75,7 +75,7 @@ "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 ({{- noteCount}})", "no_note_to_delete": "No note will be deleted (only clones).", - "broken_relations_to_be_deleted": "Following relations will be broken and deleted ()", + "broken_relations_to_be_deleted": "Following relations will be broken and deleted ({{- relationCount}})", "cancel": "Cancel", "ok": "OK", "note": "Note", diff --git a/src/public/translations/es/translation.json b/src/public/translations/es/translation.json index c57f9f2ca..9f1382766 100644 --- a/src/public/translations/es/translation.json +++ b/src/public/translations/es/translation.json @@ -75,7 +75,7 @@ "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 ({{- 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 ()", + "broken_relations_to_be_deleted": "Las siguientes relaciones se romperán y serán eliminadas ({{- relationCount}})", "cancel": "Cancelar", "ok": "Aceptar", "note": "Nota", diff --git a/src/public/translations/fr/translation.json b/src/public/translations/fr/translation.json index 7400e12fc..88dd4aa09 100644 --- a/src/public/translations/fr/translation.json +++ b/src/public/translations/fr/translation.json @@ -75,7 +75,7 @@ "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 ({{- 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 ()", + "broken_relations_to_be_deleted": "Les relations suivantes seront rompues et supprimées ({{- relationCount}})", "cancel": "Annuler", "ok": "OK", "note": "Note", diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.json index fecc0221f..2c1a607e4 100644 --- a/src/public/translations/ro/translation.json +++ b/src/public/translations/ro/translation.json @@ -414,7 +414,7 @@ "undelete_notes_instruction": "După ștergere, se pot recupera din ecranul Schimbări recente." }, "delete_notes": { - "broken_relations_to_be_deleted": "Următoarele relații vor fi întrerupte și șterse ()", + "broken_relations_to_be_deleted": "Următoarele relații vor fi întrerupte și șterse ({{- relationCount}})", "cancel": "Anulează", "delete_all_clones_description": "Șterge și toate clonele (se pot recupera în ecranul Schimbări recente)", "delete_notes_preview": "Previzualizare ștergerea notițelor",