Skip to content

Build your personal knowledge base with Trilium Notes

i18n: localize aria-label (include_note)

Panagiotis Papadopoulos98611323737f
diff --git a/src/public/app/widgets/dialogs/include_note.js b/src/public/app/widgets/dialogs/include_note.js
index e5fcad8a41..ad26a60fb8 100644
--- a/src/public/app/widgets/dialogs/include_note.js
+++ b/src/public/app/widgets/dialogs/include_note.js
@@ -11,7 +11,7 @@ const TPL = `
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">${t('include_note.dialog_title')}</h5>
- <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('include_note.close')}"></button>
</div>
<form class="include-note-form">
<div class="modal-body">
diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json
index 80d30a3458..68a964f68d 100644
--- a/src/public/translations/en/translation.json
+++ b/src/public/translations/en/translation.json
@@ -191,6 +191,7 @@
},
"include_note": {
"dialog_title": "Include note",
+ "close": "Close",
"label_note": "Note",
"placeholder_search": "search for note by its name",
"box_size_prompt": "Box size of the included note:",