Grammalecte  Check-in [2eb8d827d0]

Overview
Comment:[fx] WebExt: fix commands for selected text
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fx | webext3
Files: files | file ages | folders
SHA3-256: 2eb8d827d0965b8c1e1cf373aab6f5b7cc184a6549a16f0dee804305671510fc
User & Date: olr on 2017-10-13 13:43:28
Other Links: branch diff | manifest | tags
Context
2017-10-13
19:03
[fx] WebExt: don’t show page items in context menu in all contexts check-in: 2ca05e00bb user: olr tags: fx, webext3
13:43
[fx] WebExt: fix commands for selected text check-in: 2eb8d827d0 user: olr tags: fx, webext3
13:30
[core][js] remove debug function check-in: 9300a9349a user: olr tags: core, webext3
Changes

Modified gc_lang/fr/webext/background.js from [f2796db9ec] to [13dbea6b01].

213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
    id: "separator_page",
    type: "separator",
    contexts: ["all"]
});

// Selected text
browser.contextMenus.create({
    id: "getListOfTokensFromSelectedText",
    title: "Lexicographe (sélection)",
    contexts: ["selection"]
});

browser.contextMenus.create({
    id: "parseAndSpellcheckSelectedText",
    title: "Correction grammaticale (sélection)",
    contexts: ["selection"]
});

browser.contextMenus.create({
    id: "separator_selection",
    type: "separator",







|





|







213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
    id: "separator_page",
    type: "separator",
    contexts: ["all"]
});

// Selected text
browser.contextMenus.create({
    id: "rightClickLxgSelectedText",
    title: "Lexicographe (sélection)",
    contexts: ["selection"]
});

browser.contextMenus.create({
    id: "rightClickGCSelectedText",
    title: "Correction grammaticale (sélection)",
    contexts: ["selection"]
});

browser.contextMenus.create({
    id: "separator_selection",
    type: "separator",