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 note count
Elian Doran815eab26f69a
diff --git a/src/public/app/widgets/dialogs/delete_notes.js b/src/public/app/widgets/dialogs/delete_notes.jsindex 4249e4dea1..22f81e80e4 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')} (<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>diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.jsonindex ecad19c865..db4c6875b0 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": "将删除以下笔记(<span class=\"deleted-notes-count\"></span>)",+ "notes_to_be_deleted": "将删除以下笔记 ({{- noteCount}})","no_note_to_delete": "没有笔记将被删除(仅克隆)。","broken_relations_to_be_deleted": "将删除以下关系并断开连接(<span class=\"broke-relations-count\"></span>)","cancel": "取消",diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.jsonindex b570f2f6b5..06fc00d368 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 (<span class=\"deleted-notes-count\"></span>)",+ "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>)","cancel": "Cancel",diff --git a/src/public/translations/es/translation.json b/src/public/translations/es/translation.jsonindex 6d1fc92c6f..c57f9f2cad 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 (<span class=\"deleted-notes-count\"></span>)",+ "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>)","cancel": "Cancelar",diff --git a/src/public/translations/fr/translation.json b/src/public/translations/fr/translation.jsonindex d003e0c80b..7400e12fce 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 (<span class=\"deleted-notes-count\"></span>)",+ "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>)","cancel": "Annuler",diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.jsonindex eb8c5e9449..fecc0221fc 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 (<span class=\"deleted-notes-count\"></span>)",+ "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 <code>{{attrName}}</code> originând de la "},