Overview
Comment: | [core][fr] lexicographe: ajustements |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | fr | core |
Files: | files | file ages | folders |
SHA3-256: |
2a10081bc275fb1663e0890585c6037b |
User & Date: | olr on 2020-01-12 09:58:47 |
Other Links: | manifest | tags |
Context
2020-01-14
| ||
13:30 | [fr] ajustements check-in: 069ad79fc6 user: olr tags: trunk, fr | |
2020-01-12
| ||
09:58 | [core][fr] lexicographe: ajustements check-in: 2a10081bc2 user: olr tags: trunk, fr, core | |
09:33 | [graphspell][js] fix tokenizer for HTML markers check-in: b6c3593f76 user: olr tags: trunk, graphspell | |
Changes
Modified gc_lang/fr/modules-js/lexicographe.js from [f01ccf515f] to [ff079a1504].
︙ | ︙ | |||
203 204 205 206 207 208 209 | [':', "deux-points"], [';', "point-virgule"], [',', "virgule"], ['?', "point d’interrogation"], ['!', "point d’exclamation"], ['(', "parenthèse ouvrante"], [')', "parenthèse fermante"], | | | | 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 | [':', "deux-points"], [';', "point-virgule"], [',', "virgule"], ['?', "point d’interrogation"], ['!', "point d’exclamation"], ['(', "parenthèse ouvrante"], [')', "parenthèse fermante"], ['[', "crochet ouvrant"], [']', "crochet fermant"], ['{', "accolade ouvrante"], ['}', "accolade fermante"], ['-', "tiret"], ['—', "tiret cadratin"], ['–', "tiret demi-cadratin"], ['«', "guillemet ouvrant (chevrons)"], ['»', "guillemet fermant (chevrons)"], |
︙ | ︙ | |||
271 272 273 274 275 276 277 278 279 280 281 282 283 284 | break; case 'LINK': return { sType: oToken.sType, sValue: oToken.sValue.slice(0, 40) + "…", aLabel: ["hyperlien"] }; break; case 'WORD_ELIDED': let sTemp = oToken.sValue.replace("’", "").replace("'", "").replace("`", "").toLowerCase(); return { sType: oToken.sType, sValue: oToken.sValue, aLabel: [_dElidedPrefix.gl_get(sTemp, "préfixe élidé inconnu")] | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 | break; case 'LINK': return { sType: oToken.sType, sValue: oToken.sValue.slice(0, 40) + "…", aLabel: ["hyperlien"] }; break; case 'TAG': return { sType: oToken.sType, sValue: oToken.sValue, aLabel: ["étiquette (hashtag)"] }; break; case 'HTML': return { sType: oToken.sType, sValue: oToken.sValue.slice(0, 40) + "…", aLabel: ["balise HTML"] }; break; case 'PSEUDOHTML': return { sType: oToken.sType, sValue: oToken.sValue, aLabel: ["balise pseudo-HTML"] }; break; case 'HTMLENTITY': return { sType: oToken.sType, sValue: oToken.sValue, aLabel: ["entité caractère XML/HTML"] }; break; case 'HOUR': return { sType: oToken.sType, sValue: oToken.sValue, aLabel: ["heure"] }; break; case 'WORD_ELIDED': let sTemp = oToken.sValue.replace("’", "").replace("'", "").replace("`", "").toLowerCase(); return { sType: oToken.sType, sValue: oToken.sValue, aLabel: [_dElidedPrefix.gl_get(sTemp, "préfixe élidé inconnu")] |
︙ | ︙ | |||
371 372 373 374 375 376 377 | sValue: oToken.sValue, aLabel: ["mot inconnu du dictionnaire"] }; } break; default: return { | | | 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 | sValue: oToken.sValue, aLabel: ["mot inconnu du dictionnaire"] }; } break; default: return { sType: oToken.sType, sValue: oToken.sValue, aLabel: ["token inconnu"] } } } catch (e) { console.error(e); } |
︙ | ︙ |