Index: gc_lang/fr/webext/background.js ================================================================== --- gc_lang/fr/webext/background.js +++ gc_lang/fr/webext/background.js @@ -63,11 +63,12 @@ case "setOptions": case "setOption": storeGCOptions(result); break; case "setDictionary": - console.log("[background] " + sActionDone + ": " + result); + case "setDictionaryOnOff": + //console.log("[background] " + sActionDone + ": " + result); break; default: console.log("[background] Unknown command: " + sActionDone); console.log(e.data); } Index: gc_lang/fr/webext/gce_worker.js ================================================================== --- gc_lang/fr/webext/gce_worker.js +++ gc_lang/fr/webext/gce_worker.js @@ -363,11 +363,11 @@ } break; default: console.log("[worker] setDictionaryOnOff: Unknown dictionary <"+sDictionary+">"); } - postMessage(createResponse("setDictionary", true, dInfo, true)); + postMessage(createResponse("setDictionaryOnOff", true, dInfo, true)); } function getSpellSuggestions (sWord, dInfo) { if (!oSpellChecker) { postMessage(createResponse("getSpellSuggestions", "# Error. SpellChecker not loaded.", dInfo, true));