richie-education 3.2.2-dev42 → 3.2.2-dev43
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.
|
@@ -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
|
-
|
|
220
|
-
id: 'batchOrder.
|
|
219
|
+
seatsCount: {
|
|
220
|
+
id: 'batchOrder.seatsCount',
|
|
221
221
|
defaultMessage: '{seats} {seats, plural, one {seat} other {seats}}',
|
|
222
|
-
description: 'Text displayed for seats
|
|
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.
|
|
518
|
+
{intl.formatMessage(messages.seatsCount, { seats: quote.batch_order.nb_seats })}
|
|
519
519
|
</span>
|
|
520
520
|
</div>
|
|
521
521
|
</div>
|