polytypo 1.17.5 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/polytypo/data/VERSION +1 -1
  3. data/lib/polytypo/data/fixtures/bg.json +1 -1
  4. data/lib/polytypo/data/fixtures/cs.json +1 -1
  5. data/lib/polytypo/data/fixtures/de-CH.json +1 -1
  6. data/lib/polytypo/data/fixtures/de-DE.json +1 -1
  7. data/lib/polytypo/data/fixtures/el.json +46 -4
  8. data/lib/polytypo/data/fixtures/en-GB.json +1 -1
  9. data/lib/polytypo/data/fixtures/en-US.json +1 -1
  10. data/lib/polytypo/data/fixtures/es.json +272 -7
  11. data/lib/polytypo/data/fixtures/fi.json +1 -1
  12. data/lib/polytypo/data/fixtures/fr-CA.json +1 -1
  13. data/lib/polytypo/data/fixtures/fr.json +1 -1
  14. data/lib/polytypo/data/fixtures/hr.json +1 -1
  15. data/lib/polytypo/data/fixtures/hu.json +1 -1
  16. data/lib/polytypo/data/fixtures/it.json +1 -1
  17. data/lib/polytypo/data/fixtures/locale-resolution.json +1 -1
  18. data/lib/polytypo/data/fixtures/lt.json +1 -1
  19. data/lib/polytypo/data/fixtures/nl.json +1 -1
  20. data/lib/polytypo/data/fixtures/pl.json +1 -1
  21. data/lib/polytypo/data/fixtures/pt-BR.json +1 -1
  22. data/lib/polytypo/data/fixtures/pt-PT.json +1 -1
  23. data/lib/polytypo/data/fixtures/ro.json +1 -1
  24. data/lib/polytypo/data/fixtures/ru.json +1 -1
  25. data/lib/polytypo/data/fixtures/sk.json +1 -1
  26. data/lib/polytypo/data/fixtures/sl.json +1 -1
  27. data/lib/polytypo/data/fixtures/sr.json +1 -1
  28. data/lib/polytypo/data/fixtures/sv.json +1 -1
  29. data/lib/polytypo/data/fixtures/tr.json +1 -1
  30. data/lib/polytypo/data/fixtures/uk.json +1 -1
  31. data/lib/polytypo/data/locales/el.json +2 -2
  32. data/lib/polytypo/data/locales/es.json +2 -2
  33. data/lib/polytypo/data/locales/registry.json +1 -1
  34. data/lib/polytypo/data/rules/dashes.md +115 -44
  35. data/lib/polytypo/data/rules/modes.md +0 -1
  36. data/lib/polytypo/data/rules/order.json +2 -2
  37. data/lib/polytypo/data/rules/pipeline-idempotency.md +7 -0
  38. data/lib/polytypo/data/schema/locale.schema.json +2 -2
  39. data/lib/polytypo/engine/rules/dash_shared.rb +32 -21
  40. data/lib/polytypo/engine/rules/dashes.rb +4 -1
  41. data/lib/polytypo/engine/rules/dashes_paired.rb +160 -0
  42. data/lib/polytypo/version.rb +1 -1
  43. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ada78393268412e145c286f3a52ca2b1529637472b413e2ad96533763ca4feb
4
- data.tar.gz: ca2eab4d74188ca6f57e71a573722e8b51454621e2d648fcd4df6417d4a2701b
3
+ metadata.gz: c80490c6abd3577de5e13d2ace6d7c2bc7f2b10117b4724e160a7fc7e0abab9a
4
+ data.tar.gz: 905d863a8de002599957525fba8e66436f1c416bf9b823573a3ec0ebc22680f0
5
5
  SHA512:
