423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
|
for (let sName of this.dSelectedDictionaries.keys()) {
lDict.push(this.dDict.get(sName));
}
let oDict = dic_merger.merge(lDict, "S", "fr", "Français", "fr.community", "Dictionnaire communautaire (personnalisé)", this.xProgressBar);
console.log(oDict);
browser.storage.local.set({ "community_dictionary": oDict });
browser.storage.local.set({ "selected_dictionaries_list": Array.from(this.dSelectedDictionaries.keys()) });
browser.runtime.sendMessage({ sCommand: "setDictionary", dParam: {sDictionary: "community", oDict: oDict}, dInfo: {} });
}
}
const oDicTable = new Table("dictionaries_table", ["Nom", "Entrées", "Description", "Date"], "wait_progress", "num_dic", false, true);
oDicTable.init();
|
|
|
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
|
for (let sName of this.dSelectedDictionaries.keys()) {
lDict.push(this.dDict.get(sName));
}
let oDict = dic_merger.merge(lDict, "S", "fr", "Français", "fr.community", "Dictionnaire communautaire (personnalisé)", this.xProgressBar);
console.log(oDict);
browser.storage.local.set({ "community_dictionary": oDict });
browser.storage.local.set({ "selected_dictionaries_list": Array.from(this.dSelectedDictionaries.keys()) });
browser.runtime.sendMessage({ sCommand: "setDictionary", oParam: {sDictionary: "community", oDict: oDict}, oInfo: {} });
}
}
const oDicTable = new Table("dictionaries_table", ["Nom", "Entrées", "Description", "Date"], "wait_progress", "num_dic", false, true);
oDicTable.init();
|