Index: gc_lang/fr/modules-js/lexicographe.js ================================================================== --- gc_lang/fr/modules-js/lexicographe.js +++ gc_lang/fr/modules-js/lexicographe.js @@ -300,12 +300,12 @@ return { sType: oToken.sType, sValue: oToken.sValue, aLabel: ["forme verbale interrogative"], aSubElem: [ - { sType: oToken.sType, sValue: m[1], aLabel: aElem }, - { sType: oToken.sType, sValue: "-" + m[2], aLabel: [this._formatSuffix(m[2].toLowerCase())] } + { sType: oToken.sType, sValue: m[1], aLabel: aElem }, + { sType: oToken.sType, sValue: "-" + m[2], aLabel: [this._formatSuffix(m[2].toLowerCase())] } ] }; } else if (this.oDict.isValidToken(oToken.sValue)) { let lMorph = this.oDict.getMorph(oToken.sValue); let aElem = []; @@ -447,10 +447,11 @@ }; if (bInfo) { let aSubElem = null; if (sMorphLoc.startsWith("*|")) { // cette suite de tokens n’est une locution que dans certains cas minoritaires + oTokenLocution.sType = "LOCP"; for (let oElem of this.generateInfoForTokenList(aTokenTempList)) { aElem.push(oElem); } sMorphLoc = sMorphLoc.slice(2); } else { Index: gc_lang/fr/webext/content_scripts/panel_lxg.css ================================================================== --- gc_lang/fr/webext/content_scripts/panel_lxg.css +++ gc_lang/fr/webext/content_scripts/panel_lxg.css @@ -53,10 +53,17 @@ color: hsl(0, 0%, 96%); padding: 2px 5px; border-radius: 2px; text-decoration: none; font-weight: bold; +} +.grammalecte_lxg_token_also { + display: inline-block; + margin-left: 5px; + color: hsl(0, 0%, 50%); + padding: 2px 5px; + text-decoration: none; } .grammalecte_lxg_token_colon { display: inline-block; padding: 2px 5px; color: hsl(0, 0%, 50%); Index: gc_lang/fr/webext/content_scripts/panel_lxg.js ================================================================== --- gc_lang/fr/webext/content_scripts/panel_lxg.js +++ gc_lang/fr/webext/content_scripts/panel_lxg.js @@ -61,10 +61,13 @@ } _createTokenDescr (oToken) { try { let xTokenDescr = oGrammalecte.createNode("div", {className: "grammalecte_lxg_token_descr"}); + if (oToken.sType == "LOCP") { + xTokenDescr.appendChild(oGrammalecte.createNode("div", {className: "grammalecte_lxg_token_also", textContent: "possiblement › "})); + } xTokenDescr.appendChild(oGrammalecte.createNode("div", {className: "grammalecte_lxg_token grammalecte_lxg_token_" + oToken.sType, textContent: oToken.sValue})); xTokenDescr.appendChild(oGrammalecte.createNode("div", {className: "grammalecte_lxg_token_colon", textContent: ":"})); if (oToken.aLabel.length === 1) { xTokenDescr.appendChild(document.createTextNode(oToken.aLabel[0])); } else {