i18n: localize aria-label (markdown_import)

This commit is contained in:
Panagiotis Papadopoulos 2024-12-16 21:03:26 +01:00
parent 4617eaa7fe
commit 30756f692d
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -214,6 +214,7 @@
},
"markdown_import": {
"dialog_title": "Markdown import",
"close": "Close",
"modal_body_text": "Because of browser sandbox it's not possible to directly read clipboard from JavaScript. Please paste the Markdown to import to textarea below and click on Import button",
"import_button": "Import Ctrl+Enter",
"import_success": "Markdown content has been imported into the document."