Skip to content

Build your personal knowledge base with Trilium Notes

i18n: localize aria-label (recent_changes)

Panagiotis Papadopoulosfc3a0bf52765
diff --git a/src/public/app/widgets/dialogs/recent_changes.js b/src/public/app/widgets/dialogs/recent_changes.js
index 17a512fadb..4198b57868 100644
--- a/src/public/app/widgets/dialogs/recent_changes.js
+++ b/src/public/app/widgets/dialogs/recent_changes.js
@@ -18,7 +18,7 @@ const TPL = `
<div class="modal-header">
<h5 class="modal-title flex-grow-1">${t('recent_changes.title')}</h5>
<button class="erase-deleted-notes-now-button btn btn-sm" style="padding: 0 10px">${t('recent_changes.erase_notes_button')}</button>
- <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('recent_changes.close')}"></button>
</div>
<div class="modal-body">
<div class="recent-changes-content"></div>
diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json
index 09569c47aa..83803acdfe 100644
--- a/src/public/translations/en/translation.json
+++ b/src/public/translations/en/translation.json
@@ -253,6 +253,7 @@
"recent_changes": {
"title": "Recent changes",
"erase_notes_button": "Erase deleted notes now",
+ "close": "Close",
"deleted_notes_message": "Deleted notes have been erased.",
"no_changes_message": "No changes yet...",
"undelete_link": "undelete",