i18n: localize aria-label (prompt)

This commit is contained in:
Panagiotis Papadopoulos 2024-12-16 21:02:37 +01:00
parent fc3a0bf527
commit 4617eaa7fe
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ const TPL = `
<form class="prompt-dialog-form">
<div class="modal-header">
<h5 class="prompt-title modal-title">${t("prompt.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('prompt.close')}"></button>
</div>
<div class="modal-body"></div>
<div class="modal-footer">

View File

@ -240,6 +240,7 @@
},
"prompt": {
"title": "Prompt",
"close": "Close",
"ok": "OK <kbd>enter</kbd>",
"defaultTitle": "Prompt"
},