handle dictionary loading error
This commit is contained in:
parent
aef044cdb1
commit
f48df993ac
|
@ -177,3 +177,6 @@ msgstr "Tous les mots sont corrects : {0}"
|
|||
|
||||
msgid "No new word found"
|
||||
msgstr "Aucun nouveau mot trouvé"
|
||||
|
||||
msgid "Incorrect dictionary file."
|
||||
msgstr "Dictionaire incorrect."
|
||||
|
|
|
@ -183,3 +183,6 @@ msgstr ""
|
|||
|
||||
msgid "No new word found"
|
||||
msgstr ""
|
||||
|
||||
msgid "Incorrect dictionary file."
|
||||
msgstr ""
|
||||
|
|
|
@ -167,7 +167,7 @@
|
|||
dictionary = file.responseText.split("\n");
|
||||
document.getElementById("check-spelling").disabled = false;
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
myAlert(_("Incorrect dictionary file."));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue