Skip to content

Build your personal knowledge base with Trilium Notes

i18n: localize aria-label (delete_notes)

Panagiotis Papadopoulos2b22b8ea991a
diff --git a/src/public/app/widgets/dialogs/delete_notes.js b/src/public/app/widgets/dialogs/delete_notes.js
index d4b3454ac0..f6e0dfba7c 100644
--- a/src/public/app/widgets/dialogs/delete_notes.js
+++ b/src/public/app/widgets/dialogs/delete_notes.js
@@ -11,7 +11,7 @@ const TPL = `
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">${t('delete_notes.delete_notes_preview')}</h4>
- <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="${t('delete_notes.close')}"></button>
</div>
<div class="modal-body">
<div class="form-checkbox">
diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json
index bb8c12af99..60cb0fe0bb 100644
--- a/src/public/translations/en/translation.json
+++ b/src/public/translations/en/translation.json
@@ -82,6 +82,7 @@
},
"delete_notes": {
"delete_notes_preview": "Delete notes preview",
+ "close": "Close",
"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.",