Merged in feat/lokalise-rebuild (pull request #2993)
Feat/lokalise rebuild * chore(lokalise): update translation ids * chore(lokalise): easier to switch between projects * chore(lokalise): update translation ids * . * . * . * . * . * . * chore(lokalise): update translation ids * chore(lokalise): update translation ids * . * . * . * chore(lokalise): update translation ids * chore(lokalise): update translation ids * . * . * chore(lokalise): update translation ids * chore(lokalise): update translation ids * chore(lokalise): new translations * merge * switch to errors for missing id's * merge * sync translations Approved-by: Linus Flood
This commit is contained in:
@@ -56,6 +56,7 @@ export function StandaloneHotelCardDialog({
|
||||
} = data
|
||||
|
||||
const notEnoughPointsLabel = intl.formatMessage({
|
||||
id: 'booking.notEnoughPoints',
|
||||
defaultMessage: 'Not enough points',
|
||||
})
|
||||
|
||||
@@ -80,6 +81,7 @@ export function StandaloneHotelCardDialog({
|
||||
className={styles.closeButton}
|
||||
onPress={handleClose}
|
||||
aria-label={intl.formatMessage({
|
||||
id: 'common.close',
|
||||
defaultMessage: 'Close',
|
||||
})}
|
||||
>
|
||||
@@ -118,8 +120,14 @@ export function StandaloneHotelCardDialog({
|
||||
<Typography variant="Body/Supporting text (caption)/smBold">
|
||||
<p>
|
||||
{redemptionPrice
|
||||
? intl.formatMessage({ defaultMessage: 'Available rates' })
|
||||
: intl.formatMessage({ defaultMessage: 'From' })}
|
||||
? intl.formatMessage({
|
||||
id: 'hotelCard.availableRates',
|
||||
defaultMessage: 'Available rates',
|
||||
})
|
||||
: intl.formatMessage({
|
||||
id: 'common.from',
|
||||
defaultMessage: 'From',
|
||||
})}
|
||||
</p>
|
||||
</Typography>
|
||||
{chequePrice ? (
|
||||
@@ -147,9 +155,9 @@ export function StandaloneHotelCardDialog({
|
||||
{voucherPrice ? (
|
||||
<RoomPrice price={voucherPrice} currency={currency} />
|
||||
) : null}
|
||||
{/* Show public price if:
|
||||
1) user is not logged in, or
|
||||
2) user is logged in but no member price is available (use of booking codes)
|
||||
{/* Show public price if:
|
||||
1) user is not logged in, or
|
||||
2) user is logged in but no member price is available (use of booking codes)
|
||||
*/}
|
||||
{publicPrice && (!isUserLoggedIn || !memberPrice) ? (
|
||||
<RoomPrice price={publicPrice} currency={currency} />
|
||||
@@ -183,6 +191,7 @@ export function StandaloneHotelCardDialog({
|
||||
onClick={onClick}
|
||||
>
|
||||
{intl.formatMessage({
|
||||
id: 'common.seeRooms',
|
||||
defaultMessage: 'See rooms',
|
||||
})}
|
||||
</ButtonLink>
|
||||
|
||||
Reference in New Issue
Block a user