Overview
| Comment: | [fr][bug] nombres ordinaux singuliers et pluriels: inversion des messages d’erreur |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | fr |
| Files: | files | file ages | folders |
| SHA3-256: |
e8a69199a8d46f04a291bedcbb2f7d94 |
| User & Date: | olr on 2017-11-02 08:24:24 |
| Other Links: | manifest | tags |
Context
|
2017-11-03
| ||
| 10:57 | [fr] guillemets fermants après le signe <…> check-in: 79bdf36031 user: olr tags: trunk, fr | |
|
2017-11-02
| ||
| 08:24 | [fr][bug] nombres ordinaux singuliers et pluriels: inversion des messages d’erreur check-in: e8a69199a8 user: olr tags: trunk, fr | |
| 07:57 | [fr] écriture dystypographique: nouveau cas particulier check-in: ef37355aae user: olr tags: trunk, fr | |
Changes
Modified gc_lang/fr/rules.grx from [86facd7daf] to [990b5e8cf4].
| ︙ | ︙ | |||
1178 1179 1180 1181 1182 1183 1184 |
# Nombre ordinal. Premier : 1ᵉʳ. Première : 1ʳᵉ. Premier : 1ᵉʳˢ. Première : 1ʳᵉˢ.|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271
__[s]/typo(typo_ordinaux_deuxième)__
2 ?nde?s?
<<- ->> =\0.replace(" ", "").replace("n", "").replace("d", "ᵈ").replace("e", "ᵉ").replace("s", "ˢ")
# Nombre ordinal. Second : 2ᵈ. Seconde : 2ᵈᵉ. Seconds : 2ᵈˢ. Secondes : 2ᵈᵉˢ.|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271
__[s]/typo(typo_ordinaux_nième)__
([0-9]+) ?(?:è|i?[èe]me)s? @@0
| | | | 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 |
# Nombre ordinal. Premier : 1ᵉʳ. Première : 1ʳᵉ. Premier : 1ᵉʳˢ. Première : 1ʳᵉˢ.|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271
__[s]/typo(typo_ordinaux_deuxième)__
2 ?nde?s?
<<- ->> =\0.replace(" ", "").replace("n", "").replace("d", "ᵈ").replace("e", "ᵉ").replace("s", "ˢ")
# Nombre ordinal. Second : 2ᵈ. Seconde : 2ᵈᵉ. Seconds : 2ᵈˢ. Secondes : 2ᵈᵉˢ.|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271
__[s]/typo(typo_ordinaux_nième)__
([0-9]+) ?(?:è|i?[èe]me)s? @@0
<<- \0.endswith("s") ->> \1ᵉˢ # Nombre ordinal pluriel. Exemples : 2ᵉˢ, 3ᵉˢ, 4ᵉˢ…|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271
<<- __else__ ->> \1ᵉ # Nombre ordinal singulier. Exemples : 2ᵉ, 3ᵉ, 4ᵉ…|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271
__[s]/typo(typo_ordinaux_romain_premier)__
I ?(?:ier|i?ère)s?
<<- ->> =\0.replace(" ", "").replace("è", "").replace("i", "").replace("e", "ᵉ").replace("r", "ʳ").replace("s", "ˢ")
# Nombre ordinal romain. Premier : 1ᵉʳ. Première : Iʳᵉ. Premier : Iᵉʳˢ. Première : Iʳᵉˢ.|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271
__[s]/typo(typo_ordinaux_romain_deuxième)__
II ?nde?s?
<<- ->> =\0.replace(" ", "").replace("n", "").replace("d", "ᵈ").replace("e", "ᵉ").replace("s", "ˢ")
|
| ︙ | ︙ |