Add spell check (#3544)

I felt like adding a spell checker, but it's okay if you find it
superfluous. At least then we could fix the found spell issues.

What is still missing is an automatic integration so that the spell
checker does not have to be called manually. Would it perhaps make sense
to always do it before a release?
This commit is contained in:
Kristjan ESPERANTO
2024-09-18 07:37:09 +02:00
committed by GitHub
parent ea3a323581
commit d9f9f41e98
17 changed files with 1338 additions and 46 deletions

View File

@@ -15,14 +15,14 @@ const Translator = (function () {
xhr.onreadystatechange = function () {
if (xhr.readyState === 4 && xhr.status === 200) {
// needs error handler try/catch at least
let fileinfo = null;
let fileInfo = null;
try {
fileinfo = JSON.parse(xhr.responseText);
fileInfo = JSON.parse(xhr.responseText);
} catch (exception) {
// nothing here, but don't die
Log.error(` loading json file =${file} failed`);
}
resolve(fileinfo);
resolve(fileInfo);
}
};
xhr.send(null);