Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
i18n: Fix duplication in delete relations count
Elian Doran29a700f73105
diff --git a/src/public/app/widgets/dialogs/delete_notes.js b/src/public/app/widgets/dialogs/delete_notes.jsindex 22f81e80e4..487efc5dd3 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 = `</div><div class="delete-notes-list-wrapper">- <h4>${t('delete_notes.notes_to_be_deleted', { noteCount: `<span class="deleted-notes-count"></span>` })}</h4>+ <h4>${t('delete_notes.notes_to_be_deleted', { noteCount: '<span class="deleted-notes-count"></span>' })}</h4><ul class="delete-notes-list" style="max-height: 200px; overflow: auto;"></ul></div>@@ -36,7 +36,7 @@ const TPL = `<div class="broken-relations-wrapper"><div class="alert alert-danger">- <h4>${t('delete_notes.broken_relations_to_be_deleted')} (<span class="broke-relations-count"></span>)</h4>+ <h4>${t('delete_notes.broken_relations_to_be_deleted', { relationCount: '<span class="broke-relations-count"></span>'})}</h4><ul class="broken-relations-list" style="max-height: 200px; overflow: auto;"></ul></div>diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.jsonindex db4c6875b0..b7bc642143 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": "将删除以下关系并断开连接(<span class=\"broke-relations-count\"></span>)",+ "broken_relations_to_be_deleted": "将删除以下关系并断开连接 ({{- relationCount}})","cancel": "取消","ok": "确定","note": "笔记",diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.jsonindex 06fc00d368..b5a4b58131 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 (<span class=\"broke-relations-count\"></span>)",+ "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.jsonindex c57f9f2cad..9f13827666 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 (<span class=\"broke-relations-count\"></span>)",+ "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.jsonindex 7400e12fce..88dd4aa093 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 (<span class=\"broke-relations-count\"></span>)",+ "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.jsonindex fecc0221fc..2c1a607e45 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 (<span class=\"broke-relations-count\"></span>)",+ "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",