Revised the error messages and their translations both in Python and for the JavaScript.

This commit is contained in:
2020-08-06 01:47:01 +08:00
parent b45c06ac36
commit 1d79e970c4
5 changed files with 39 additions and 34 deletions

View File

@ -481,7 +481,7 @@ function validateNote() {
note.value = note.value.trim();
if (note.value.length > 128) {
note.classList.add("is-invalid");
errorMessage.text(gettext("This note is too long (max. 128 characters)."));
errorMessage.text(gettext("These notes are too long (max. 128 characters)."));
return false;
}
note.classList.remove("is-invalid");