6
- metadata.gz: 72da361c3230aa58f7c06cb595685d53e6a949858eae318ae207fc5819924c598d99246393afdc917c3abe1431a6cbe88d548133e758668ef3d23ad382bfc6f2
7
- data.tar.gz: b7b2f9646e6f326010604a6097409d34e3c80b3ffabf4a28582946832c4705da343437bd538188363b32b97393889f6ed204d06de47cf315623e80765e61830e
6
+ metadata.gz: fd5296f82502fc9bad2cafb075f48e4ebe2d6a12d0629dfb2786a6a23c1ebd9df756d830db38515896f880ad029e0783ccbdc772573a0a140dc5af8c4bf0610d
7
+ data.tar.gz: 3486aff14a8152b2cd836e37f350a7284f2286e9aab11bceb51e288843fd4c0e984f788f5b9a4d734a613ccc75a61f5aefc3d9e911814ff6a7e493c0867cb0c5
@@ -1 +1 @@
1
- 1.17.5
1
+ 1.19.0
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "bg",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "cs",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "de-CH",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "de-DE",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "el",
4
4
  "cases": [
5
5
  {
@@ -94,12 +94,54 @@
94
94
  }
95
95
  },
96
96
  {
97
- "id": "el-dashes-parenthetical-noop",
97
+ "id": "el-dashes-paired-spaced-hyphens",
98
98
  "rule": "dashes",
99
99
  "mode": "text",
100
100
  "in": "Το σχέδιο - αν υπάρχει - αποτυγχάνει.",
101
- "out": "Το σχέδιο - αν υπάρχει - αποτυγχάνει.",
102
- "note": "dashes.md §6 case 34. dash.parenthetical is \"none\": the source prescribes spaces outside the dash pair and none inside, which no value of the enum expresses."
101
+ "out": "Το σχέδιο —αν υπάρχει— αποτυγχάνει.",
102
+ "note": "dashes.md §6 case 34. dash.parenthetical is \"em-paired\" since spec 1.19.0: U+2014 with a space outside the pair and none inside, as the EU guide §10.1.8 prescribes."
103
+ },
104
+ {
105
+ "id": "el-dashes-paired-double-hyphen",
106
+ "rule": "dashes",
107
+ "mode": "text",
108
+ "in": "Περπατήσαμε -- σχεδόν 3 χλμ -- και το βρήκαμε κλειστό.",
109
+ "out": "Περπατήσαμε —σχεδόν 3 χλμ— και το βρήκαμε κλειστό."
110
+ },
111
+ {
112
+ "id": "el-dashes-paired-tight-em",
113
+ "rule": "dashes",
114
+ "mode": "text",
115
+ "in": "Το σχέδιο—αν υπάρχει—αποτυγχάνει.",
116
+ "out": "Το σχέδιο —αν υπάρχει— αποτυγχάνει."
117
+ },
118
+ {
119
+ "id": "el-dashes-paired-already-correct",
120
+ "rule": "dashes",
121
+ "mode": "text",
122
+ "in": "Έφτασε —επιτέλους— σπίτι.",
123
+ "out": "Έφτασε —επιτέλους— σπίτι."
124
+ },
125
+ {
126
+ "id": "el-dashes-paired-spaced-em",
127
+ "rule": "dashes",
128
+ "mode": "text",
129
+ "in": "Έφτασε — επιτέλους — σπίτι.",
130
+ "out": "Έφτασε —επιτέλους— σπίτι."
131
+ },
132
+ {
133
+ "id": "el-dashes-single-hyphen-untouched",
134
+ "rule": "dashes",
135
+ "mode": "text",
136
+ "in": "Αθήνα - η πρωτεύουσα της Ελλάδας.",
137
+ "out": "Αθήνα - η πρωτεύουσα της Ελλάδας."
138
+ },
139
+ {
140
+ "id": "el-dashes-lone-en-dash-untouched",
141
+ "rule": "dashes",
142
+ "mode": "text",
143
+ "in": "Έφτασε – επιτέλους – σπίτι.",
144
+ "out": "Έφτασε – επιτέλους – σπίτι."
103
145
  },
