i18n: localize aria-label (note_type_chooser)

This commit is contained in:
Panagiotis Papadopoulos 2024-12-16 21:05:29 +01:00
parent f655eb860c
commit 42169d830f
2 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@ const TPL = `
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">${t("note_type_chooser.modal_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("note_type_chooser.close")}"></button>
</div>
<div class="modal-body">
${t("note_type_chooser.modal_body")}

View File

@ -231,6 +231,7 @@
},
"note_type_chooser": {
"modal_title": "Choose note type",
"close": "Close",
"modal_body": "Choose note type / template of the new note:",
"templates": "Templates:"
},