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

This commit is contained in:
imacat committed 2020-08-06 01:47:01 +08:00
1 parent b45c06ac36
commit 1d79e970c4
5 files changed
+39 -34

No files matched your search

@@ -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");