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:
Joakim Jäderberg
2025-10-22 11:00:03 +00:00
parent bdfe2ab213
commit aafad9781f
499 changed files with 93363 additions and 99164 deletions

View File

@@ -30,6 +30,7 @@ export default function HotelChequeCard({
<div className={styles.chequeRow}>
<Caption>
{intl.formatMessage({
id: 'common.from',
defaultMessage: 'From',
})}
</Caption>
@@ -56,6 +57,7 @@ export default function HotelChequeCard({
<div className={styles.chequeRow}>
<Caption color="uiTextMediumContrast">
{intl.formatMessage({
id: 'booking.approx',
defaultMessage: 'Approx.',
})}
</Caption>

View File

@@ -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>

View File

@@ -25,7 +25,11 @@ export function HotelPointsRow({
className={styles.roomPrice}
price={pointsPerStay}
currency={
pointsCurrency ?? intl.formatMessage({ defaultMessage: 'Points' })
pointsCurrency ??
intl.formatMessage({
id: 'common.points',
defaultMessage: 'Points',
})
}
includePerNight={false}
>

View File

@@ -43,6 +43,7 @@ export function HotelPriceCard({
<dt>
<Caption color="red">
{intl.formatMessage({
id: 'booking.memberPrice',
defaultMessage: 'Member price',
})}
</Caption>
@@ -53,6 +54,7 @@ export function HotelPriceCard({
<dt>
<Caption color="uiTextHighContrast">
{intl.formatMessage({
id: 'booking.standardPrice',
defaultMessage: 'Standard price',
})}
</Caption>
@@ -66,6 +68,7 @@ export function HotelPriceCard({
color={isMemberPrice ? 'red' : 'uiTextHighContrast'}
>
{intl.formatMessage({
id: 'common.from',
defaultMessage: 'From',
})}
</Caption>
@@ -87,6 +90,7 @@ export function HotelPriceCard({
<span className={styles.perNight}>
/
{intl.formatMessage({
id: 'common.night',
defaultMessage: 'night',
})}
</span>
@@ -99,6 +103,7 @@ export function HotelPriceCard({
<dt>
<Caption color="uiTextMediumContrast">
{intl.formatMessage({
id: 'booking.approx',
defaultMessage: 'Approx.',
})}
</Caption>
@@ -122,6 +127,7 @@ export function HotelPriceCard({
<dt>
<Caption color="uiTextMediumContrast">
{intl.formatMessage({
id: 'common.total',
defaultMessage: 'Total',
})}
</Caption>

View File

@@ -20,6 +20,7 @@ export default function HotelVoucherCard({
<div className={styles.voucherRow}>
<Caption>
{intl.formatMessage({
id: 'common.from',
defaultMessage: 'From',
})}
</Caption>
@@ -30,6 +31,7 @@ export default function HotelVoucherCard({
<Caption color="uiTextHighContrast" className={styles.currency}>
{intl.formatMessage(
{
id: 'price.numberOfVouchers',
defaultMessage:
'{numberOfVouchers, plural, one {Voucher} other {Vouchers}}',
},

View File

@@ -14,6 +14,7 @@ export function NoPriceAvailableCard() {
<Typography variant="Body/Paragraph/mdRegular">
<span>
{intl.formatMessage({
id: 'booking.noRoomsAvailable',
defaultMessage:
'There are no rooms available that match your request.',
})}

View File

@@ -28,7 +28,13 @@ export function RoomPrice({
{includePerNight ? (
<Typography variant="Body/Supporting text (caption)/smRegular">
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
<span>/{intl.formatMessage({ defaultMessage: 'night' })}</span>
<span>
/
{intl.formatMessage({
id: 'common.night',
defaultMessage: 'night',
})}
</span>
</Typography>
) : null}
</p>

View File

@@ -161,6 +161,7 @@ export const HotelCard = memo(
(r) => r.hasEnoughPoints
)
const notEnoughPointsLabel = intl.formatMessage({
id: 'booking.notEnoughPoints',
defaultMessage: 'Not enough points',
})
@@ -207,6 +208,7 @@ export const HotelCard = memo(
href={mapUrl}
keepSearchParams
aria-label={intl.formatMessage({
id: 'destination.seeOnMap',
defaultMessage: 'See on map',
})}
>
@@ -224,6 +226,7 @@ export const HotelCard = memo(
<span>
{intl.formatMessage(
{
id: 'common.kmToCityCenter',
defaultMessage: '{number} km to city center',
},
{
@@ -296,6 +299,7 @@ export const HotelCard = memo(
<div className={styles.pointsCard}>
<Caption>
{intl.formatMessage({
id: 'hotelCard.availableRates',
defaultMessage: 'Available rates',
})}
</Caption>
@@ -325,6 +329,7 @@ export const HotelCard = memo(
<Typography variant="Body/Paragraph/mdBold">
<span>
{intl.formatMessage({
id: 'common.seeRooms',
defaultMessage: 'See rooms',
})}
</span>