Grammalecte  Check-in [f1e0071b0c]

Overview
Comment:[fr] conj: fix set update
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fr
Files: files | file ages | folders
SHA3-256: f1e0071b0c1472e2cc4e7a59a6077f30b1db9a5828b2b901fd659f841431f80e
User & Date: olr on 2019-07-01 11:19:05
Other Links: manifest | tags
Context
2019-07-01
12:02
[core][js] gc engine: code clarification, stop using prefix d for object variables check-in: 471f63e7ad user: olr tags: trunk, core
11:19
[fr] conj: fix set update check-in: f1e0071b0c user: olr tags: trunk, fr
10:36
[build][fr] fix build_data check-in: fa6c5bd7d6 user: olr tags: trunk, fr, build
Changes

Modified gc_lang/fr/modules-js/conj.js from [27133631b8] to [a010e7113e].

1
2
3
4
5
6
7
8
9
10

11
12
13
14
15
16
17
// Grammalecte - Conjugueur
// License: GPL 3

/* jshint esversion:6, -W097 */
/* jslint esversion:6 */
/* global require, exports, console, self, browser, chrome, __dirname */

"use strict";

${map}



if(typeof(process) !== 'undefined') {
    var helpers = require("../graphspell/helpers.js");
} else if (typeof(require) !== 'undefined') {
    var helpers = require("resource://grammalecte/graphspell/helpers.js");
}










>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Grammalecte - Conjugueur
// License: GPL 3

/* jshint esversion:6, -W097 */
/* jslint esversion:6 */
/* global require, exports, console, self, browser, chrome, __dirname */

"use strict";

${map}
${set}


if(typeof(process) !== 'undefined') {
    var helpers = require("../graphspell/helpers.js");
} else if (typeof(require) !== 'undefined') {
    var helpers = require("resource://grammalecte/graphspell/helpers.js");
}
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
                    aSugg.add("étais");
                    aSugg.add("était");
                }
                aSugg.delete("");
            } else {
                if (this._dVerbNames.hasOwnProperty(sInfi)) {
                    // there are names derivated from the verb
                    aSugg.update(this._dVerbNames[sInfi]);
                } else {
                    // we suggest past participles
                    aSugg.add(this._getConjWithTags(sInfi, tTags, ":PQ", ":Q1"));
                    aSugg.add(this._getConjWithTags(sInfi, tTags, ":PQ", ":Q2"));
                    aSugg.add(this._getConjWithTags(sInfi, tTags, ":PQ", ":Q3"));
                    aSugg.add(this._getConjWithTags(sInfi, tTags, ":PQ", ":Q4"));
                    aSugg.delete("");







|







122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
                    aSugg.add("étais");
                    aSugg.add("était");
                }
                aSugg.delete("");
            } else {
                if (this._dVerbNames.hasOwnProperty(sInfi)) {
                    // there are names derivated from the verb
                    aSugg.gl_update(this._dVerbNames[sInfi]);
                } else {
                    // we suggest past participles
                    aSugg.add(this._getConjWithTags(sInfi, tTags, ":PQ", ":Q1"));
                    aSugg.add(this._getConjWithTags(sInfi, tTags, ":PQ", ":Q2"));
                    aSugg.add(this._getConjWithTags(sInfi, tTags, ":PQ", ":Q3"));
                    aSugg.add(this._getConjWithTags(sInfi, tTags, ":PQ", ":Q4"));
                    aSugg.delete("");