Index: gc_lang/fr/data/locutions.txt ================================================================== --- gc_lang/fr/data/locutions.txt +++ gc_lang/fr/data/locutions.txt @@ -3,20 +3,20 @@ 2-heptanone :Ĺ 35 heures :Ĺ 3eme âge :Ĺ a bon entendeur salut ! :Ĺ a bon escient :Ĺ -a cappella :Â:Ŵ +a cappella :Â|:Ŵ a commercial :Ĺ -a contrario :Â:Ŵ +a contrario :Â|:Ŵ a giorno :Ĺ a la marge :Ĺ a le arrache :Ĺ a mauvais escient :Ĺ a minima :Â a posteriori :Ŵ -a priori :Â:Ŵ +a priori :Â|:Ŵ à (...) près :Ĺ à bâtons rompus :Ŵ à bas :Ŵ à bientôt :Ĺ à bon chat bon rat :Ĺ @@ -78,11 +78,11 @@ à domicile :Ĺ à double tranchant :Ĺ à fin de :Ŕ à fleur de :Ŵ à fleur de eau :Ŵ -à fleur de peau :Â:Ŵ +à fleur de peau :Â|:Ŵ à foison :Ĺ à force de :Ŕ à gauche :Ŵ à genoux :Ŵ à grand renfort de :Ĺ @@ -894,11 +894,11 @@ affiche publicitaire :Ĺ afficheur 7 segments :Ĺ affinité chimique :Ĺ affirmer sous serment :Ĺ afin :Ĺ -afin de :Ŕ:Ĉ +afin de :Ŕ|:Ĉ afin que :Ĉ afrique noire :Ĺ afrique subsaharienne :Ĺ agama agama :Ĺ agama mwanzae :Ĺ Index: gc_lang/fr/modules-js/lexicographe.js ================================================================== --- gc_lang/fr/modules-js/lexicographe.js +++ gc_lang/fr/modules-js/lexicographe.js @@ -409,18 +409,22 @@ } id = id + oLst.length-1; let tmpToken = { 'nEnd':oLst[oLst.length-1].nEnd, 'nStart':oLst[0].nStart, - 'sType':"WORD", + 'sType':"LOC", 'sValue':word.replace('’ ','’').trim() }; if (bInfo) { + let formatedTag = []; + for (let oToFormat of lastTokenWord.split('|') ){ + formatedTag.push( this._formatTags(oToFormat).replace(/(\(él.\))/g,'').trim() ); + } aElem.push({ sType: tmpToken.sType, sValue: tmpToken.sValue, - aLabel: [this._formatTags(lastTokenWord).replace(/(\(él.\))/g,'').trim()] + aLabel: formatedTag }); } else { aElem.push(tmpToken); } } else { Index: gc_lang/fr/modules-js/locutions_data.json ================================================================== --- gc_lang/fr/modules-js/locutions_data.json +++ gc_lang/fr/modules-js/locutions_data.json cannot compute difference between binary files Index: gc_lang/fr/modules/locutions_data.py ================================================================== --- gc_lang/fr/modules/locutions_data.py +++ gc_lang/fr/modules/locutions_data.py cannot compute difference between binary files 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 @@ -54,10 +54,13 @@ padding: 2px 0 10px 20px; } .grammalecte_lxg_morph_elem { color: hsl(0, 0%, 0%); } +.grammalecte_lxg_token_LOC { + background-color: hsla(150, 50%, 30%, 1); +} .grammalecte_lxg_token_WORD { background-color: hsla(150, 50%, 50%, 1); } .grammalecte_lxg_token_ELPFX { background-color: hsla(150, 30%, 50%, 1);