Overview
Comment: | [fx] remove access to community dictionaries |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | fx |
Files: | files | file ages | folders |
SHA3-256: |
1a047a0b91f3cd5d2a4ba5a3b2bdd683 |
User & Date: | olr on 2019-04-03 14:52:53 |
Other Links: | manifest | tags |
Context
2019-04-03
| ||
15:02 | [fx] add a lexicon editor entry to the menu check-in: fbf4f3afee user: olr tags: trunk, fx | |
14:52 | [fx] remove access to community dictionaries check-in: 1a047a0b91 user: olr tags: trunk, fx | |
14:34 | [tb] remove extended dictionary labels check-in: 77ef752105 user: olr tags: trunk, tb | |
Changes
Modified gc_lang/fr/webext/background.js from [5137139ec8] to [08c31b81a6].
︙ | ︙ | |||
289 290 291 292 293 294 295 | // Page browser.contextMenus.create({ id: "rightClickLxgPage", title: "Lexicographe (page)", contexts: ["all"] }); // on all parts, due to unwanted selection browser.contextMenus.create({ id: "rightClickGCPage", title: "Correction grammaticale (page)", contexts: ["all"] }); browser.contextMenus.create({ id: "separator_page", type: "separator", contexts: ["all"] }); // Tools browser.contextMenus.create({ id: "conjugueur_window", title: "Conjugueur [fenêtre]", contexts: ["all"] }); browser.contextMenus.create({ id: "conjugueur_tab", title: "Conjugueur [onglet]", contexts: ["all"] }); | | | 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 | // Page browser.contextMenus.create({ id: "rightClickLxgPage", title: "Lexicographe (page)", contexts: ["all"] }); // on all parts, due to unwanted selection browser.contextMenus.create({ id: "rightClickGCPage", title: "Correction grammaticale (page)", contexts: ["all"] }); browser.contextMenus.create({ id: "separator_page", type: "separator", contexts: ["all"] }); // Tools browser.contextMenus.create({ id: "conjugueur_window", title: "Conjugueur [fenêtre]", contexts: ["all"] }); browser.contextMenus.create({ id: "conjugueur_tab", title: "Conjugueur [onglet]", contexts: ["all"] }); //browser.contextMenus.create({ id: "dictionaries", title: "Dictionnaires", contexts: ["all"] }); browser.contextMenus.create({ id: "lexicon_editor", title: "Éditeur lexical", contexts: ["all"] }); // Rescan page browser.contextMenus.create({ id: "separator_rescan", type: "separator", contexts: ["editable"] }); browser.contextMenus.create({ id: "rescanPage", title: "Rechercher à nouveau les zones de texte", contexts: ["editable"] }); browser.contextMenus.onClicked.addListener(function (xInfo, xTab) { |
︙ | ︙ |
Modified gc_lang/fr/webext/manifest.json from [f83d1e1e3e] to [0b1ffb3df6].
︙ | ︙ | |||
99 100 101 102 103 104 105 | "conjugueur_window": { "suggested_key": { "default": "Ctrl+Shift+7" }, "description": "Ouvre le conjugueur dans une fenêtre" }, "lexicon_editor": { "suggested_key": { "default": "Ctrl+Shift+8" }, "description": "Ouvre l’éditeur lexical" | < < < < | 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | "conjugueur_window": { "suggested_key": { "default": "Ctrl+Shift+7" }, "description": "Ouvre le conjugueur dans une fenêtre" }, "lexicon_editor": { "suggested_key": { "default": "Ctrl+Shift+8" }, "description": "Ouvre l’éditeur lexical" } }, "web_accessible_resources": [ "content_scripts/panel.css", "content_scripts/panel_tf.css", "content_scripts/panel_gc.css", |
︙ | ︙ |
Modified gc_lang/fr/webext/panel/lex_editor.html from [8e3bc0ab95] to [507b655a63].
︙ | ︙ | |||
15 16 17 18 19 20 21 | <div class="big_block"> <div class="dic_container"> <div><h3>Dictionnaire</h3></div> <div class="dic_container"> <select id="dic_selector"> <option value="__personal__">__personnel__</option> </select> | | | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <div class="big_block"> <div class="dic_container"> <div><h3>Dictionnaire</h3></div> <div class="dic_container"> <select id="dic_selector"> <option value="__personal__">__personnel__</option> </select> <!--<div id="new_dictionary_button" title="Créer un dictionnaire partagé">+</div>--> <div id="delete_dictionary_button" title="Supprimer ce dictionnaire">−</div> </div> <div>[<span id="dic_save_date">—</span>]</div> <div><span id="dic_num_entries">0</span> entrées</div> <div> <input type="file" id="import_input" accept=".json" style="display: none;"> |
︙ | ︙ |
Modified gc_lang/fr/webext/panel/main.html from [b83ce0fb48] to [c2daa2bf9e].
︙ | ︙ | |||
96 97 98 99 100 101 102 | <p class="shortcut_label">Correcteur grammatical</p> <p class="shortcut">CTRL+MAJ+6</p> <p class="shortcut_label">Conjugueur (dans un onglet)</p> <p class="shortcut">CTRL+MAJ+7</p> <p class="shortcut_label">Conjugueur (dans une fenêtre)</p> <p class="shortcut">CTRL+MAJ+8</p> <p class="shortcut_label">Éditeur lexical</p> | | | | | | | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | <p class="shortcut_label">Correcteur grammatical</p> <p class="shortcut">CTRL+MAJ+6</p> <p class="shortcut_label">Conjugueur (dans un onglet)</p> <p class="shortcut">CTRL+MAJ+7</p> <p class="shortcut_label">Conjugueur (dans une fenêtre)</p> <p class="shortcut">CTRL+MAJ+8</p> <p class="shortcut_label">Éditeur lexical</p> <!--<p class="shortcut">CTRL+MAJ+9</p> <p class="shortcut_label">Dictionnaires communautaires</p>--> </section> <!-- #ui_options_page --> <section id="gc_options_page" class="page"> <h1>OPTIONS GRAMMATICALES</h1> <div id="grammar_options"> ${webextOptionsHTML} </div> <div id="default_options_button" class="button blue center">Options par défaut</div> </section> <!-- #gc_options_page --> <section id="sc_options_page" class="page"> <h1>OPTIONS ORTHOGRAPHIQUES</h1> <div id="hunspell_options"> <h2>DICTIONNAIRES DE GRAMMALECTE</h2> <div class="option_section" id="main_dic_box"> <p><input type="checkbox" id="main_dic" data-dictionary="main" checked disabled="disabled" /> <label for="main_dic">Dictionnaire principal</label></p> <p class="option_description">Environ 83 000 entrées, 500 000 flexions.<br/>Ni éditable, ni désactivable.<br/>Ce dictionnaire est créé à partir du dictionnaire orthographique pour Firefox et LibreOffice, conçu sur le <a id="link_grammalecte" class="link" data-url="http://grammalecte.net/home.php?prj=fr">site de Grammalecte</a>.</p> </div> <div class="option_section" id="community_dic_box"> <p><input type="checkbox" id="community_dic" data-dictionary="community" disabled/> <label for="community_dic">Dictionnaire communautaire</label></p> <p class="option_description">Ce dictionnaire est créé et édité via l’éditeur lexical et est sauvegardé sur un serveur en ligne accessible à tous les membres.</p> <div class="button_row"> <!--<div class="dic_button" id="dic_community_button">Éditer</div> <div class="dic_button" id="dictionaries_button">Dictionnaires en ligne</div>--> </div> </div> <div class="option_section" id="personal_dic_box"> <p><input type="checkbox" id="personal_dic" data-dictionary="personal" /> <label for="personal_dic">Dictionnaire personnel</label></p> <p class="option_description">Ce dictionnaire est créé et édité via l’éditeur lexical et n’est pas partagé.</p> <div class="button_row"> <div class="dic_button" id="dic_personal_button">Éditer</div> |
︙ | ︙ |
Modified gc_lang/fr/webext/panel/main.js from [5094773a1c] to [42d1c08018].
︙ | ︙ | |||
77 78 79 80 81 82 83 | dParam: {}, dInfo: {} }); } else if (xElem.id == "dictionaries_button") { browser.runtime.sendMessage({ sCommand: "openDictionaries", | | | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | dParam: {}, dInfo: {} }); } else if (xElem.id == "dictionaries_button") { browser.runtime.sendMessage({ sCommand: "openDictionaries", dParam: {}, dInfo: {} }); } else if (xElem.id == "dic_community_button") { browser.runtime.sendMessage({ sCommand: "openLexiconEditor", dParam: { "dictionary": "__community__"}, |
︙ | ︙ |