@panneau/intl 1.0.0-alpha.2 → 1.0.0-alpha.205

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.
package/locale/fr.json CHANGED
@@ -1,316 +1,318 @@
1
1
  {
2
- "2/F1Q7": [
2
+ "+6cCPF": [
3
3
  {
4
4
  "type": 0,
5
- "value": "#"
6
- },
7
- {
8
- "type": 1,
9
- "value": "index"
5
+ "value": "Erreur 403"
10
6
  }
11
7
  ],
12
- "BpZoQZ": [
8
+ "2vB7U4": [
13
9
  {
14
10
  "type": 0,
15
- "value": "Succès"
11
+ "value": "Une erreur s’est produite et nous n’avons pas pu enregistrer cet élément avec succès."
16
12
  }
17
13
  ],
18
- "PKCv5M": [
14
+ "3na7F8": [
19
15
  {
20
16
  "type": 0,
21
- "value": "Aucun item..."
17
+ "value": "Maintenant"
22
18
  }
23
19
  ],
24
- "PyxZY2": [
20
+ "4sViWl": [
25
21
  {
26
- "type": 0,
27
- "value": "Annuler"
22
+ "offset": 0,
23
+ "options": {
24
+ "=0": {
25
+ "value": [
26
+ {
27
+ "type": 0,
28
+ "value": "Aucun item."
29
+ }
30
+ ]
31
+ },
32
+ "=1": {
33
+ "value": [
34
+ {
35
+ "type": 7
36
+ },
37
+ {
38
+ "type": 0,
39
+ "value": " item"
40
+ }
41
+ ]
42
+ },
43
+ "other": {
44
+ "value": [
45
+ {
46
+ "type": 7
47
+ },
48
+ {
49
+ "type": 0,
50
+ "value": " items"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ "pluralType": "cardinal",
56
+ "type": 6,
57
+ "value": "count"
28
58
  }
29
59
  ],
30
- "ZLDmja": [
60
+ "4yfet+": [
31
61
  {
32
62
  "type": 0,
33
- "value": "Envoyer"
63
+ "value": "Mot de passe"
34
64
  }
35
65
  ],
36
- "ZxgNge": [
66
+ "5rMPIj": [
37
67
  {
38
68
  "type": 0,
39
- "value": "Ajouter un élement"
69
+ "value": "Chargement..."
40
70
  }
41
71
  ],
42
- "auth.account": [
72
+ "6Ie+vL": [
43
73
  {
44
74
  "type": 0,
45
- "value": "Compte"
75
+ "value": "Erreur 404"
46
76
  }
47
77
  ],
48
- "auth.login": [
78
+ "6nwWPR": [
49
79
  {
50
80
  "type": 0,
51
- "value": "Connexion"
81
+ "value": "Erreur 401"
52
82
  }
53
83
  ],
54
- "auth.login.title": [
84
+ "7M0o0q": [
55
85
  {
56
86
  "type": 0,
57
- "value": "Connexion"
87
+ "value": "Élément"
58
88
  }
59
89
  ],
60
- "auth.logout": [
90
+ "82P2dS": [
61
91
  {
62
92
  "type": 0,
63
- "value": "Déconnexion"
93
+ "value": "Vous n’êtes pas autorisé à accéder à cette page."
64
94
  }
65
95
  ],
66
- "auth.update_account": [
96
+ "8HFiMs": [
67
97
  {
68
98
  "type": 0,
69
- "value": "Mettre à jour le profil"
99
+ "value": "L’accès à cette page est interdit"
70
100
  }
71
101
  ],
72
- "errors.description_401": [
102
+ "9XBwF1": [
73
103
  {
74
104
  "type": 0,
75
- "value": "Vous n’êtes pas autorisé à accéder à cette page."
105
+ "value": "Oui"
76
106
  }
77
107
  ],
78
- "errors.description_403": [
108
+ "AeOZq+": [
79
109
  {
80
110
  "type": 0,
81
- "value": "Vues"
111
+ "value": "Connexion"
82
112
  }
83
113
  ],
84
- "errors.description_404": [
114
+ "Bhu3B2": [
85
115
  {
86
116
  "type": 0,
87
- "value": "Cette page n'existe pas"
117
+ "value": "Supprimer"
88
118
  }
89
119
  ],
90
- "errors.description_500": [
120
+ "ESkxLX": [
91
121
  {
92
122
  "type": 0,
93
- "value": "Une erreur s'est produite lors de la publication"
123
+ "value": "Réussi!"
94
124
  }
95
125
  ],
96
- "errors.goto_home": [
126
+ "EsoYzX": [
97
127
  {
98
128
  "type": 0,
99
- "value": "Revenir à la connexion"
129
+ "value": "Précédent"
100
130
  }
101
131
  ],
102
- "errors.title_401": [
132
+ "HOobY2": [
103
133
  {
104
134
  "type": 0,
105
135
  "value": "Erreur 401"
106
136
  }
107
137
  ],
108
- "errors.title_403": [
138
+ "IbZVf0": [
109
139
  {
110
140
  "type": 0,
111
- "value": "Erreur 403"
141
+ "value": "Sauvegarder"
112
142
  }
113
143
  ],
114
- "errors.title_404": [
144
+ "IuqEHB": [
115
145
  {
116
146
  "type": 0,
117
- "value": "Erreur 404"
147
+ "value": "Compte"
118
148
  }
119
149
  ],
120
- "errors.title_500": [
150
+ "Ke35Pv": [
121
151
  {
122
152
  "type": 0,
123
- "value": "Erreur 500"
153
+ "value": "Modifier"
124
154
  }
125
155
  ],
126
- "form.cancel_button": [
156
+ "LI0Gz4": [
127
157
  {
128
158
  "type": 0,
129
- "value": "Annuler"
159
+ "value": "Courriel"
130
160
  }
131
161
  ],
132
- "form.confirm_delete": [
162
+ "MHldGi": [
133
163
  {
134
164
  "type": 0,
135
- "value": "Etes-vous sûr que vous voulez supprimer cette histoire?"
165
+ "value": "Durée:"
136
166
  }
137
167
  ],
138
- "form.delete_button": [
168
+ "Mo0yQb": [
139
169
  {
140
170
  "type": 0,
141
- "value": "Supprimer"
171
+ "value": "Erreur"
142
172
  }
143
173
  ],
144
- "form.edit_button": [
174
+ "NI9440": [
145
175
  {
146
176
  "type": 0,
147
- "value": "Modifier"
177
+ "value": "Ajouter un fichier"
148
178
  }
149
179
  ],
150
- "form.email": [
180
+ "PKCv5M": [
151
181
  {
152
182
  "type": 0,
153
- "value": "Courriel"
183
+ "value": "Aucun élément..."
154
184
  }
155
185
  ],
156
- "form.password": [
186
+ "Pih2UO": [
157
187
  {
158
188
  "type": 0,
159
- "value": "Mot de passe"
189
+ "value": "Erreur 403"
160
190
  }
161
191
  ],
162
- "form.save": [
192
+ "PyxZY2": [
163
193
  {
164
194
  "type": 0,
165
- "value": "Enregistrer"
195
+ "value": "Annuler"
166
196
  }
167
197
  ],
168
- "form.show_button": [
198
+ "REIcPg": [
169
199
  {
170
200
  "type": 0,
171
- "value": "Annuler"
201
+ "value": "Déconnexion"
172
202
  }
173
203
  ],
174
- "forms.delete_button": [
204
+ "US/AMe": [
175
205
  {
176
206
  "type": 0,
177
- "value": "Supprimer"
207
+ "value": "Erreur 404"
178
208
  }
179
209
  ],
180
- "forms.edit_button": [
210
+ "UpStcP": [
181
211
  {
182
212
  "type": 0,
183
- "value": "Modifier"
213
+ "value": "Nous n'avons pas pu trouver ce type"
184
214
  }
185
215
  ],
186
- "forms.error_status": [
216
+ "X5RJlB": [
187
217
  {
188
218
  "type": 0,
189
- "value": "Une erreur s'est produite lors de la publication"
219
+ "value": "Suivant"
190
220
  }
191
221
  ],
192
- "forms.loading_status": [
222
+ "ZxgNge": [
193
223
  {
194
224
  "type": 0,
195
- "value": "Chargement..."
225
+ "value": "Ajouter un élement"
196
226
  }
197
227
  ],
198
- "forms.success_status": [
228
+ "bPk79b": [
199
229
  {
200
230
  "type": 0,
201
- "value": "Succès!"
231
+ "value": "Afficher"
202
232
  }
203
233
  ],
204
- "lists.filters.reset": [
234
+ "d0g58T": [
205
235
  {
206
236
  "type": 0,
207
- "value": "Réinitialiser le mot de passe"
237
+ "value": "Connexion"
208
238
  }
209
239
  ],
210
- "lists.filters.submit": [
240
+ "ejwBSw": [
211
241
  {
212
242
  "type": 0,
213
- "value": "Envoyer"
243
+ "value": "Erreur 500"
214
244
  }
215
245
  ],
216
- "login": [
246
+ "g6qbbX": [
217
247
  {
218
248
  "type": 0,
219
249
  "value": "Connexion"
220
250
  }
221
251
  ],
222
- "menus.pagination.next": [
252
+ "gjBiyj": [
223
253
  {
224
254
  "type": 0,
225
- "value": "suivant"
255
+ "value": "Chargement..."
226
256
  }
227
257
  ],
228
- "menus.pagination.previous": [
258
+ "hezcGl": [
229
259
  {
230
260
  "type": 0,
231
- "value": "Précédent"
261
+ "value": "Aller à la page d’accueil"
232
262
  }
233
263
  ],
234
- "meta.title_401": [
264
+ "owrRHV": [
235
265
  {
236
266
  "type": 0,
237
- "value": "Erreur 401"
267
+ "value": "Erreur 500"
238
268
  }
239
269
  ],
240
- "meta.title_403": [
270
+ "rSt+KL": [
241
271
  {
242
272
  "type": 0,
243
- "value": "Erreur 403"
273
+ "value": "Non"
244
274
  }
245
275
  ],
246
- "meta.title_404": [
276
+ "resources.confirm_delete": [
247
277
  {
248
278
  "type": 0,
249
- "value": "Erreur 404"
250
- }
251
- ],
252
- "meta.title_500": [
279
+ "value": "Êtes-vous certain de vouloir supprimer "
280
+ },
281
+ {
282
+ "type": 1,
283
+ "value": "the_singular"
284
+ },
253
285
  {
254
286
  "type": 0,
255
- "value": "Erreur 500"
256
- }
257
- ],
258
- "pagination.items_count": [
287
+ "value": " #"
288
+ },
259
289
  {
260
- "offset": 0,
261
- "options": {
262
- "=0": {
263
- "value": [
264
- {
265
- "type": 0,
266
- "value": "No item."
267
- }
268
- ]
269
- },
270
- "=1": {
271
- "value": [
272
- {
273
- "type": 7
274
- },
275
- {
276
- "type": 0,
277
- "value": " item"
278
- }
279
- ]
280
- },
281
- "autres": {
282
- "value": [
283
- {
284
- "type": 7
285
- },
286
- {
287
- "type": 0,
288
- "value": " items"
289
- }
290
- ]
291
- }
292
- },
293
- "pluralType": "cardinal",
294
- "type": 6,
295
- "value": "count"
296
- }
297
- ],
298
- "pagination.next": [
290
+ "type": 1,
291
+ "value": "id"
292
+ },
299
293
  {
300
294
  "type": 0,
301
- "value": "Suivant"
295
+ "value": "?"
302
296
  }
303
297
  ],
304
- "pagination.previous": [
298
+ "resources.create": [
305
299
  {
306
300
  "type": 0,
307
- "value": "Précédent"
301
+ "value": "Créer "
302
+ },
303
+ {
304
+ "type": 1,
305
+ "value": "a_singular"
308
306
  }
309
307
  ],
310
- "resources.create": [
308
+ "resources.create_btn": [
311
309
  {
312
310
  "type": 0,
313
- "value": "Créer"
311
+ "value": "Créer "
312
+ },
313
+ {
314
+ "type": 1,
315
+ "value": "a_singular"
314
316
  }
315
317
  ],
316
318
  "resources.created": [
@@ -326,7 +328,11 @@
326
328
  "resources.delete": [
327
329
  {
328
330
  "type": 0,
329
- "value": "Supprimer"
331
+ "value": "Supprimer "
332
+ },
333
+ {
334
+ "type": 1,
335
+ "value": "a_singular"
330
336
  }
331
337
  ],
332
338
  "resources.deleted": [
@@ -342,33 +348,51 @@
342
348
  "resources.edit": [
343
349
  {
344
350
  "type": 0,
345
- "value": "Modifier"
351
+ "value": "Modifier "
352
+ },
353
+ {
354
+ "type": 1,
355
+ "value": "a_singular"
346
356
  }
347
357
  ],
348
- "resources.index": [
358
+ "resources.view": [
349
359
  {
350
360
  "type": 0,
351
- "value": "Afficher l’écran"
361
+ "value": "Afficher "
362
+ },
363
+ {
364
+ "type": 1,
365
+ "value": "the_plural"
352
366
  }
353
367
  ],
354
- "resources.loading": [
368
+ "s4Xrs9": [
355
369
  {
356
370
  "type": 0,
357
- "value": "Chargement "
358
- },
371
+ "value": "Heure"
372
+ }
373
+ ],
374
+ "v4Qtl9": [
359
375
  {
360
- "type": 1,
361
- "value": "plural"
362
- },
376
+ "type": 0,
377
+ "value": "Autjourd'hui"
378
+ }
379
+ ],
380
+ "wKPI1y": [
363
381
  {
364
382
  "type": 0,
365
- "value": "..."
383
+ "value": "Cette page n’existe pas"
366
384
  }
367
385
  ],
368
- "s4Xrs9": [
386
+ "y9zauY": [
387
+ {
388
+ "type": 0,
389
+ "value": "Une erreur s’est produite et nous n’avons pas pu supprimer cet élément avec succès."
390
+ }
391
+ ],
392
+ "yALN2p": [
369
393
  {
370
394
  "type": 0,
371
- "value": "C'est le moment de créer un thème"
395
+ "value": "Il y a eu une erreur"
372
396
  }
373
397
  ]
374
398
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/intl",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.205",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -60,8 +60,8 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "@babel/runtime": "^7.12.5",
63
- "@formatjs/cli": "^2.15.0",
64
- "@panneau/core": "^1.0.0-alpha.0",
63
+ "@formatjs/cli": "^4.2.19",
64
+ "@panneau/core": "^1.0.0-alpha.205",
65
65
  "commander": "^6.2.1",
66
66
  "fs-extra": "^9.1.0",
67
67
  "gettext-parser": "^4.0.4",
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "93990b3269d135d000b8d6277e3314b6ef19f5d7"
81
+ "gitHead": "341761a7c70095fa598d4c43c90270d2c71b891b"
82
82
  }
@@ -25,4 +25,5 @@ extractAndWrite(files, {
25
25
  idInterpolationPattern,
26
26
  // extractSourceLocation: true,
27
27
  outFile: path.join(process.cwd(), destPath),
28
+ additionalComponentNames: ['ResourceMessage'],
28
29
  });