richie-education 3.2.2-dev42 → 3.2.2-dev45

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.
@@ -195,6 +195,10 @@
195
195
  "description": "Text displayed for seats value in batch order",
196
196
  "message": "Seats"
197
197
  },
198
+ "batchOrder.seatsCount": {
199
+ "description": "Text displayed for seats count with pluralization in batch order",
200
+ "message": "{seats} {seats, plural, one {seat} other {seats}}"
201
+ },
198
202
  "batchOrder.status.assigned": {
199
203
  "description": "Status label for an assigned batch order",
200
204
  "message": "Assigned"
@@ -1595,7 +1599,7 @@
1595
1599
  "description": "Action label to send a contract for signature",
1596
1600
  "message": "Send contract for signature"
1597
1601
  },
1598
- "components.OrganizationQuotesTable.state.assigned.": {
1602
+ "components.OrganizationQuotesTable.state.assigned": {
1599
1603
  "description": "Batch order state: assigned",
1600
1604
  "message": "Assigned"
1601
1605
  },
@@ -1607,15 +1611,15 @@
1607
1611
  "description": "Batch order state: completed",
1608
1612
  "message": "Completed"
1609
1613
  },
1610
- "components.OrganizationQuotesTable.state.draft.": {
1614
+ "components.OrganizationQuotesTable.state.draft": {
1611
1615
  "description": "Batch order state: draft",
1612
1616
  "message": "Draft"
1613
1617
  },
1614
- "components.OrganizationQuotesTable.state.failedPayment.": {
1618
+ "components.OrganizationQuotesTable.state.failedPayment": {
1615
1619
  "description": "Batch order state: failed payment",
1616
1620
  "message": "Failed payment"
1617
1621
  },
1618
- "components.OrganizationQuotesTable.state.pending.": {
1622
+ "components.OrganizationQuotesTable.state.pending": {
1619
1623
  "description": "Batch order state: pending",
1620
1624
  "message": "Pending"
1621
1625
  },
@@ -195,6 +195,10 @@
195
195
  "description": "Text displayed for seats value in batch order",
196
196
  "message": "Seats"
197
197
  },
198
+ "batchOrder.seatsCount": {
199
+ "description": "Text displayed for seats count with pluralization in batch order",
200
+ "message": "{seats} {seats, plural, one {seat} other {seats}}"
201
+ },
198
202
  "batchOrder.status.assigned": {
199
203
  "description": "Status label for an assigned batch order",
200
204
  "message": "Assigned"
@@ -1595,7 +1599,7 @@
1595
1599
  "description": "Action label to send a contract for signature",
1596
1600
  "message": "Send contract for signature"
1597
1601
  },
1598
- "components.OrganizationQuotesTable.state.assigned.": {
1602
+ "components.OrganizationQuotesTable.state.assigned": {
1599
1603
  "description": "Batch order state: assigned",
1600
1604
  "message": "Assigned"
1601
1605
  },
@@ -1607,15 +1611,15 @@
1607
1611
  "description": "Batch order state: completed",
1608
1612
  "message": "Completed"
1609
1613
  },
1610
- "components.OrganizationQuotesTable.state.draft.": {
1614
+ "components.OrganizationQuotesTable.state.draft": {
1611
1615
  "description": "Batch order state: draft",
1612
1616
  "message": "Draft"
1613
1617
  },
1614
- "components.OrganizationQuotesTable.state.failedPayment.": {
1618
+ "components.OrganizationQuotesTable.state.failedPayment": {
1615
1619
  "description": "Batch order state: failed payment",
1616
1620
  "message": "Failed payment"
1617
1621
  },
1618
- "components.OrganizationQuotesTable.state.pending.": {
1622
+ "components.OrganizationQuotesTable.state.pending": {
1619
1623
  "description": "Batch order state: pending",
1620
1624
  "message": "Pending"
1621
1625
  },
@@ -195,6 +195,10 @@
195
195
  "description": "Text displayed for seats value in batch order",
196
196
  "message": "Seats"
197
197
  },
198
+ "batchOrder.seatsCount": {
199
+ "description": "Text displayed for seats count with pluralization in batch order",
200
+ "message": "{seats} {seats, plural, one {seat} other {seats}}"
201
+ },
198
202
  "batchOrder.status.assigned": {
199
203
  "description": "Status label for an assigned batch order",
200
204
  "message": "Assigned"
@@ -1595,7 +1599,7 @@
1595
1599
  "description": "Action label to send a contract for signature",
1596
1600
  "message": "Send contract for signature"
1597
1601
  },
1598
- "components.OrganizationQuotesTable.state.assigned.": {
1602
+ "components.OrganizationQuotesTable.state.assigned": {
1599
1603
  "description": "Batch order state: assigned",
1600
1604
  "message": "Assigned"
1601
1605
  },
@@ -1607,15 +1611,15 @@
1607
1611
  "description": "Batch order state: completed",
1608
1612
  "message": "Completed"
1609
1613
  },
1610
- "components.OrganizationQuotesTable.state.draft.": {
1614
+ "components.OrganizationQuotesTable.state.draft": {
1611
1615
  "description": "Batch order state: draft",
1612
1616
  "message": "Draft"
1613
1617
  },
1614
- "components.OrganizationQuotesTable.state.failedPayment.": {
1618
+ "components.OrganizationQuotesTable.state.failedPayment": {
1615
1619
  "description": "Batch order state: failed payment",
1616
1620
  "message": "Failed payment"
1617
1621
  },
1618
- "components.OrganizationQuotesTable.state.pending.": {
1622
+ "components.OrganizationQuotesTable.state.pending": {
1619
1623
  "description": "Batch order state: pending",
1620
1624
  "message": "Pending"
1621
1625
  },
@@ -195,6 +195,10 @@
195
195
  "description": "Text displayed for seats value in batch order",
196
196
  "message": "Seats"
197
197
  },
198
+ "batchOrder.seatsCount": {
199
+ "description": "Text displayed for seats count with pluralization in batch order",
200
+ "message": "{seats} {seats, plural, one {seat} other {seats}}"
201
+ },
198
202
  "batchOrder.status.assigned": {
199
203
  "description": "Status label for an assigned batch order",
200
204
  "message": "Assigned"
@@ -1595,7 +1599,7 @@
1595
1599
  "description": "Action label to send a contract for signature",
1596
1600
  "message": "Send contract for signature"
1597
1601
  },
1598
- "components.OrganizationQuotesTable.state.assigned.": {
1602
+ "components.OrganizationQuotesTable.state.assigned": {
1599
1603
  "description": "Batch order state: assigned",
1600
1604
  "message": "Assigned"
1601
1605
  },
@@ -1607,15 +1611,15 @@
1607
1611
  "description": "Batch order state: completed",
1608
1612
  "message": "Completed"
1609
1613
  },
1610
- "components.OrganizationQuotesTable.state.draft.": {
1614
+ "components.OrganizationQuotesTable.state.draft": {
1611
1615
  "description": "Batch order state: draft",
1612
1616
  "message": "Draft"
1613
1617
  },
1614
- "components.OrganizationQuotesTable.state.failedPayment.": {
1618
+ "components.OrganizationQuotesTable.state.failedPayment": {
1615
1619
  "description": "Batch order state: failed payment",
1616
1620
  "message": "Failed payment"
1617
1621
  },
1618
- "components.OrganizationQuotesTable.state.pending.": {
1622
+ "components.OrganizationQuotesTable.state.pending": {
1619
1623
  "description": "Batch order state: pending",
1620
1624
  "message": "Pending"
1621
1625
  },
@@ -195,6 +195,10 @@
195
195
  "description": "Text displayed for seats value in batch order",
196
196
  "message": "Places"
197
197
  },
198
+ "batchOrder.seatsCount": {
199
+ "description": "Text displayed for seats count with pluralization in batch order",
200
+ "message": "{seats} {seats, plural, one {place} other {places}}"
201
+ },
198
202
  "batchOrder.status.assigned": {
199
203
  "description": "Status label for an assigned batch order",
200
204
  "message": "Assignée"
@@ -241,7 +245,7 @@
241
245
  },
242
246
  "batchOrder.title.company": {
243
247
  "description": "Step label for company information in the batch order form",
244
- "message": "Organisation"
248
+ "message": "Organisme"
245
249
  },
246
250
  "batchOrder.title.financing": {
247
251
  "description": "Step label for financing/payment in the batch order form",
@@ -1595,7 +1599,7 @@
1595
1599
  "description": "Action label to send a contract for signature",
1596
1600
  "message": "Envoyer la convention pour signature"
1597
1601
  },
1598
- "components.OrganizationQuotesTable.state.assigned.": {
1602
+ "components.OrganizationQuotesTable.state.assigned": {
1599
1603
  "description": "Batch order state: assigned",
1600
1604
  "message": "Assignée"
1601
1605
  },
@@ -1607,15 +1611,15 @@
1607
1611
  "description": "Batch order state: completed",
1608
1612
  "message": "Complétée"
1609
1613
  },
1610
- "components.OrganizationQuotesTable.state.draft.": {
1614
+ "components.OrganizationQuotesTable.state.draft": {
1611
1615
  "description": "Batch order state: draft",
1612
1616
  "message": "Brouillon"
1613
1617
  },
1614
- "components.OrganizationQuotesTable.state.failedPayment.": {
1618
+ "components.OrganizationQuotesTable.state.failedPayment": {
1615
1619
  "description": "Batch order state: failed payment",
1616
1620
  "message": "Paiement échoué"
1617
1621
  },
1618
- "components.OrganizationQuotesTable.state.pending.": {
1622
+ "components.OrganizationQuotesTable.state.pending": {
1619
1623
  "description": "Batch order state: pending",
1620
1624
  "message": "En attente"
1621
1625
  },
@@ -1793,7 +1797,7 @@
1793
1797
  },
1794
1798
  "components.SaleTunnel.BatchOrderForm.stepCompany": {
1795
1799
  "description": "Step label for company information in the batch order form",
1796
- "message": "Organisation"
1800
+ "message": "Organisme"
1797
1801
  },
1798
1802
  "components.SaleTunnel.BatchOrderForm.stepCompanyTitle": {
1799
1803
  "description": "Title of the section with company/organization details",
@@ -195,6 +195,10 @@
195
195
  "description": "Text displayed for seats value in batch order",
196
196
  "message": "Seats"
197
197
  },
198
+ "batchOrder.seatsCount": {
199
+ "description": "Text displayed for seats count with pluralization in batch order",
200
+ "message": "{seats} {seats, plural, one {seat} other {seats}}"
201
+ },
198
202
  "batchOrder.status.assigned": {
199
203
  "description": "Status label for an assigned batch order",
200
204
  "message": "Assigned"
@@ -1595,7 +1599,7 @@
1595
1599
  "description": "Action label to send a contract for signature",
1596
1600
  "message": "Send contract for signature"
1597
1601
  },
1598
- "components.OrganizationQuotesTable.state.assigned.": {
1602
+ "components.OrganizationQuotesTable.state.assigned": {
1599
1603
  "description": "Batch order state: assigned",
1600
1604
  "message": "Assigned"
1601
1605
  },
@@ -1607,15 +1611,15 @@
1607
1611
  "description": "Batch order state: completed",
1608
1612
  "message": "Completed"
1609
1613
  },
1610
- "components.OrganizationQuotesTable.state.draft.": {
1614
+ "components.OrganizationQuotesTable.state.draft": {
1611
1615
  "description": "Batch order state: draft",
1612
1616
  "message": "Draft"
1613
1617
  },
1614
- "components.OrganizationQuotesTable.state.failedPayment.": {
1618
+ "components.OrganizationQuotesTable.state.failedPayment": {
1615
1619
  "description": "Batch order state: failed payment",
1616
1620
  "message": "Failed payment"
1617
1621
  },
1618
- "components.OrganizationQuotesTable.state.pending.": {
1622
+ "components.OrganizationQuotesTable.state.pending": {
1619
1623
  "description": "Batch order state: pending",
1620
1624
  "message": "Pending"
1621
1625
  },
@@ -195,6 +195,10 @@
195
195
  "description": "Text displayed for seats value in batch order",
196
196
  "message": "Seats"
197
197
  },
198
+ "batchOrder.seatsCount": {
199
+ "description": "Text displayed for seats count with pluralization in batch order",
200
+ "message": "{seats} {seats, plural, one {seat} other {seats}}"
201
+ },
198
202
  "batchOrder.status.assigned": {
199
203
  "description": "Status label for an assigned batch order",
200
204
  "message": "Assigned"
@@ -1595,7 +1599,7 @@
1595
1599
  "description": "Action label to send a contract for signature",
1596
1600
  "message": "Send contract for signature"
1597
1601
  },
1598
- "components.OrganizationQuotesTable.state.assigned.": {
1602
+ "components.OrganizationQuotesTable.state.assigned": {
1599
1603
  "description": "Batch order state: assigned",
1600
1604
  "message": "Assigned"
1601
1605
  },
@@ -1607,15 +1611,15 @@
1607
1611
  "description": "Batch order state: completed",
1608
1612
  "message": "Completed"
1609
1613
  },
1610
- "components.OrganizationQuotesTable.state.draft.": {
1614
+ "components.OrganizationQuotesTable.state.draft": {
1611
1615
  "description": "Batch order state: draft",
1612
1616
  "message": "Draft"
1613
1617
  },
1614
- "components.OrganizationQuotesTable.state.failedPayment.": {
1618
+ "components.OrganizationQuotesTable.state.failedPayment": {
1615
1619
  "description": "Batch order state: failed payment",
1616
1620
  "message": "Failed payment"
1617
1621
  },
1618
- "components.OrganizationQuotesTable.state.pending.": {
1622
+ "components.OrganizationQuotesTable.state.pending": {
1619
1623
  "description": "Batch order state: pending",
1620
1624
  "message": "Pending"
1621
1625
  },
@@ -195,6 +195,10 @@
195
195
  "description": "Text displayed for seats value in batch order",
196
196
  "message": "Seats"
197
197
  },
198
+ "batchOrder.seatsCount": {
199
+ "description": "Text displayed for seats count with pluralization in batch order",
200
+ "message": "{seats} {seats, plural, one {seat} other {seats}}"
201
+ },
198
202
  "batchOrder.status.assigned": {
199
203
  "description": "Status label for an assigned batch order",
200
204
  "message": "Assigned"
@@ -1595,7 +1599,7 @@
1595
1599
  "description": "Action label to send a contract for signature",
1596
1600
  "message": "Send contract for signature"
1597
1601
  },
1598
- "components.OrganizationQuotesTable.state.assigned.": {
1602
+ "components.OrganizationQuotesTable.state.assigned": {
1599
1603
  "description": "Batch order state: assigned",
1600
1604
  "message": "Assigned"
1601
1605
  },
@@ -1607,15 +1611,15 @@
1607
1611
  "description": "Batch order state: completed",
1608
1612
  "message": "Completed"
1609
1613
  },
1610
- "components.OrganizationQuotesTable.state.draft.": {
1614
+ "components.OrganizationQuotesTable.state.draft": {
1611
1615
  "description": "Batch order state: draft",
1612
1616
  "message": "Draft"
1613
1617
  },
1614
- "components.OrganizationQuotesTable.state.failedPayment.": {
1618
+ "components.OrganizationQuotesTable.state.failedPayment": {
1615
1619
  "description": "Batch order state: failed payment",
1616
1620
  "message": "Failed payment"
1617
1621
  },
1618
- "components.OrganizationQuotesTable.state.pending.": {
1622
+ "components.OrganizationQuotesTable.state.pending": {
1619
1623
  "description": "Batch order state: pending",
1620
1624
  "message": "Pending"
1621
1625
  },
@@ -195,6 +195,10 @@
195
195
  "description": "Text displayed for seats value in batch order",
196
196
  "message": "Seats"
197
197
  },
198
+ "batchOrder.seatsCount": {
199
+ "description": "Text displayed for seats count with pluralization in batch order",
200
+ "message": "{seats} {seats, plural, one {seat} other {seats}}"
201
+ },
198
202
  "batchOrder.status.assigned": {
199
203
  "description": "Status label for an assigned batch order",
200
204
  "message": "Assigned"
@@ -1595,7 +1599,7 @@
1595
1599
  "description": "Action label to send a contract for signature",
1596
1600
  "message": "Send contract for signature"
1597
1601
  },
1598
- "components.OrganizationQuotesTable.state.assigned.": {
1602
+ "components.OrganizationQuotesTable.state.assigned": {
1599
1603
  "description": "Batch order state: assigned",
1600
1604
  "message": "Assigned"
1601
1605
  },
@@ -1607,15 +1611,15 @@
1607
1611
  "description": "Batch order state: completed",
1608
1612
  "message": "Completed"
1609
1613
  },
1610
- "components.OrganizationQuotesTable.state.draft.": {
1614
+ "components.OrganizationQuotesTable.state.draft": {
1611
1615
  "description": "Batch order state: draft",
1612
1616
  "message": "Draft"
1613
1617
  },
1614
- "components.OrganizationQuotesTable.state.failedPayment.": {
1618
+ "components.OrganizationQuotesTable.state.failedPayment": {
1615
1619
  "description": "Batch order state: failed payment",
1616
1620
  "message": "Failed payment"
1617
1621
  },
1618
- "components.OrganizationQuotesTable.state.pending.": {
1622
+ "components.OrganizationQuotesTable.state.pending": {
1619
1623
  "description": "Batch order state: pending",
1620
1624
  "message": "Pending"
1621
1625
  },
@@ -68,6 +68,16 @@ const messages = defineMessages({
68
68
  description: 'Step label for financing/payment in the batch order form',
69
69
  defaultMessage: 'Financing',
70
70
  },
71
+ previousButton: {
72
+ id: 'components.SaleTunnel.BatchOrderForm.previousButton',
73
+ description: 'Label for the button to go back to the previous step in the batch order form',
74
+ defaultMessage: 'Previous',
75
+ },
76
+ nextButton: {
77
+ id: 'components.SaleTunnel.BatchOrderForm.nextButton',
78
+ description: 'Label for the button to proceed to the next step in the batch order form',
79
+ defaultMessage: 'Next',
80
+ },
71
81
  });
72
82
 
73
83
  export const SaleTunnelInformationGroup = () => {
@@ -258,7 +268,7 @@ const BatchOrderForm = () => {
258
268
  hidden={activeStep === 0}
259
269
  color="secondary"
260
270
  >
261
- Previous
271
+ <FormattedMessage {...messages.previousButton} />
262
272
  </Button>
263
273
  <Button
264
274
  onClick={() => {
@@ -269,7 +279,7 @@ const BatchOrderForm = () => {
269
279
  disabled={!isCurrentStepValid}
270
280
  hidden={activeStep === steps.length - 1}
271
281
  >
272
- Next
282
+ <FormattedMessage {...messages.nextButton} />
273
283
  </Button>
274
284
  </div>
275
285
  </FormProvider>
@@ -172,22 +172,22 @@ const messages = defineMessages({
172
172
  description: 'Batch order state: completed',
173
173
  },
174
174
  [BatchOrderState.DRAFT]: {
175
- id: 'components.OrganizationQuotesTable.state.draft.',
175
+ id: 'components.OrganizationQuotesTable.state.draft',
176
176
  defaultMessage: 'Draft',
177
177
  description: 'Batch order state: draft',
178
178
  },
179
179
  [BatchOrderState.ASSIGNED]: {
180
- id: 'components.OrganizationQuotesTable.state.assigned.',
180
+ id: 'components.OrganizationQuotesTable.state.assigned',
181
181
  defaultMessage: 'Assigned',
182
182
  description: 'Batch order state: assigned',
183
183
  },
184
184
  [BatchOrderState.PENDING]: {
185
- id: 'components.OrganizationQuotesTable.state.pending.',
185
+ id: 'components.OrganizationQuotesTable.state.pending',
186
186
  defaultMessage: 'Pending',
187
187
  description: 'Batch order state: pending',
188
188
  },
189
189
  [BatchOrderState.FAILED_PAYMENT]: {
190
- id: 'components.OrganizationQuotesTable.state.failedPayment.',
190
+ id: 'components.OrganizationQuotesTable.state.failedPayment',
191
191
  defaultMessage: 'Failed payment',
192
192
  description: 'Batch order state: failed payment',
193
193
  },
@@ -216,10 +216,10 @@ const messages = defineMessages({
216
216
  defaultMessage: 'Batch order id: {id}',
217
217
  description: 'Label for the batch order reference (id)',
218
218
  },
219
- seats: {
220
- id: 'batchOrder.seats',
219
+ seatsCount: {
220
+ id: 'batchOrder.seatsCount',
221
221
  defaultMessage: '{seats} {seats, plural, one {seat} other {seats}}',
222
- description: 'Text displayed for seats value in batch order',
222
+ description: 'Text displayed for seats count with pluralization in batch order',
223
223
  },
224
224
  });
225
225
 
@@ -515,7 +515,7 @@ const TeacherDashboardOrganizationQuotes = () => {
515
515
  <Icon name={IconTypeEnum.GROUPS} size="small" />
516
516
  <div>
517
517
  <span>
518
- {intl.formatMessage(messages.seats, { seats: quote.batch_order.nb_seats })}
518
+ {intl.formatMessage(messages.seatsCount, { seats: quote.batch_order.nb_seats })}
519
519
  </span>
520
520
  </div>
521
521
  </div>