Index: gc_lang/fr/webext/background.js ================================================================== --- gc_lang/fr/webext/background.js +++ gc_lang/fr/webext/background.js @@ -144,36 +144,36 @@ function setSpellingDictionaries (oData) { if (oData.hasOwnProperty("oPersonalDictionary")) { // deprecated console.log("personal dictionary migration"); - browser.storage.local.set({ "oDictionaries": { "__personal__": oData["oPersonalDictionary"] } }); + browser.storage.local.set({ "dictionaries": { "__personal__": oData["oPersonalDictionary"] } }); setDictionary("personal", oData["oPersonalDictionary"]); browser.storage.local.remove("oPersonalDictionary"); } - if (oData.hasOwnProperty("oDictionaries")) { - if (oData.oDictionaries.hasOwnProperty("__personal__")) { - setDictionary("personal", oData.oDictionaries["__personal__"]); + if (oData.hasOwnProperty("dictionaries")) { + if (oData.dictionaries.hasOwnProperty("__personal__")) { + setDictionary("personal", oData.dictionaries["__personal__"]); } - if (oData.oDictionaries.hasOwnProperty("__community__")) { - setDictionary("personal", oData.oDictionaries["__community__"]); + if (oData.dictionaries.hasOwnProperty("__community__")) { + setDictionary("personal", oData.dictionaries["__community__"]); } } } function init () { if (bChrome) { browser.storage.local.get("gc_options", initGrammarChecker); browser.storage.local.get("ui_options", initUIOptions); - browser.storage.local.get("oDictionaries", setSpellingDictionaries); + browser.storage.local.get("dictionaries", setSpellingDictionaries); browser.storage.local.get("oPersonalDictionary", setSpellingDictionaries); // deprecated browser.storage.local.get("sc_options", initSCOptions); return; } browser.storage.local.get("gc_options").then(initGrammarChecker, showError); browser.storage.local.get("ui_options").then(initUIOptions, showError); - browser.storage.local.get("oDictionaries").then(setSpellingDictionaries, showError); + browser.storage.local.get("dictionaries").then(setSpellingDictionaries, showError); browser.storage.local.get("oPersonalDictionary").then(setSpellingDictionaries, showError); // deprecated browser.storage.local.get("sc_options").then(initSCOptions, showError); } init(); Index: gc_lang/fr/webext/panel/lex_editor.css ================================================================== --- gc_lang/fr/webext/panel/lex_editor.css +++ gc_lang/fr/webext/panel/lex_editor.css @@ -48,10 +48,15 @@ h3 { margin: 3px 0 2px 0; color: hsl(210, 50%, 50%); font: bold 16px "Trebuchet MS", "Fira Sans", "Liberation Sans", sans-serif; } + +#dic_selector { + color: hsl(210, 50%, 50%); + font: bold 16px "Trebuchet MS", "Fira Sans", "Liberation Sans", sans-serif; +} details { font-size: 11px; font-variant: small-caps; color: hsl(210, 50%, 50%); @@ -65,10 +70,11 @@ } details.inline { padding: 3px; width: 260px; } + /* Main buttons */ @@ -247,11 +253,11 @@ box-shadow: 0 0 2px hsl(150, 60%, 50%); } #lexicon_page { - + } /* Search page Index: gc_lang/fr/webext/panel/lex_editor.html ================================================================== --- gc_lang/fr/webext/panel/lex_editor.html +++ gc_lang/fr/webext/panel/lex_editor.html @@ -12,12 +12,18 @@