Overview
Comment: | [lo] text formatter: fix strange bugs with replacements (again) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | lo |
Files: | files | file ages | folders |
SHA3-256: |
05a7a5fb8e5412f9ff1ec8748f611e0a |
User & Date: | olr on 2019-07-24 06:59:44 |
Other Links: | manifest | tags |
Context
2019-07-24
| ||
07:50 | [lo] text formatter: fix strange bugs with replacements (again) check-in: df2bb268e4 user: olr tags: trunk, lo | |
06:59 | [lo] text formatter: fix strange bugs with replacements (again) check-in: 05a7a5fb8e user: olr tags: trunk, lo | |
06:58 | [fr] tests et ajustements check-in: 010d9c0ace user: olr tags: trunk, fr | |
Changes
Modified gc_lang/fr/oxt/TextFormatter/tf_tabrep.py from [aadf88372a] to [49ffcf3199].
︙ | |||
117 118 119 120 121 122 123 | 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | - - - - + + + + | "nnbsp4": [ ("([:digit:])[ ]([:digit:])", "$1 $2", True, True) ], "nbsp5": [ ("(?<=[0-9⁰¹²³⁴⁵⁶⁷⁸⁹]) ?([kcmµnd]?(?:[slgJKΩΩℓ]|m[²³]?|Wh?|Hz|dB)|[%‰]|°C)\\b", " $1", True, True) ], "nbsp6": [ |
︙ | |||
251 252 253 254 255 256 257 | 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 | - + | ("\\bJ\\.kg(?=-1)\\b", "J·kg", True, True), ("\\bJ\\.m(?=-3)\\b", "J·m", True, True), ("\\bm[2²]\\.s\\b", "m²·s", True, True), ("\\bm[3³]\\.s(?=-1)\\b", "m³·s", True, True), #("\\bJ.kg-1.K-1\\b", "J·kg-1·K-1", True, True), #("\\bW.m-1.K-1\\b", "W·m-1·K-1", True, True), #("\\bW.m-2.K-1\\b", "W·m-2·K-1", True, True), |
︙ | |||
293 294 295 296 297 298 299 | 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 | - + + | # mots communs avec diacritiques manquants ("\\bCa\\b", "Ça", True, True), (" ca\\b", " ça", True, True), ("\\bdej[aà]\\b", "déjà", True, True), ("\\bDej[aà]\\b", "Déjà", True, True), ("\\bplutot\\b", "plutôt", True, True), ("\\bPlutot\\b", "Plutôt", True, True), |
︙ | |||
384 385 386 387 388 389 390 | 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 | - - + + + + + - - + + | ("(?<!,) etc[.]", ", etc.", True, True) ], "misc3": [ ("[ -]t[’'](?=il\\b|elle|on\\b)", "-t-", True, True), (" t-(?=il|elle|on)", "-t-", True, True), ("[ -]t[’'-](?=ils|elles)", "-", True, True), ("(?<=[td])-t-(?=il|elle|on)", "-", True, True), |
︙ |
Modified tests/fr/formateur_de_texte.odt from [d7d8a124ac] to [2eadb3b80f].
cannot compute difference between binary files