104
146
  {
105
147
  "id": "el-ranges-existing-en-dash-noop",
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "en-GB",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "en-US",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "es",
4
4
  "cases": [
5
5
  {
@@ -43,20 +43,285 @@
43
43
  "note": "abbreviatedAfterTerminal = false: la forma de dos puntos tras «?» que usa el ruso no existe en español, así que los dos puntos se completan a U+2026 en vez de conservarse."
44
44
  },
45
45
  {
46
- "id": "es-dashes-parenthetical-em-spaced-known-deviation",
46
+ "id": "es-dashes-paired-spaced-hyphens",
47
47
  "rule": "dashes",
48
48
  "mode": "text",
49
49
  "in": "El plan - si existe - fracasa.",
50
- "out": "El plan — si existe — fracasa.",
51
- "note": "dash.parenthetical = \"em-spaced\", una aproximación fijada por decisión del operador (spec 1.17.1). El DPD prescribe raya con espacios FUERA del par y ninguno dentro («El plan —si existe— fracasa.»); el enum no expresa esa asimetría, así que la salida lleva dos espacios interiores que la norma no admite. Se prefiere a dejar el guion U+002D del autor. Véase la voz dashes de es.json."
50
+ "out": "El plan —si existe— fracasa.",
51
+ "note": "Guiones espaciados a ambos lados: el par se escribe «—si existe—», con espacio fuera del par y ninguno dentro (DPD «raya», 2)."
52
52
  },
53
53
  {
54
- "id": "es-dashes-double-hyphen-em-spaced-known-deviation",
54
+ "id": "es-dashes-paired-double-hyphen",
55
55
  "rule": "dashes",
56
56
  "mode": "text",
57
57
  "in": "Caminamos -- casi 3 km -- y estaba cerrada.",
58
- "out": "Caminamos — casi 3 km — y estaba cerrada.",
59
- "note": "Misma aproximación que es-dashes-parenthetical-em-spaced-known-deviation, con la forma «--» que se teclea a menudo; los espacios interiores no son los del DPD."
58
+ "out": "Caminamos —casi 3 km— y estaba cerrada.",
59
+ "note": "La forma «--» que se teclea a menudo converge a la misma forma del DPD."
60
+ },
61
+ {
62
+ "id": "es-dashes-paired-tight-em",
63
+ "rule": "dashes",
64
+ "mode": "text",
65
+ "in": "El plan—si existe—fracasa.",
66
+ "out": "El plan —si existe— fracasa.",
67
+ "note": "Rayas pegadas por ambos lados: se añade el espacio exterior y no se toca el interior."
68
+ },
69
+ {
70
+ "id": "es-dashes-paired-already-correct",
71
+ "rule": "dashes",
72
+ "mode": "text",
73
+ "in": "Llegó —por fin— a casa.",
74
+ "out": "Llegó —por fin— a casa.",
75
+ "note": "Forma del DPD ya correcta: punto fijo."
76
+ },
77
+ {
78
+ "id": "es-dashes-paired-spaced-em",
79
+ "rule": "dashes",
80
+ "mode": "text",
81
+ "in": "Llegó — por fin — a casa.",
82
+ "out": "Llegó —por fin— a casa.",
83
+ "note": "Salida de las versiones 1.17.x (espacios interiores): se cierran los interiores."
84
+ },
85
+ {
86
+ "id": "es-dashes-paired-half-correct",
87
+ "rule": "dashes",
88
+ "mode": "text",
89
+ "in": "Llegó —por fin — a casa.",
90
+ "out": "Llegó —por fin— a casa.",
91
+ "note": "Raya de cierre con espacio interior: se cierra."
92
+ },
93
+ {
94
+ "id": "es-dashes-paired-before-full-stop",
95
+ "rule": "dashes",
96
+ "mode": "text",
97
+ "in": "Llegó a casa--por fin--.",
98
+ "out": "Llegó a casa —por fin—.",
99
+ "note": "El cierre queda pegado al punto: no se inserta espacio donde `spaces` lo borraría."
100
+ },
101
+ {
102
+ "id": "es-dashes-paired-guillemets",
103
+ "rule": "dashes",
104
+ "mode": "text",
105
+ "in": "«Llegó - por fin - a casa»",
106
+ "out": "«Llegó —por fin— a casa»",
107
+ "note": "Las comillas angulares no cambian el reparto del par."
108
+ },
109
+ {
110
+ "id": "es-dashes-paired-compound-inside",
111
+ "rule": "dashes",
112
+ "mode": "text",
113
+ "in": "Llegó - por fin - a la zona hispano-árabe.",
114
+ "out": "Llegó —por fin— a la zona hispano-árabe.",
115
+ "note": "Un guion de palabra compuesta dentro del par no cuenta como raya."
116
+ },
117
+ {
118
+ "id": "es-dashes-paired-digit-inside",
119
+ "rule": "dashes",
120
+ "mode": "text",
121
+ "in": "Llegó - tras 3 - a casa.",
122
+ "out": "Llegó —tras 3— a casa.",
123
+ "note": "Un número dentro del par no impide la conversión."
124
+ },
125
+ {
126
+ "id": "es-dashes-paired-range-inside",
127
+ "rule": "dashes",
128
+ "mode": "text",
129
+ "in": "Llegó - tras 3-5 - a casa.",
130
+ "out": "Llegó —tras 3-5— a casa.",
131
+ "note": "Un rango con guion dentro del par queda como está (lo gestiona `ranges`)."
132
+ },
133
+ {
134
+ "id": "es-dashes-dialogue-untouched",
135
+ "rule": "dashes",
136
+ "mode": "text",
137
+ "in": "—Hola —dijo—. ¿Vienes? —preguntó María.",
138
+ "out": "—Hola —dijo—. ¿Vienes? —preguntó María.",
139
+ "note": "Las rayas de diálogo no se tocan: la primera abre la línea y el segmento tiene más de dos rayas."
140
+ },
141
+ {
142
+ "id": "es-dashes-dialogue-open",
143
+ "rule": "dashes",
144
+ "mode": "text",
145
+ "in": "—Hola —dijo.",
146
+ "out": "—Hola —dijo.",
147
+ "note": "Diálogo con una sola raya de incisa: se deja como está."
148
+ },
149
+ {
150
+ "id": "es-dashes-dialogue-hyphens",
151
+ "rule": "dashes",
152
+ "mode": "text",
153
+ "in": "—Hola - dijo - y se fue.",
154
+ "out": "—Hola - dijo - y se fue.",
155
+ "note": "Una raya de diálogo al inicio hace que el segmento tenga tres rayas: ninguna se convierte."
156
+ },
157
+ {
158
+ "id": "es-dashes-single-hyphen-untouched",
159
+ "rule": "dashes",
160
+ "mode": "text",
161
+ "in": "Madrid - la capital de España.",
162
+ "out": "Madrid - la capital de España.",
163
+ "note": "Un solo guion espaciado no forma par: se deja tal como está (el DPD no describe este uso)."
164
+ },
165
+ {
166
+ "id": "es-dashes-two-sentences-untouched",
167
+ "rule": "dashes",
168
+ "mode": "text",
169
+ "in": "Madrid - la capital. Sevilla - la bella.",
170
+ "out": "Madrid - la capital. Sevilla - la bella.",
171
+ "note": "Cada frase tiene una sola raya: no hay par y no se toca ninguna."
172
+ },
173
+ {
174
+ "id": "es-dashes-three-untouched",
175
+ "rule": "dashes",
176
+ "mode": "text",
177
+ "in": "Juan - mi primo - llegó y - según dicen - durmió.",
178
+ "out": "Juan - mi primo - llegó y - según dicen - durmió.",
179
+ "note": "Cuatro rayas en una frase: no se empareja ninguna."
180
+ },
181
+ {
182
+ "id": "es-dashes-across-line-untouched",
183
+ "rule": "dashes",
184
+ "mode": "text",
185
+ "in": "Llegó - por\nfin - a casa.",
186
+ "out": "Llegó - por\nfin - a casa.",
187
+ "note": "El par no cruza un salto de línea."
188
+ },
189
+ {
190
+ "id": "es-dashes-affix-hyphens-untouched",
191
+ "rule": "dashes",
192
+ "mode": "text",
193
+ "in": "el sufijo -mente y el prefijo pre- son",
194
+ "out": "el sufijo -mente y el prefijo pre- son",
195
+ "note": "Guiones de afijo, pegados por un solo lado, no son rayas."
196
+ },
197
+ {
198
+ "id": "es-dashes-option-flag-untouched",
199
+ "rule": "dashes",
200
+ "mode": "text",
201
+ "in": "usa --force y -v",
202
+ "out": "usa --force y -v",
203
+ "note": "Opciones de línea de comandos: no son rayas."
204
+ },
205
+ {
206
+ "id": "es-dashes-misplaced-spacing-untouched",
207
+ "rule": "dashes",
208
+ "mode": "text",
209
+ "in": "Llegó— por fin —a casa.",
210
+ "out": "Llegó— por fin —a casa.",
211
+ "note": "Espacios invertidos respecto a la forma del DPD: no se reinterpretan."
212
+ },
213
+ {
214
+ "id": "es-dashes-question-inside-paired",
215
+ "rule": "dashes",
216
+ "mode": "text",
217
+ "in": "Llegó —¿quién lo diría?— a casa.",
218
+ "out": "Llegó —¿quién lo diría?— a casa.",
219
+ "note": "El signo de interrogación dentro del par no corta la frase."
220
+ },
221
+ {
222
+ "id": "es-dashes-abbreviation-splits-pair",
223
+ "rule": "dashes",
224
+ "mode": "text",
225
+ "in": "Llegó - p. ej. ayer - a casa.",
226
+ "out": "Llegó - p. ej. ayer - a casa.",
227
+ "note": "El punto de la abreviatura cierra la frase: cada mitad tiene una sola raya, no hay par y no se toca ninguna (el espacio duro U+00A0 tras «p.» lo pone nbsp)."
228
+ },
229
+ {
230
+ "id": "es-dashes-lone-en-dash-untouched",
231
+ "rule": "dashes",
232
+ "mode": "text",
233
+ "in": "Llegó – por fin – a casa.",
234
+ "out": "Llegó – por fin – a casa.",
235
+ "note": "P5 de dashes.md: una semirraya sola escrita por el autor no se reinterpreta."
236
+ },
237
+ {
238
+ "id": "es-dashes-digit-far-dash-untouched",
239
+ "rule": "dashes",
240
+ "mode": "text",
241
+ "in": "Vimos 3 - 4--por fin--bien.",
242
+ "out": "Vimos 3 - 4--por fin--bien.",
243
+ "note": "T1 de dashes.md: no se inserta un espacio junto a una cifra que tiene otra raya al otro lado."
244
+ },
245
+ {
246
+ "id": "es-dashes-roman-range-before-pair",
247
+ "rule": "dashes",
248
+ "mode": "text",
249
+ "in": "En los siglos XV—XVII - según dicen - hubo guerras.",
250
+ "out": "En los siglos XV—XVII - según dicen - hubo guerras.",
251
+ "note": "Un rango en cifras romanas cuenta como raya del segmento: tres rayas, no se toca ninguna."
252
+ },
253
+ {
254
+ "id": "es-dashes-abbreviation-title-splits-pair",
255
+ "rule": "dashes",
256
+ "mode": "text",
257
+ "in": "Llegó - dijo el Sr. Pérez - a casa.",
258
+ "out": "Llegó - dijo el Sr. Pérez - a casa.",
259
+ "note": "El punto de «Sr.» cierra la frase aunque `nbsp` ponga después un espacio duro: cada mitad tiene una sola raya y no se toca ninguna. Debe dar lo mismo en la segunda pasada."
260
+ },
261
+ {
262
+ "id": "es-dashes-plus-minus-outside-pair",
263
+ "rule": "dashes",
264
+ "mode": "text",
265
+ "in": "Llegó - con +/- 5 kg - a casa.",
266
+ "out": "Llegó —con ± 5 kg— a casa.",
267
+ "note": "El guion de «+/-» no es una raya: `symbols` lo convierte en «±» después, de modo que no debe contar para el par."
268
+ },
269
+ {
270
+ "id": "es-dashes-roman-range-beside-single",
271
+ "rule": "dashes",
272
+ "mode": "text",
273
+ "in": "Era XV—XVII - dicen.",
274
+ "out": "Era XV—XVII - dicen.",
275
+ "note": "P4: la raya pegada entre dos números romanos es un rango ya correcto y cuenta como raya del segmento; con la otra son dos y no se convierte ninguna."
276
+ },
277
+ {
278
+ "id": "es-dashes-digit-inside-pair-cluster",
279
+ "rule": "dashes",
280
+ "mode": "text",
281
+ "in": "Salió - 5 - de casa.",
282
+ "out": "Salió —5— de casa.",
283
+ "note": "El número solo dentro del par convierte; en la segunda pasada las dos rayas forman un grupo con la cifra y se rechazan, de modo que el resultado no cambia."
284
+ },
285
+ {
286
+ "id": "es-dashes-nbsp-beside-stroke-untouched",
287
+ "rule": "dashes",
288
+ "mode": "text",
289
+ "in": "Llegó - por fin - a casa.",
290
+ "out": "Llegó - por fin - a casa.",
291
+ "note": "Un espacio duro junto a una raya la deja fuera: el segmento queda como está."
292
+ },
293
+ {
294
+ "id": "es-dashes-asymmetric-range-inside-pair",
295
+ "rule": "dashes",
296
+ "mode": "text",
297
+ "in": "Llegó - a 5 -10 km - a casa.",
298
+ "out": "Llegó —a 5 -10 km— a casa.",
299
+ "note": "Un rango de cifras escrito con espacio solo a un lado es un candidato de `ranges`, sea simétrico o no, y no cuenta como raya."
300
+ },
301
+ {
302
+ "id": "es-dashes-question-space-splits-pair",
303
+ "rule": "dashes",
304
+ "mode": "text",
305
+ "in": "Llegó - ¿cómo? ya - a casa.",
306
+ "out": "Llegó - ¿cómo? ya - a casa.",
307
+ "note": "Un «?» seguido de espacio cierra la frase: cada mitad tiene una sola raya."
308
+ },
309
+ {
310
+ "id": "es-dashes-marker-splits-pair-html",
311
+ "rule": "dashes",
312
+ "mode": "html",
313
+ "in": "<p>Llegó - ayer.<em>Hoy</em> - a casa.</p>",
314
+ "out": "<p>Llegó - ayer.<em>Hoy</em> - a casa.</p>",
315
+ "note": "Un punto antes de un límite de marcado cierra la frase: cada mitad tiene una sola raya."
316
+ },
317
+ {
318
+ "id": "es-dashes-marker-splits-pair-markdown",
319
+ "rule": "dashes",
320
+ "mode": "markdown",
321
+ "in": "Llegó - ayer.*Hoy* - a casa.",
322
+ "out": "Llegó - ayer.*Hoy* - a casa.",
323
+ "note": "Un punto antes de un límite de marcado cierra la frase: cada mitad tiene una sola raya.",
324
+ "dialect": "commonmark"
60
325
  },
61
326
  {
62
327
  "id": "es-dashes-compound-hyphen",
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "fi",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "fr-CA",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "fr",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "hr",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "hu",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "it",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "cases": [
4
4
  {
5
5
  "id": "exact-en-us",
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "lt",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "nl",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "pl",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "pt-BR",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "pt-PT",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "ro",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "ru",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "sk",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "sl",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "sr",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "sv",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "tr",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.5",
2
+ "spec": "1.19.0",
3
3
  "locale": "uk",
4
4
  "cases": [
5
5
  {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  },
21
21
  "dash": {
22
- "parenthetical": "none",
22
+ "parenthetical": "em-paired",
23
23
  "range": "none"
24
24
  },
25
25
  "ellipsis": {
@@ -52,7 +52,7 @@
52
52
  "rule": "dashes",
53
53
  "cite": "Διοργανικό εγχειρίδιο σύνταξης κειμένων (EL, 2011), §10.1.8 «Ενωτικό — Παύλα μεσαίου μεγέθους — Μεγάλη παύλα»: για τα αριθμητικά διαστήματα, «Παύλα μεσαίου μεγέθους ή μείον (–) […] γ) για να δηλώσει το διάστημα μεταξύ δύο ορίων (π.χ. άτομα ηλικίας 25–45 ετών) […] δ) στην αναφορά σε περιόδους τουλάχιστον δύο πλήρων ετών (π.χ. 1989–1991) […] Ωστόσο, και στην περίπτωση αυτή μπορεί να χρησιμοποιηθεί και ενωτικό». Ο ίδιος κανόνας για τα αριθμητικά διαστήματα εμφανίζεται ΔΥΟ ΦΟΡΕΣ στην §10.1.8, μία στην υποενότητα «Ενωτικό (-)» και μία στην υποενότητα «Παύλα μεσαίου μεγέθους (–)», και κάθε φορά η υποενότητα παραχωρεί ρητά το άλλο σημείο (paraphrase of the «Ενωτικό» occurrence — its verbatim text was not captured at review time; the «Παύλα» occurrence is quoted above verbatim)· για την παρενθετική χρήση, «Όπως η παρένθεση, η διπλή παύλα δεν χωρίζεται με κενά διαστήματα από τη λέξη, φράση ή πρόταση που περικλείει· αντίθετα, μπαίνουν διαστήματα πριν από την πρώτη και μετά τη δεύτερη παύλα»",
54
54
  "url": "http://publications.europa.eu/resource/cellar/e774ea2a-ef84-4bf6-be92-c9ebebf91c1b.0015.03/DOC_2",
55
- "note": "Justifies \"none\" on BOTH fields, which no other locale has — but for TWO DIFFERENT REASONS, and conflating them would misrepresent the source. Range: genuinely ambivalent. The rule appears twice in §10.1.8, once under «Ενωτικό (-)» and once under «Παύλα μεσαίου μεγέθους (–)», and each occurrence explicitly concedes the other mark. That mutual concession is the proof — a source that names both forms in both places is not being vague, it is declining to rank them, and substituting either would express a preference the citation does not carry. Parenthetical: NOT ambivalent. The guide prescribes a U+2014 pair (its own header gives «Alt 0151») with ordinary spaces outside the pair and none on the inner edges. \"none\" here is forced by a SCHEMA LIMIT, not by the source: locale.schema.json's dash enum has no value for asymmetric spacing — \"em-spaced\" puts a space on each side of each dash, which is precisely what this sentence forbids. See spec/rules/dashes.md §6 «el», which states the two justifications separately. SOURCE CONFLICT, recorded and deliberately not settled: this guide prescribes U+2014 for the parenthetical dash, while ΥΠΕΠΘ/ΙΤΥΕ Γραμματική Α΄–Γ΄ Γυμνασίου §3.3 appears to set U+2013 in the same role. The sources array has no way to represent a conflict — it models agreement, not disagreement — so it is recorded here in prose. Resolving it is with the operator and needs a source that ranks the two, not a third that adds a form. Retrieved 2026-08-15."
55
+ "note": "Justifies parenthetical \"em-paired\" and range \"none\", for two different reasons. Parenthetical: the guide prescribes a U+2014 pair (its own header gives «Alt 0151») with ordinary spaces outside the pair and none on the inner edges, which is exactly what \"em-paired\" writes (dashes.md §3.4a). Range: genuinely ambivalent. The rule appears twice in §10.1.8, once under «Ενωτικό (-)» and once under «Παύλα μεσαίου μεγέθους (–)», and each occurrence explicitly concedes the other mark, so substituting either would express a preference the citation does not carry. SOURCE CONFLICT, recorded and settled by operator decision rather than by a source (spec 1.19.0): ΥΠΕΠΘ/ΙΤΥΕ Γραμματική Α΄–Γ΄ Γυμνασίου §3.3 appears to set U+2013 in the parenthetical role, while this guide, the one cited, sets U+2014; the em dash follows the cited source. The sources array has no way to represent a conflict, so it is recorded here in prose. Retrieved 2026-08-15."
56
56
  },
57
57
  {
58
58
  "rule": "ellipsis",