Grammalecte  Check-in [eda5a34bc9]

Overview
Comment:Changement mineur
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fr | Lexicographe
Files: files | file ages | folders
SHA3-256: eda5a34bc909f43f7151505f3ed61be03199ed2b38be526ee78d378f637e32a5
User & Date: IllusionPerdu on 2017-10-31 20:42:08
Other Links: branch diff | manifest | tags
Context
2017-10-31
21:05
Optimisation mineur check-in: 1a7c706a66 user: IllusionPerdu tags: fr, Lexicographe
20:42
Changement mineur check-in: eda5a34bc9 user: IllusionPerdu tags: fr, Lexicographe
19:47
Ajustement pour retrouver les informations des locutions check-in: 70a2417975 user: IllusionPerdu tags: fr, Lexicographe
Changes

Modified gc_lang/fr/modules-js/lexicographe.js from [30978ab7a1] to [8b933913ea].

347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
        let sRes = "";
        let sTagsVerb = sTags.replace(/(:LV)([a-z].?)(.*)/, '$2');
        sTags = sTags.replace(/(:LV)([a-z].?)(.*)/, "V$1");
        let m;
        while ((m = this._zTag.exec(sTags)) !== null) {
            sRes += _dLocTAGS.get(m[0]);
            if (m[0] == ':LV'){
                for (let sKey of sTagsVerb.split('')) {
                    sRes += _dLocVERB.get(sKey);
                };
            }
            if (sRes.length > 100) {
                break;
            }
        }
        if (!sRes) {
            sRes = "#Erreur. Étiquette inconnue : [" + sTags + "]";







|

|







347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
        let sRes = "";
        let sTagsVerb = sTags.replace(/(:LV)([a-z].?)(.*)/, '$2');
        sTags = sTags.replace(/(:LV)([a-z].?)(.*)/, "V$1");
        let m;
        while ((m = this._zTag.exec(sTags)) !== null) {
            sRes += _dLocTAGS.get(m[0]);
            if (m[0] == ':LV'){
                sTagsVerb.split(/(?!$)/u).forEach(function(sKey) {
                    sRes += _dLocVERB.get(sKey);
                });
            }
            if (sRes.length > 100) {
                break;
            }
        }
        if (!sRes) {
            sRes = "#Erreur. Étiquette inconnue : [" + sTags + "]";