Overview
Comment: | [fx] WebExt: message when no error detected. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | fx |
Files: | files | file ages | folders |
SHA3-256: |
c51bc21a0df2978876c4fc41c8b1f5e8 |
User & Date: | olr on 2017-09-12 10:31:04 |
Other Links: | manifest | tags |
Context
2017-09-12
| ||
18:52 | [fr] merge fr_killtricks: fin de la dette technique des versions précédentes. La désambiguïsation ne se fait plus par le processeur de texte, mais uniquement via le désambiguïsateur check-in: 0aa00f3c96 user: olr tags: trunk, fr, major_change | |
10:31 | [fx] WebExt: message when no error detected. check-in: c51bc21a0d user: olr tags: trunk, fx | |
08:41 | [fx] WebExt: mode debug for simple test check-in: 3ac8707213 user: olr tags: trunk, fx | |
Changes
Modified gc_lang/fr/webext/gce_worker.js from [285ccf74ab] to [438c2d90f5].
︙ | ︙ | |||
244 245 246 247 248 249 250 251 252 253 254 255 256 257 | return; } let aGrammErr = gc_engine.parse(sText, sCountry, bDebug, bContext); let sMsg = ""; for (let oErr of aGrammErr) { sMsg += text.getReadableError(oErr) + "\n"; } postMessage(createResponse("textToTest", sMsg, dInfo, true)); } function fullTests (dInfo={}) { if (!gc_engine || !oDict) { postMessage(createResponse("fullTests", "# Grammar checker or dictionary not loaded.", dInfo, true)); return; | > > > | 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 | return; } let aGrammErr = gc_engine.parse(sText, sCountry, bDebug, bContext); let sMsg = ""; for (let oErr of aGrammErr) { sMsg += text.getReadableError(oErr) + "\n"; } if (sMsg == "") { sMsg = "Aucune erreur détectée."; } postMessage(createResponse("textToTest", sMsg, dInfo, true)); } function fullTests (dInfo={}) { if (!gc_engine || !oDict) { postMessage(createResponse("fullTests", "# Grammar checker or dictionary not loaded.", dInfo, true)); return; |
︙ | ︙ |