mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 05:00:43 +10:00
Use multiplication sign instead of asterisk
This commit is contained in:
parent
096af7c766
commit
7ed24991af
3 changed files with 21 additions and 12 deletions
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
import _ from 'lodash';
|
||||
import React, { PropTypes } from 'react';
|
||||
import { FormattedMessage, intlShape, injectIntl } from 'react-intl';
|
||||
import { FormattedMessage, FormattedHTMLMessage, intlShape, injectIntl } from 'react-intl';
|
||||
import Decimal from 'decimal.js';
|
||||
import classNames from 'classnames';
|
||||
import config from '../../config';
|
||||
|
|
@ -59,7 +59,7 @@ export const BookingBreakdownComponent = props => {
|
|||
|
||||
const nightCount = nightPurchase.quantity.toFixed();
|
||||
const nightCountMessage = (
|
||||
<FormattedMessage id="BookingBreakdown.nightCount" values={{ count: nightCount }} />
|
||||
<FormattedHTMLMessage id="BookingBreakdown.nightCount" values={{ count: nightCount }} />
|
||||
);
|
||||
|
||||
const currencyConfig = config.currencyConfig;
|
||||
|
|
|
|||
|
|
@ -32,9 +32,12 @@ exports[`BookingBreakdown customer transaction data matches snapshot 1`] = `
|
|||
</span>
|
||||
<span
|
||||
className={undefined}>
|
||||
<span>
|
||||
* 2 nights
|
||||
</span>
|
||||
<span
|
||||
dangerouslySetInnerHTML={
|
||||
Object {
|
||||
"__html": "× 2 nights",
|
||||
}
|
||||
} />
|
||||
</span>
|
||||
</div>
|
||||
<hr
|
||||
|
|
@ -89,9 +92,12 @@ exports[`BookingBreakdown pretransaction data matches snapshot 1`] = `
|
|||
</span>
|
||||
<span
|
||||
className={undefined}>
|
||||
<span>
|
||||
* 2 nights
|
||||
</span>
|
||||
<span
|
||||
dangerouslySetInnerHTML={
|
||||
Object {
|
||||
"__html": "× 2 nights",
|
||||
}
|
||||
} />
|
||||
</span>
|
||||
</div>
|
||||
<hr
|
||||
|
|
@ -146,9 +152,12 @@ exports[`BookingBreakdown provider transaction data matches snapshot 1`] = `
|
|||
</span>
|
||||
<span
|
||||
className={undefined}>
|
||||
<span>
|
||||
* 2 nights
|
||||
</span>
|
||||
<span
|
||||
dangerouslySetInnerHTML={
|
||||
Object {
|
||||
"__html": "× 2 nights",
|
||||
}
|
||||
} />
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
"AuthorInfo.host": "Hosted by {firstName} {lastName}",
|
||||
"BookingBreakdown.bookingPeriod": "{bookingStart} - {bookingEnd}",
|
||||
"BookingBreakdown.commission": "Saunatime fee:",
|
||||
"BookingBreakdown.nightCount": "* {count, number} {count, plural, one {night} other {nights}}",
|
||||
"BookingBreakdown.nightCount": "× {count, number} {count, plural, one {night} other {nights}}",
|
||||
"BookingBreakdown.pricePerNight": "Price per night",
|
||||
"BookingBreakdown.total": "Total price",
|
||||
"BookingDatesForm.bookingEndTitle": "End date",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue