i18n: localize aria-label (password_not_set)

This commit is contained in:
Panagiotis Papadopoulos 2024-12-16 20:35:51 +01:00
parent 97c5d2e80f
commit 3d18f56c33
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -232,6 +232,7 @@
}, },
"password_not_set": { "password_not_set": {
"title": "Password is not set", "title": "Password is not set",
"close": "Close",
"body1": "Protected notes are encrypted using a user password, but password has not been set yet.", "body1": "Protected notes are encrypted using a user password, but password has not been set yet.",
"body2": "To be able to protect notes, click <a class=\"open-password-options-button\" href=\"javascript:\">here</a> to open the Options dialog and set your password." "body2": "To be able to protect notes, click <a class=\"open-password-options-button\" href=\"javascript:\">here</a> to open the Options dialog and set your password."
}, },